PHP Classes
Icontem

Class: Naf Database Tools


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Victor Bolshov  >  Naf Database Tools  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Naf Database Tools Support forum
Base name: naf-db
Description: Store and retrieve objects in databases using PDO
Related top rated classes: , , ,
Version: 1.0
Required PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 405 users
All time rank: 3746
Week users: 2 users
Week rank: 2659
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Files Files  

Author

Picture of Victor Bolshov
Name: Victor Bolshov <e-mail contact>
Published packages: 6 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Home page: http://vbolshov.org.ru/
Age: 30
All time rank: 533
Week rank: 452

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

Detailed description

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.

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

File Role Description
Files folder image Naf
  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 folder image unit_tests/Database
  Plain text file TableTest_test.php Test Unit test case for Naf_Table
  Plain text file RecordTest_test.php Test Unit test case for Naf_Record
  Plain text file Abstract.php Test Helper class for unit-tests
  Plain text file Connection.php Test Naf_UnitTestDbConnection class - a helper for unit test cases
Files folder image docs
  Plain text file README.Table.txt Doc. README for Naf_Table
  Plain text file README.Naf_Record.txt Doc. README
  Plain text file README.test_suite.txt Doc. README
  Plain text file README.Naf_Select.txt Doc. README
Files folder image example
  Plain text file index.php Example example CRUD appplication
Files folder image example/lib
  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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products