Login   Register  
PHP Classes
elePHPant
Icontem

PhARoS: Compose database queries like active records

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-04 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 494 This week: 1All time: 5,334 This week: 1,534Up
Version License PHP version Categories  
pharos 0.9.1GNU General Public Lice...4.0Databases, Text processing
Description Author  

This class can compose SQL queries from lists from set of simple function calls. It provides a modified version of Active Record pattern to generate SQL queries.
Really simple and minimal PhARoS provides a minimal set of user routines to let you generate your standard SQL queries using modified version of active record pattern. Also taking away all the boiler level strings from the programmer making code simpler.

Since PhARoS is not dependent upon any of the databases classes at all, you can yourself choose how to query database either by directly using the functions (like mysql_query) or choose any of the databases abstraction libraries (adodblite or adodb itself).

As it is based on principle of minimalism and flexibility, that's why unlike any of the active record classes (Propel or Doctrine) it is plug n play and has no tight integration or complex XML configurations. All you will be doing is feeling the complete power to generate the queries with decent readable code. Unlike some libraries it only requires PHP 4+ version and thatís it. Although there is not much bloated code; still you will be able to use CRUD like methods to generate queries for you. They key routines are selectQuery, insertQuery, updateQuery, deleteQuery.

Picture of Zohaib Sibte Hassan
Name: Zohaib Sibte Hassan <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: ???
All time rank: 294638 in Pakistan Pakistan
Week rank: 1164 Up24 in Pakistan Pakistan Up

  Files folder image Files  
File Role Description
Accessible without login HTML file Documentation.html Doc. PhARoS Documentation
Plain text file PhARoS.0.9.1 Class PhARoS source

 Version Control Unique User Downloads Download Rankings  
 0%Total:494All time:5,334
 This week:1This week:1,534Up
 User Comments (1)  
 
Hello, here is my review and opinion.
6 years ago (David Ferreira)
57%StarStarStar