Click here to get back home

Re: Best Practice - Modules to build a web application

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: Best Practice - Modules to build a web application Joseph Brenner 03-17-2007
Posted by Joseph Brenner on March 17, 2007, 10:10 am
Please log in for more thread options



Joe Blower <motiv8xtop25web.com> writes:

>> - Support of Model View Controller Conecpt (MVC)
>
> not sure what this is.

Seperation of html (the "View") from code is mostly what this means.

It's never been that clear to me where the break is supposed to
be between "Model" and "Controller", but I would guess this
largely just means database and code; though you might take
it to mean SQL and perl, which would explain all of the many and
various object-relational-mappers (which actually prevent you
from using the database relationally, as far as I can tell).



Posted by Mark Clements on March 18, 2007, 3:53 pm
Please log in for more thread options


Joseph Brenner wrote:
> Joe Blower <motiv8xtop25web.com> writes:
>
>>> - Support of Model View Controller Conecpt (MVC)
>> not sure what this is.
>
> Seperation of html (the "View") from code is mostly what this means.
>
> It's never been that clear to me where the break is supposed to
> be between "Model" and "Controller", but I would guess this
> largely just means database and code; though you might take
> it to mean SQL and perl, which would explain all of the many and
> various object-relational-mappers (which actually prevent you
> from using the database relationally, as far as I can tell).
>
>
My interpretation is that the model contains the business logic and
interaction with the database, whereas the controller marshals user
input and invokes methods on the model accordingly before returning the
view to the user.

YMMV :)


Mark

Similar ThreadsPosted
Win32:Printer Windows x86 build with FreeImage.dll support build issues May 29, 2008, 2:58 pm
List of sample Build::Module Build.PL May 7, 2007, 6:49 pm
ANNOUNCE: CGI::Application::Demo V 1.02 December 26, 2005, 3:14 am
Communicate to MFC application using perl February 19, 2007, 3:51 pm
VC++ Application Connecting PostgreSQL on Linux February 17, 2006, 2:11 am
use of xml in perl application to describe command line logic December 20, 2005, 11:03 am
Best practice to patch a existing module written by others October 9, 2005, 8:29 pm
DBD-Pg for Perl 5.8.4 Build 810 December 11, 2004, 1:05 pm
Help with Module::Build June 19, 2006, 10:50 am
Using Module::Build to XS December 18, 2007, 4:50 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap