Ramprasad A Padmanabhan wrote: > hi, > I have been lately reading a lot of stuff about perl catalyst with MVC > I am still not clear about practical use of MVC's > Can someone provide pointers about MVC and where they are best used ? > > Thanks > Ram >
MVC is a design/architecture pattern, specifically Model-View-Controller. It can be used, essentially, when there is any complex relation between what the user interface provides and how data is stored and manipulated. The model stores/manipulates the actual data, the view provides a way to represent that data in a human usable format, the controller provides the middle man between the two others. http://en.wikipedia.org/wiki/MVC The above is a nice short introduction, design pattern books/sites will have much more information. There is nothing specific about MVC to Perl. The difficulty in developing in an MVC way is often sighted as a reason not to use PHP/ASP (even Mason) in web development (personally I tend to agree, but take that with a large grain of salt). On the flip side, JSP/Servlets almost requires you to use this pattern, which is also sometimes considered bad. HTH, http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>