Pork.dbObject is a tiny (500 lines) but powerful hot-pluggable OR-mapper/Active Record implementation for PHP5. It automatically recognizes different types of relations in your database by matching primary keys and takes care of most of your SQL queries.
Be the first to post a text review of Pork.dbObject. Rate and review a project by clicking thumbs up or thumbs down in the right column.
It seems that i made a little mistake cleaning up the code and adding private/public descriptors with release 1.1. This is fixed in this release.
* fixed a small bug in private/public declarations
* fixed a small bug in private/public declarations
Changes from version 1.0: * Updated to now use static database class (You can easily exchange this with your own) * Moved query building code to it's own QueryBuilder class * Cleaned up code * Static Search function to use dbObject::Search('objectType', array(filters)); * Extended Find() functionality to be able to search in properties of a relation.
Changes from version 1.0: * Updated to now use static database class (You can easily exchange this with your own) * Moved query building code to it's own QueryBuilder class * Cleaned up code * Static Search function to use dbObject::Search('objectType', array(filters)); * Extended Find() functionality to be able to search in properties of a relation.
Changes from version 1.0: * Updated to now use static database class (You can easily exchange this with your own) * Moved query building code to it's own QueryBuilder class * Cleaned up code * Static Search function to use dbObject::Search('objectType', array(filters)); * Extended Find() functionality to be able to search in properties of a relation.
Pork.dbObject is a tiny (< 500 lines) but powerful hot-pluggable OR-mapper/Active Record implementation for PHP5. It automatically recognizes different types of relations in your database by matching primary keys and takes care of most of your insert/update/join/delete SQL queries. Once you map your PHP object to a row in your database you can easily fetch a number of objects with one line of code. Pork.dbObject v 1.0 has been used for many years in multiple production environments and is therefore considered stable. Version 1.1 moves this project into Public Domain and onto SourceForge.net and has undergone some code improvements and tweaks and adds a more flexible abstract Search function that allows you to find dbObjects by query'ing properties of relations.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?