News Feed
Sections




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

PHPMaster.com:
Untangling MVC with CodeIgniter
December 08, 2011 @ 11:22:32

On PHPMaster.com today there's a new tutorial that wants to help you "untangle MVC" with the help of the CodeIgniter framework. The tutorial is an introduction to the Model/View/Controller design pattern and how it's implemented in this popular framework.

If you want to develop applications with sell-structured, readable code that you can quickly diagnose problems in, then MVC is for you. In this article I'll untangle the mysteries of MVC for you using CodeIgniter, a PHP framework based on the MVC pattern. I'll first present a high level overview of MVC, what it is and how it can help you to become a better programmer, and then guide you through writing a simple web form the CodeIgniter way so you can see how the pattern looks in action.

They briefly describe MVC (favoring instead for showing it later in the CodeIgniter examples) and help you get a copy of the framework installed. They show you how to create a first controller, the corresponding view and make a model that extends the base and inserts address information into a database table.

0 comments voice your opinion now!
codeigniter framework tutorial mvc introduction


blog comments powered by Disqus

Similar Posts

NetTuts.com: Build Web Apps from Scratch with Laravel - The Eloquent ORM

Evolt.org: Failover Database Connection with PHP + mySQL

Emran Hasan' Blog: Changing the default controller naming convention in CodeIgniter

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)

Markus Wolff's Blog: Extending Zend_Controller_Action


Community Events

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


podcast api extension psr7 library introduction laravel5 series community language release opinion unittest conference voicesoftheelephpant video development framework laravel interview

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