473,505 Members | 13,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

software conception... best way ?

Hi,

I have to write a software doing the following :
- Load a file (containing data)
Data will be display in a Treeview and are typed as following
Equipement
Bloc
Tag
It could have for each Equipement, many blocs and for each bloc,
many tags.
It could have also many Equipements.

- Data Importation from a Text file (needed to be compare with the
existing).

- Data modifying (Display in a DataGrid depending of the Treeview
selection

- Undo capability

- Save configuration file

I don't really know the best way to do this.

So far , I have coded 3 classes Equipement, Bloc and Tag.
The I use Class Array to store informations.

To save the configuration file, I use serialisation and write an Xml file.
I do the same to load the config file (using load Xml and Deserialise
method).

For the Datagrid, I use Dataset, filled by my Class Array...

To update the Array class (if the user made some changes in the Datagrid), I
use the GetChanges() method.

Is it the good way ?
Is it a better way ?

It's my first "big" software with .NET so it's a little bit difficult for
me...

Thanks,

H. MAILLARD
Nov 15 '05 #1
1 2102
With only knowing a little bit about what you're trying to build, it looks
like that design is working for you.

If you'd like to take a look at how other people have solved similar
problems check out the .NET architecture section on MSDN.
http://msdn.microsoft.com/architecture/default.aspx
See the patterns and practices link for some best practice information that
might help you out.

The ASP.NET starter kits also have some good example architectures. Check
out http://www.asp.net/starterkits for more information.

You may want to take a look at the Memento design pattern for storing undo
information (http://pages.cpsc.ucalgary.ca/~kristen/index.shtml). If you're
worried about coupling between your data, presentation, and control logic,
you might want to look at building an application in the
Model-View-Controller design pattern or seperating the system into a
presentation layer, a business logic layer, and a data access layer.

If you think there might be a better function or class to help you out, make
sure to read the MSDN online documentation (tip: to search the documentation
it is sometimes better to go to google and use the site:msdn.microsoft.com
extension than to use the MSDN search). The Windows Class Viewer is also
very useful. To use it run wincv.exe from the Visual Studio Command Prompt.

good luck,
-keen

"Herve MAILLARD" <rv********@free.fr> wrote in message
news:3f**********************@news.free.fr...
Hi,

I have to write a software doing the following :
- Load a file (containing data)
Data will be display in a Treeview and are typed as following
Equipement
Bloc
Tag
It could have for each Equipement, many blocs and for each bloc, many tags.
It could have also many Equipements.

- Data Importation from a Text file (needed to be compare with the
existing).

- Data modifying (Display in a DataGrid depending of the Treeview
selection

- Undo capability

- Save configuration file

I don't really know the best way to do this.

So far , I have coded 3 classes Equipement, Bloc and Tag.
The I use Class Array to store informations.

To save the configuration file, I use serialisation and write an Xml file.
I do the same to load the config file (using load Xml and Deserialise
method).

For the Datagrid, I use Dataset, filled by my Class Array...

To update the Array class (if the user made some changes in the Datagrid), I use the GetChanges() method.

Is it the good way ?
Is it a better way ?

It's my first "big" software with .NET so it's a little bit difficult for
me...

Thanks,

H. MAILLARD

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2454
by: Richard Gabriel | last post by:
------=_NextPart_000_0266_01C35140.F8B40510 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I know this is not related to MySQL questions, but we are...
0
2484
by: Dana Morris | last post by:
Call for Participation OMG's First Annual Software-Based Communications (SBC) Workshop: From Mobile to Agile Communications http://www.omg.org/news/meetings/SBC2004/call.htm September 13-16,...
0
1006
by: PHILIPPE | last post by:
Hello everybody I'm facing something maybe trivial but I cannot found the solution. Here is the situation: I want to code three web visual components that will all inherit from the same base...
0
1930
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Software engineering for concurrent and real-time systems Elba, Italy September 11 -...
4
1985
by: Josh Golden | last post by:
i lead a small development team (based on some of my posts that might cause some people to choke themselves, but have no fear, i am NOT the lead developer, the people on my team are great - i'm...
0
1579
by: Bryant Francis | last post by:
------------FD07IPIF5BJTH8VU Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit http://88w4d0w3d2whhqqfst8lv8qq.owghtgh.com/ Software at incredibly low price! ...
102
6942
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
1
1346
by: the_raj | last post by:
Hi, I'm trying to package a product and would like to know what people think is the best packaging software around. Here are the needs and wants: Needs: 1. cater for Visual Studio 2005...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
406
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.