About Php Object Generator
Php Object Generator, (POG) is an open source PHP code generator which automatically generates clean & tested Object Oriented code for your PHP4/PHP5 application. Over the years, we realized that a large portion of a PHP programmer's time is wasted on repetitive coding of the Database Access Layer of an application simply because different applications require different objects.

By generating PHP objects with integrated CRUD methods, POG gives you a head start in any project and saves you from writing and testing SQL queries. The time you save can be spent on more interesting areas of your project. But don't take our word for it, give it a try!

Key Features of  Php Object Generator
Generates clean & tested code
Generates CRUD methods
Compatible with PHP4 & PHP5
Compatible with PDO
Free for personal use
Free for commercial use
POG is Open Source software

Want more Php Object Generator?
The POG Weblog and RSS feed.
The POG Google group
The POG mirror site
The POG history log

POG was written by Joel Wan and Mark Slemko. Designs by Jonathan Easton.

Feedback, Feature Requests, Bugs to: pogguys@phpobjectgenerator.com

A weblog about the Php Object Generator (POG) project, Databases and Php Code Generators in general.

Versionwritten 916 days ago

Version 1.6
New features

  1. Generated code package now contains a setup file

Web Interface

  1. Better compatibility with Opera
  2. Improved usability of Add Attribute feature.
  3. Fixed @link bug which occurred with certain attribute of types

Generated Code Improvements

  1. Generated code package doesn’t contain a README file anymore. Contents of readme has been merged into the setup file
  2. CRUD methods are now identical across objects. In particular GetList has been renamed to GetList for all generated objects.
  3. Improved code cleanliness and more consistent spacing in the
    generated code.
  4. GetList function now supports multiple conditions.
  5. GetList function now supports Limit.
  6. GetList orders object list by Id by default now.
  7. Generated objects are more easily debugged.
  8. Generated object have an internal attribute=>attribute type map that can be extended in the future to provide data validation.
  9. Objects generated for PHP 5.1 and PDO are now more consistent with objects generated for PHP 4, 5.0. They now have the ability to escape data as well
  10. Other obscure bug fixes
  11. Minor performance improvements.

Version 1.5

  1. Added compatibility with PDO. (PHP 5.1 and above)
  2. Code generated with PDO as database wrapper is compatible with other databases such Oracle, SQL Server
  3. Code can still be generated without using PDO as database wrapper and instead using the default POG wrapper.
  4. URL is included in the code header & allows you to regenerate/modify your object more easily.
  5. Minor bug fixin’s
  6. Minor performance improvements

Version 1 (rev1-rev22)

  1. Generates object along with 4 main methods. (Save, Get, GetList and Delete)
  2. Generates private helper methods which allows sorting of objects in the GetList method.
  3. Generates SQL query to create the table to store the object
  4. Generate code compatible with PHP4 or PHP5.
  5. Generates configuration file.
  6. Generates database wrapper compatible with MySQL.
  7. Safely encodes and decodes all object attributes automatically to prevent injection type attacks

Breakdown of 4 main methods generated by POG: