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
POG 2.5 Released
written 536 days agoThis is perhaps the biggest update we’ve done at one time and we’re relieved it’s finally out of the door. Overall POG 2.5 is the result of developer feedback and our own observations while using POG recently in a few medium/large projects.
By dropping out-of-the-box support for databases other than MySQL for now, we’ve narrowed our focus in order to deliver a product which is more complete and stable. We also want to accelerate POG’s release cycle, and having to maintain several databases that very few POG users (including us) use was creating some slowdowns.
The purpose of this release is to improve on the code base that we had, and provide an even better PHP ORM generator which now fulfills, we believe, 99% of all db requirements in a typical web application. The implementation of Many-many relations in POG follows the mantra that we’ve had since day 1: Keep things clean, simple and easy to use. As such, when you generate Sibling (many-many) objects, you’ll quickly realize that you can almost forget/not care about how the relations are being handled on the database level and instead, focus on application logic. We’ve also kept most method interfaces consistent, for backward compatibility. Thus, upgrading a previous project to POG 2.5 shouldn’t be too difficult.
Setup has also been improved to provide a better scaffolding environment. The ability to re-initialize data in all your tables with a few clicks will surely be helpful. We know that it has for us.
Entire changelog
1. Dropped support for databases other than MYSQL
2. Improved Parent-Child (1-many, many-1) relations. Bug fixes include – checks that prevent same child from being added more than once to the childList – documented a php ‘bug’ where adding children through a loop must be done by reference – SetChildrenList now does what it was supposed to do: commits changes to the database, making previous children orphans.
3. Implemented Sibling (many-many) relations model in Generator as well as Setup
4. Table structures are now optimized (using NOT NULLS and Indexes)
5. New crud method: DeleteList
6. All %List CRUD methods have been made fairly consistent. They now accept the same field-comparator-value array variable ($fcv_array)
7. All %List CRUD methods are able to generate Disjunctive Normal Form (DNF) queries. i.e. queries containing “OR”
8. Improved setup options – table to object alignment – drop and recreate tables – drop, recreate tables and re-initialize data – allows bypassing of unit tests – warnings before destroying data – pagination
9. Fixed all reported/known bugs up to this date.
10. Fixed some issues (ajax) reported with Setup and IE7
11. Regenerate object url is now configurable
12. Updated all documentation
13. Fixed reported annoyances: – internal metadata array (pog_attribute_type) now keeps the attribute names in their original casing (instead of lower case). If you’re updating an existing project, this can now cause unpredictable results in badly formed Get%List request, if you used to pass attribute_name as lower case. Previously POG would produce the intended result but not anymore in this case. Please review your code thoroughly if you’re upgrading an existing project to 2.5. – Generator gives warning when the attribute list contains duplicates.

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
Rather than having all or nothing regarding fields being encoded. I suggest and option to select if a field is to be encoded. Example I would like passwords and creditcards to be encoded (if I choose) and all the others non-encoded.
Thanks
— joe Dec 3, 03:05 PM #