Login   Register  
PHP Classes
elePHPant
Icontem

Naf Database Tools

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Victor Bolshov
Name: Victor Bolshov <e-mail contact>
Packages: 6 Browse all classes by Victor Bolshov Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 34
All time rank: 53813 in Russian Federation Russian Federation
Week rank: 1043 Down25 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This package implements the Active Record design pattern to store and retrieve objects in SQL databases using PDO.

It provides a base class that map information in object variables to records of database table.

That class provides functions to create, retrieve, update, and delete objects stored in the database.

It can be extended by implementation classes that define the class variables with values to be stored in records of a given database table.

This class provides also another class that can be used to compose and execute queries to retrieve objects that match given conditions.

  Classes of Victor Bolshov  >  Naf Database Tools  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Naf Database Tools
Base name: naf-db
Description: Store and retrieve objects in databases using PDO
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 750 users
All time rank: 3884
Week users: 0 users
Week rank: 2201 Equal
 
  Groups   Rate classes User ratings   Dependencies   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
Naf_Validator
Conditional
required for Naf_Record validation

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageNaf (3 files)
Files folder imageunit_tests (1 directory)
Files folder imagedocs (4 files)
Files folder imageexample (1 file, 1 directory)

  Files  /  Files folder image Naf  
File Role Description
  Plain text file Table.php Class Naf_Table class
  Plain text file Record.php Class Naf_Record class - ActiveRecord implementation
  Plain text file Select.php Class Naf_Select class - a Query-Object implementation

  Files  /  Files folder image unit_tests  
File Role Description
Files folder imageDatabase (4 files)

  Files  /  unit_tests  /  Files folder image Database  
File Role Description
  Accessible without login Plain text file TableTest_test.php Test Unit test case for Naf_Table
  Accessible without login Plain text file RecordTest_test.php Test Unit test case for Naf_Record
  Accessible without login Plain text file Abstract.php Test Helper class for unit-tests
  Accessible without login Plain text file Connection.php Test Naf_UnitTestDbConnection class - a helper for unit test cases

  Files  /  Files folder image docs  
File Role Description
  Accessible without login Plain text file README.Table.txt Doc. README for Naf_Table
  Accessible without login Plain text file README.Naf_Record.txt Doc. README
  Accessible without login Plain text file README.test_suite.txt Doc. README
  Accessible without login Plain text file README.Naf_Select.txt Doc. README

  Files  /  Files folder image example  
File Role Description
Files folder imagelib (1 file)
  Accessible without login Plain text file index.php Example example CRUD appplication

  Files  /  example  /  Files folder image lib  
File Role Description
  Plain text file Book.php Class ActiveRecord for the example CRUD app

Download all files: naf-db.tar.gz naf-db.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.