Doctrine Meets CodeIgniter

| Comments

Anyone who has made websites in the past has encountered it. The endless bugging typing of SQL queries, always doing the same over and over again. This struggle is lightened by the use of frameworks or even complete CM-Systems. However, SQL query writing is still often needed.

To counter this (and other annoying pestering little details mongering), Object Relational Mappers were invented. Doctrine is a PHP implementation of the RoR ORM. And now it’s quite easy to merge CodeIgniter and Doctrine into one package.

Just follow the readme and continue your adventure.

Extending the v in MVC

| Comments

A revised edition is available. There is now no more need to download the PDF.


Last year I wrote an article about extending some of the ideas in the View section of MVC. I propose to use Partials and to use Lay-outs. Lay-out is perhaps a term that should be better defined. I wrote this article after an implementation in CodeIgniter.

This article introduces the concept of Partials (small views that contain parts and are reusable) and the concept of Lay-outs, used for displaying the same information in different formats.

When I first started working with MVC it was with my own framework. After seeing that it would require to much time to maintain and develop my own framework I started the search for a free, fast and widely supported php web framework. I found this framework and its name is `CodeIgniter’. You can find it at www.codeigniter.com.

Download.