Click here to Skip to main content
15,902,939 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 3:58
Leftyfarrell16-Jul-09 3:58 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 8:05
CodingYoshi16-Jul-09 8:05 
GeneralRe: DTO design supporting multiple tables Pin
Leftyfarrell16-Jul-09 9:56
Leftyfarrell16-Jul-09 9:56 
GeneralRe: DTO design supporting multiple tables Pin
CodingYoshi16-Jul-09 17:13
CodingYoshi16-Jul-09 17:13 
QuestionOODB or RDB for checkbook/budget program? Pin
copec10-Jul-09 17:15
copec10-Jul-09 17:15 
AnswerRe: OODB or RDB for checkbook/budget program? Pin
riced11-Jul-09 10:06
riced11-Jul-09 10:06 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec11-Jul-09 11:25
copec11-Jul-09 11:25 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 2:12
riced12-Jul-09 2:12 
Here are some thoughts. (Rather longer than I anticipated!) Big Grin | :-D

If you have a developer edition of Office you can package your .mdb together with a run time version of the
Access engine. This would be the simplest thing to do - I believe it would take care of the MDAC issues but have never used it.
IIRC the license is that you must have the developer edition Office Pro is not valid.

The beauty of Access is that the .mdb file contains everything - user interface (GUI) and data store (i.e. db tables etc).
So the whole app can be self-contained (unless you use linked tables).

If you move from Access then the GUI and and the data store will be separate components that need to talk to each other.
So you have to decide what to use for the data store and what to use for the GUI.

Looking at the data store, main driver for this decision has to be 'What do potential users have on their machines?'
If they have Access why not stick with it? If they don't then some possible options are.
1. Use flat/text files - the traditional (antedeluvian?) way that requires a lot of coding
(having said that, I know of one major UK retailer whose warehouse management system is run using flat files.)
This approach would mean that the users would require nothing special.
However, you would have to think about securing the files so users cannot edit or delete them.

2. Use XML - this is what many would advocate. Essentially they are structured text files on steriods. But that requires learning about XML.
Similar pros and cons to flat file. But there are other benefits and lots of example code on the web.

3. Use an OOP language and the object serialization that is built in.
Not always as easy as it seems but would be self-contained.

4. Use a relational db.
There are some free ones that you could investigate e.g. SQLite, MS SQL Express.
You would need to be able to package and distribute the db with your GUI app, and that might bring problems similar to the MDAC ones with Access.

For the GUI and the ability to communicate with the data store you still have to ask 'What have the users got on their machines?'.
You also have to ask 'What am I comfortable with and how quickly can I get uo to speed?'
These days you're pretty much obliged to use an OOP language. Possible options are:
1. Java - I once heard it described as 'C++ For Dummies' so knowledge of C++ would be helpful.
It's free and cross-platform and there's some nice free IDEs (NetBeans and Eclipse are considered good).
Personally I think it started off being really good but has now added a plethora of classes that make it just too much of a hassle to do simple things.
Users will need the Java Runtime Engine - but that's free (and there's probably a version on their machines - but might need updating).

2. VB.Net - there's a free version (VB 2008 Express) that comes with the Visual Studio IDE (well a cut down version).
It's a 'true' OOP (unlike VB6 which it is related to it as Italian is to Latin).
It's easy to build apps similar to Access ones (especially if you use SQL Server Express as data store).
Requires .Net Framework 3.5. But that's freely available and re-distributable.

3. C# - similar to Java/C++ in syntax. Also a free Express version.
Same pros and cons as VB, more or less.

4. C++ - there's also a free Express version.
Never used it so cannot comment. I expect it's similar to VB/C# in what it provides.

You could also look at Mono - it's an open source implementation of .Net and available for Linux and Wondows.
Never used it but heard good things about it. Tends to lag behind MS .Net since it's always playing catch-up.

Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis

GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec12-Jul-09 7:08
copec12-Jul-09 7:08 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced12-Jul-09 21:07
riced12-Jul-09 21:07 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec14-Jul-09 11:15
copec14-Jul-09 11:15 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced14-Jul-09 20:55
riced14-Jul-09 20:55 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec15-Jul-09 3:49
copec15-Jul-09 3:49 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 5:20
riced15-Jul-09 5:20 
GeneralRe: OODB or RDB for checkbook/budget program? [modified] Pin
copec15-Jul-09 8:11
copec15-Jul-09 8:11 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
riced15-Jul-09 22:28
riced15-Jul-09 22:28 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 3:51
copec16-Jul-09 3:51 
GeneralRe: OODB or RDB for checkbook/budget program? Pin
copec16-Jul-09 15:14
copec16-Jul-09 15:14 
Questionneed help in architecting a design for a webapplication Pin
shankbond10-Jul-09 3:27
shankbond10-Jul-09 3:27 
AnswerRe: need help in architecting a design for a webapplication Pin
Mycroft Holmes11-Jul-09 15:06
professionalMycroft Holmes11-Jul-09 15:06 
GeneralRe: need help in architecting a design for a webapplication Pin
shankbond12-Jul-09 22:17
shankbond12-Jul-09 22:17 
GeneralRe: need help in architecting a design for a webapplication Pin
Pete O'Hanlon12-Jul-09 22:55
mvePete O'Hanlon12-Jul-09 22:55 
GeneralRe: need help in architecting a design for a webapplication Pin
shankbond13-Jul-09 0:52
shankbond13-Jul-09 0:52 
AnswerRe: need help in architecting a design for a webapplication Pin
CodingYoshi15-Jul-09 17:15
CodingYoshi15-Jul-09 17:15 
GeneralRe: need help in architecting a design for a webapplication Pin
shankbond15-Jul-09 21:24
shankbond15-Jul-09 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.