Re: JSP vs Servlet MVC - CMV
I've seen the abbreviation MVC on a lot of places, but shouldn't it be CMV for Controller / Model / View where Controller receives a request, handles it using model and displays it using view? Not important to me, just wondered... =) //Johan - Original Message - From: "Fyffe Carl" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, January 05, 2001 9:07 AM Subject: JSP vs Servlet I went to jollem.com and read the CMP Primer. Good read. But it got me thinking about a topic that concerns most people that are in large development groups. Seperation of code and html. Proper MVC calls for the code to be in the controller while there is little code in the view portion of the application. This allows the designers to design and the coders to code. Were the rules broken for convience or has a new methodology taken over? It seems to me that the CMP Primer would have been easier to read and understand if MVC had been used. This one short coming can easily overlooked to find a gem of an article. Are there other primers of jollem.com's caliber? What are some useful URL's that you guys used to get started. --Carl
RE: JSP vs Servlet MVC - CMV
it's a circular pattern... you access the controller from a view, which is generated by the model... all of this brings us back to the important question: what was first--- the egg or the chicken? My 2c, JP -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: Viernes, 05 de Enero de 2001 9:25 To: Orion-Interest Subject: Re: JSP vs Servlet MVC - CMV I've seen the abbreviation MVC on a lot of places, but shouldn't it be CMV for Controller / Model / View where Controller receives a request, handles it using model and displays it using view? Not important to me, just wondered... =) //Johan - Original Message - From: "Fyffe Carl" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, January 05, 2001 9:07 AM Subject: JSP vs Servlet I went to jollem.com and read the CMP Primer. Good read. But it got me thinking about a topic that concerns most people that are in large development groups. Seperation of code and html. Proper MVC calls for the code to be in the controller while there is little code in the view portion of the application. This allows the designers to design and the coders to code. Were the rules broken for convience or has a new methodology taken over? It seems to me that the CMP Primer would have been easier to read and understand if MVC had been used. This one short coming can easily overlooked to find a gem of an article. Are there other primers of jollem.com's caliber? What are some useful URL's that you guys used to get started. --Carl
RE: JSP vs Servlet MVC - CMV
Actually..you are correct for the most part, but think of it this way. Most sites you just type in the www.company.com and hit enter. You don't type a specific path (that would be mapped to a controller servlet)..for the most part. There are a lot of sites you do such things..but for the most part, you type in the company name to get to the site. Now, the first thing that shows up is index.html (or index.jsp) usually, so in retrospect, the VIEW is first, then when a link is clicked the CONTROLLER is accessed, then the MODEL, then the VIEW again. So, it should probably be called VCM. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi (Chile) Sent: Friday, January 05, 2001 7:59 AM To: Orion-Interest Subject: RE: JSP vs Servlet MVC - CMV it's a circular pattern... you access the controller from a view, which is generated by the model... all of this brings us back to the important question: what was first--- the egg or the chicken? My 2c, JP -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent: Viernes, 05 de Enero de 2001 9:25 To: Orion-Interest Subject: Re: JSP vs Servlet MVC - CMV I've seen the abbreviation MVC on a lot of places, but shouldn't it be CMV for Controller / Model / View where Controller receives a request, handles it using model and displays it using view? Not important to me, just wondered... =) //Johan - Original Message - From: "Fyffe Carl" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, January 05, 2001 9:07 AM Subject: JSP vs Servlet I went to jollem.com and read the CMP Primer. Good read. But it got me thinking about a topic that concerns most people that are in large development groups. Seperation of code and html. Proper MVC calls for the code to be in the controller while there is little code in the view portion of the application. This allows the designers to design and the coders to code. Were the rules broken for convience or has a new methodology taken over? It seems to me that the CMP Primer would have been easier to read and understand if MVC had been used. This one short coming can easily overlooked to find a gem of an article. Are there other primers of jollem.com's caliber? What are some useful URL's that you guys used to get started. --Carl