Login +

Models / Introduction

The layer model is based on a data abstraction layer called DAO (Data Access Object) whose inherits each business object, represented by a class of its own for each entity of the database.

Each of these entities are separated into two files:

  • One, mandatory, materializing the business object, its attributes and behavior,
  • Other, optional, materializing additional SQL interactions.

To make abstract database management system (DBMS), our Model layer uses a native PHP module named PDO (PHP Data Objects) which overcomes the problems inherent to the SQL language connected to the application. This will allow in the near future to map other DBMS on the Framework. Currently, only MySQL is stable at 100%.

Related :