News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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!
MVC framework easy MVC framework easy


blog comments powered by Disqus

Similar Posts

Paul Jones' Blog: Solar 0.26.0 Released, and New Website

Doug Hill's Blog: 60 Days : What is it?

phpRiot.com: Creating a fulltext search engine with the Zend Framework\'s Zend_Search_Lucene

CodeIgniter Blog: CodeIgniter 1.7.1 Released

PowerHomeBix.com: Why PHP in the web applications?


Community Events

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


api opinion framework extension feature library interview community laravel5 development voicesoftheelephpant podcast language wordpress release introduction series unittest threedevsandamaybe laravel

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