posted 13 years ago
I am trying to figure out how to seperate tiers in an application.
Ok, lets say you are buidling a small/medium size application. It is just on one server and just a few clients connect to it. The database would have several tables. And there would do several different things requiring several views. How would you split this up? Would you just have a big interface between the layers?
Example: A car renting app. It sits on a server and several clients use internet browsers to access it. It would would at least have the users log in and then be able to rent a car. It would have a few database tables for users and a few for car/car renting. Would you just have a big interface for crud operations for all the tables. That would provide access to the data layer. Then just have a big interface for business methods like login, rent car?
Is that a good way or it there a better way to do something like this.