| Recommend this page to a friend! | 
| Info | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 1,031 | All time:  3,567 This week: 206 | ||||
| Version | License | PHP version | Categories | |||
| naf-db 1.0 | GNU General Publi... | 5.0 | PHP 5, Databases, Design Patterns | 
| Description | Author  | |
This package implements the Active Record design pattern to store and retrieve objects in SQL databases using PDO.  | 
| File | Role | Description | ||
|---|---|---|---|---|
| / | Naf | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Naf_Table class | 
|    | 
Class | Naf_Record class - ActiveRecord implementation | 
|    | 
Class | Naf_Select class - a Query-Object implementation | 
| / | unit_tests | / | Database | 
| File | Role | Description | 
|---|---|---|
|    | 
Test | Unit test case for Naf_Table | 
|    | 
Test | Unit test case for Naf_Record | 
|    | 
Test | Helper class for unit-tests | 
|    | 
Test | Naf_UnitTestDbConnection class - a helper for unit test cases | 
| / | docs | 
| File | Role | Description | 
|---|---|---|
|    | 
Doc. | README for Naf_Table | 
|    | 
Doc. | README | 
|    | 
Doc. | README | 
|    | 
Doc. | README | 
| / | example | / | lib | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | ActiveRecord for the example CRUD app | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| naf-db-2007-11-01.zip 13KB | |
| naf-db-2007-11-01.tar.gz 9KB | |
| Install with Composer | 
| Needed packages | ||
| Class | Download | Why it is needed | Dependency | 
|---|---|---|---|
| Naf_Validator | required for Naf_Record validation | Conditional | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 0% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.