RSS feed - Using POG with Flex
- Optimizing your web application
- Regenerating large objects
- PHP4 or PHP5
- New and Improved
- Evolution of a cube
- POG Museum
- POG 3.0 alpha
- Initial Performance results Part 2
- Initial performance results
- Proposal: POG 3.0 object model
- Suggest a feature
- A new year, A new POG release
- Many-Many relations
- POG 2.5 Released
- POG 2.5 beta
- Automatic table alignment
- New version: 2.1.2 released
- RSS should work well now
- RSS feed glitches
- What's new in 2.1.0
- PHP Objects 2.1.0 (preview)
- PHP Object relations FAQ
- PHP Object Relations
- Searching base64 encoded text
- How to debug POG-generated objects
- POG UI Tips
- Featuring Of Interest links
- PHP CRUD
- POG 2.0.1: A better code generator
- A look at the POG SOAP API
- POG 2.0.0 released
- Coming soon: Generate parent-child objects
- Generated abstraction v/s dynamic abstraction
- Zend Framework preview
- Coming soon: Generate Objects through SOAP
- Easily save images and files to a database
- PHP, Paypal & POG
- Five advanced Code Generator tips
- PHP Pagination using generated objects
- PHP Code Generator benchmarks
- Representing database objects using an AJAX Tree interface
- Using SETUP in a production environment
- Description of the generated object package
- Introducing PHP Object Generator version 1.6
- Using AJAX and PHP Object Generator
- When to use Object->SaveNew()
- Generating PHP objects in 2006
- Happy Holidays
- A short video of the POG Setup process
- A sneak peek at POG 1.6
- POG Tip: Field limits
- Previous versions.
- Searching the blog and tutorials sections
- Generating code with "Other" SQL data types
- Five general POG tips
- POG source code locations
- Microsoft SQL 2005 Express Edition
- Impatiently awaiting PHP 5.1 and PDO
- Php Object Generator goes open source
- POG generates PDO compatible code
- Oracle to offer free database
- POG Google group
- Database Wrappers and POG
- Revisions
- The generator blog
- An explanation of the 'Escape' function.
- Mirror, mirror
- Using POG to solve real world problems
- A php object-relational database tool
- A simple and flexible Object Oriented approach to PHP
Back to the Code Generator
The POG Google group
The POG tutorials/code samples
The POG mirror site
A new year, A new POG release
written 487 days agoPOG 2.6 has been released a few weeks ago. This release addresses recent Relations bugs that have been discovered since the release of version 2.5
For the specific listing of bug fixes, visit our google group
We’ve also taken the opportunity to include in our source code, internal PHPUnit tests against which we test the generator before any release. These unit tests are different from Setup tests that are included with all generated objects since version 2.1
While the Setup tests make sure that all db operations work correctly (Inserts, Updates, Deletes etc), the phpunit tests, on the other hand, ensure that the objects behave as a expected when they are used programmatically by the users. This may seem a bit redundant, but essential, the phpunit tests cover areas that may get broken when the generator source code is modified, whereas the setup tests cover areas that may be get broken when the objects are modified directly. Thus the phpunit tests are a superset of the setup tests.
The main motivation for including those tests was to encourage code modification/contribution of the generator from other developers, and to ensure that the modifications are reliable. The bottom line is that we believe that this will help us keep and even increase the level of code reliability as we/others introduce more useful features in the generator.
If you’ve made modifications to the generator source code, and want to run the tests (on Windows), you need to first make sure you have PHPUnit installed . Then, run setup for the sample app corresponding to the installed PHP version. If you have PHP 4 installed, run the /tests/php4/app/setup/index.php script. If you have PHP 5 installed, run the /tests/php5/app/setup/index.php script. This will create the sample tables and perform the SETUP tests.
Finally, simply run the file “runtests.bat” in the test/phpX/ folder where X can be 4, 5 or 5.1. You should see something like this:

If you have any problems running the tests, ensure that the path to phpunit.bat is included somewhere in the PATH environment variable in Windows. If you have any comments or questions on the latest POG release, feel free to contact us on the POG Google group

This is a weblog about the Php Object Generator (POG) project, OO PHP, databases and Php code generators in general.
Php Object Generator, (POG) is an open source PHP code generator which automatically generates clean & tested Object Oriented code for your PHP4/PHP5 application.
Subscribe to our RSS feed
Feedback, Feature Requests, Bugs to:
The POG Google group
Send us a Hello through email