• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

3 tier seperation

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just saying you'll have a "big interface" between two layers isn't really enough for anyone to say if it's a good way to do it or not.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic