On Wed, Oct 20, 2010 at 5:29 AM, Harmedia <[email protected]> wrote: > Hey, > > For an enterprise project a small section is on 3 tier architecture > and intergrating RoR into it. I have researched RoR and found that as > standard it uses MVC which is a similar architecture except MVC allows > the client to interact directly with the database. I was wondering > however, is the "MVC" that I've read about different to the 3 tier > architecture or is it a 3 tier system within a 3 tier system? Sorry if > it sounds a really stupid question. Also from my research I've > detained that the RoR would be most suited to the server level of the > 3 tier architecture, does this sound correct? > > Thanks alot for any help, >
I never heard rails MVC and 3-tier architecture used in the same sentence before in all my readings. i just thinking of MVC as a design pattern separating areas of concerns. I had to look at the definition for 3-tier architecture and it said this about the two: At first glance, the three tiers may seem similar to the model-view-controller (MVC) concept; however, topologically they are different. A fundamental rule in a three tier architecture is the client tier never communicates directly with the data tier; in a three-tier model all communication must pass through the middleware tier. Conceptually the three-tier architecture is linear. However, the MVC architecture is triangular: the view sends updates to the controller, the controller updates the model, and the view gets updated directly from the model. Multitier architecture http://en.wikipedia.org/wiki/Multitier_architecture Model–View–Controller http://en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller -- Kind Regards, Rajinder Yadav | http://DevMentor.org | Do Good! - Share Freely -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

