Skip to content
Derek Jones edited this page Jul 4, 2012 · 11 revisions

Category:Libraries | Category:Libraries::Community | Category:Library::Database | Category:Libraries::Database | Category:Contributions::Libraries::Database A lighweight and easy-to-use ORM for CodeIgniter. Gas was built specifically for CodeIgniter app. It uses standard CI DB packages, also take anvantages of its validator class. Gas provide methods that will map your database table and its relation, into accesible object.

For download or recent update, look at [url=http://goo.gl/43B7w]Gas ORM @ GitHub[/url]. This library also [url=http://getsparks.org/packages/gas/versions/HEAD/show]available at Sparks[/url]. For guide and example go to [url=http://gasorm-doc.taufanaditya.com/]Home of Gas ORM[/url].

Requirements

  1. PHP v.5.3.x
  2. CodeIgniter v.2.x.x

Features

  1. Supported databases : cubrid, mssql, mysql, oci8, odbc, postgre, sqlite, sqlsrv. (including PDO, if you keep sync with CI repo)
  2. Support multiple database connection.
  3. Support multiple relationships.
  4. Support composite keys (for key that define relationship).
  5. Auto-create models from database tables and vice versa, and auto-synchronize
  6. models-tables by creating migrations file.
  7. Per-request caching.
  8. Eager Loading, to maximize your relationship queries (for performance manner).
  9. Various finder method (can chained with most of CI Query Builder) and aggregates.
  10. Validation and auto-mapping input collection, with minimal setup.
  11. Hooks points, to control over your model.
  12. Extensions, to share your common function/library across your model.
  13. Transaction, and other CI AR goodness.
  14. Included phpunit test suite, to ensure most of API consistency.

[i]Cheers.[/i] Taufan Aditya A.K.A [b]Toopay[/b]

Category:Libraries::Database Category:Contributions::Libraries::Database Category:Models

Clone this wiki locally