↓ Skip to main content

Extending the V in MVC

A re­vised edi­tion is avail­able. There is now no more need to down­load the PDF.


Last year I wrote an art­icle about ex­tend­ing some of the ideas in the View sec­tion of MVC. I pro­pose to use Par­tials and to use Lay-outs. Lay-out is per­haps a term that should be bet­ter defined. I wrote this art­icle after an im­ple­ment­a­tion in CodeIgniter.

This art­icle in­tro­duces the concept of Par­tials (small views that con­tain parts and are re­usable) and the concept of Lay-outs, used for dis­play­ing the same in­form­a­tion in dif­fer­ent formats.

When I first star­ted work­ing with MVC it was with my own frame­work. After see­ing that it would re­quire to much time to main­tain and de­velop my own frame­work I star­ted the search for a free, fast and widely sup­por­ted php web frame­work. I found this frame­work and its name is `CodeIgniter'. You can find it at www.codeigniter.com.
Download.