I want to separate data layer from business logic and business logic from GUI. Diving into web I stumbled upon a few resources but still unable to make my mind clear. Some people talk about patterns some others point various frameworks. My requirements are :
- manipulate data from rdbms (mysql mainly) CRUD operations
- dealing with id generation (should I use autoincrement or data engine supplied or pascal code generated)
- table relations may be logical (no referential integrity is used) or not
- need for ability to generate object relations from data model
- data must be converted to business object and business logic manipulated
- existing gui components or freeware ones should be used
What I need is :
- some guiding techniques / suggestions with basic sample code / application layout (such as units-classes-modules-directories) ... Being not an expert in OOP I get confused when I have to design the class hierarchy
- a simple framework with a tutorial
- or even your own daily code/framework/approach