Write your own PHP5 MVC framework: Handling databases [part 2] – The ORM

We had earlier introduced the concept of working with models (db objects) rather that writing db queries in your php scripts. We had seen how it offers a simpler object oriented interface to the db, and what a joy it is to work with. Here we expound on the M in ‘MVC’. In brief though, [...]