• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Designing the data access module

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have finally decided on the Data Access module and on the locking,searching,adding mechanisms.I now want to make object oriented design for the data access module but i dont know how to start and what approach to follow in the design of the data access module.
Please help???
 
Robert Bar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

concerning package and class design, you may adhere to these rules

After that, you will find that you have to consider two responsibilities:
- record reservation,
- record reading/writing,
and each responsibility should be a separate class.

Don't forget about hiding implementaion across your packages (hide low level things at package level and use interfaces to establish communication between packages)

with best regards,
Robert
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am looking for examples of Object Oriented Design.An example or an article that takes a simple system and then reach the object oriented design for that system.I have been searching the net,i could not reach what i am looking.

Thanks for the very helpful site
 
Victor Sandin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I am looking for examples of Object Oriented Design ...

I'm currently reading (almost finished) "Head First Design Patterns" and I can definitely recommend it. It's a superb introduction to and thorough explanation of 14 fundamental design patterns that would come in handy in this kind of project.
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I think I have found what i am looking for.
http://www.math-cs.gordon.edu/courses/cs211/ATMExample/

This topic gives a example of object-oriented analysis, design, and programming applied to a moderate size problem.This problem is the simulation of an ATM machine.
[ August 14, 2006: Message edited by: Khaled Mahmoud ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic