ORM

Important!
As of r3054 ORM has been greatly revised. See this post for an overview

ORM is for many people a big questionmark looking at the questions that have come up. This page will cover the various aspects of the library.

First of all there is the user guide which has a fair but not complete coverage of the library. It explains the syntax of most of the methods of the library.

Then there is a tutorial I wrote some time ago. It covers the mapping of a database record to an object. Each field of the table is represented by a property of the object.

Relationships are covered in the following tutorials.

The last tutorial in this series covers many to many relationships and is yet to be written.

There are also some tips and tricks available so you can expand the functionality of ORM.

Let me not forget the a very complete tutorial which could also be of help.


2 Responses to “ORM”

  1. Stan James Says:

    At the moment, the link for the blog post about the ORM change doesn’t go anywhere:

    http://learn.kohanaphp.com/2008/07/12/new-orm-overview-of-changesnew-orm-overview-of-changes/

  2. dlib Says:

    It’s fixed now, sorry I was working on a draft.

Leave a Comment