News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
CodeSnipers.com:
Stupidly Easy MVC in PHP or "We don't need no stinking framework!" (Part 2)
November 10, 2005 @ 05:35:38

With Part 2 of the "Stupidly Easy MVC in PHP or 'We don't need no stinking framework!'" series today, CodeSnipers.com builds on the previous article and focuses more on extending the base classes from before.

In Part 1, I explain my base classes: MVC_Controller, MVC_View and MVC_Model. For my simple links application I extend the model class and the controller class.

Separating things out, like model and view is extremely helpful even for working in a team. In addition, it makes it easier when you change template solutions (or decide "I don't need no stinkin' template" and just use PHP) or DB abstraction etc.

She extends the framework she created to create both a model and a controller that will display some links from a database (as well as allow you to edit them).

0 comments voice your opinion now!
php MVC framework easy php MVC framework easy



Similar Posts

Felix Geisendorfer's Blog: Validating the cleaned output of HtmlHelper::dateTimeOptionTag()

Tim\'s Blog: Rethinking extract() By Convention

Chris Shiflett\'s Blog: Essential PHP Security Slashdotted

Chris Shiflett\'s Blog: ZF Tutorial Update

Craig Freshwater\'s Blog: Using PHP for Website Navigation, Explained


Community Events









Don't see your event here?
Let us know!


example developer cakephp code PHP5 conference book package release security ajax mysql PEAR zend application releases zendframework job database framework

All content copyright, 2009 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework