/codeigniter-restful

codeigniter restful server doctrine

Primary LanguagePHPOtherNOASSERTION

CodeIgniter-Restful

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller, combined by Doctrine ORM

Requirements

  1. PHP 5.2+
  2. CodeIgniter 2.0.3 to 2.1-dev (for 1.7.x support download v2.2 from Downloads tab)
  3. Doctrine ORM 1.2.4

Usage

Coming soon. Take a look at application/controllers/api/example.php for hints until the default controller demo is built and ready.

To Build up the Doctrine model, please defined the table in the application/models/model

Files in application/models/dal which is only for SQL editing, example:(application/models/dal/chatroom_dal.php)

Files in application/models/bll is for the logical layout. example:(application/models/dal/chatroom_dal.php)