O'Reilly logo

Programming with CodeIgniter MVC by Yehuda Zadik, Eli Orr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Object Relational Mapping (ORM)

While CI provides the model class for the developer to expand for object-oriented database CRUD (Create, Read, Update, and Delete) validation, and business logic for the defined project database, there's another option that enables automatic model services. In this section, we will discuss Object Relational Mapping (ORM). ORM is a new concept of converting the database scheme definition into an object-oriented database class API. It provides database CRUD services on a given database, so that the minimal code is required, instead of the full model development. More than that, the customized validation on the CRUD operation is enabled as well. Using an ORM plugin may reduce the need to self-develop our own CI models ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required