As more and more hosting providers offer PHP5 as part of their PHP hosting package, developers are faced with a choice: should you stick with PHP4 or migrate your applications to PHP5. It depends:
If you’re starting a new project using POG, we highly recommend starting fresh with PHP5 . This is the version we ourselves use when creating applications. Why? POG is best appreciated if your entire application is object-oriented (not just the db related stuff that POG does). Cool Things in PHP5 and Go PHP5 are two good resources that give some additional information about why you should consider upgrading to PHP5.
When we started the POG project a year and a half ago, PHP5 adoption was already accelerating; Nevertheless, unlike other ORM libraries or frameworks, we decided to still support PHP4 with almost the same feature-set as PHP5 in order to be useful to the broadest base possible. PHP4 used to be the default language on the POG frontpage . In 3.0 however, PHP...
Content suppressed by ://URLFAN, for full article visit source
POG UI TipsFrom: phpobjectgenerator.com
Post Date: 2006-05-21 00:00:00
Some tips that might enhance your POG Experience:
Removing attributes
In order to keep the User interface as clean and simple as possible, there isn’t any “remove attribute” button. However, if you simply clear the attribute text field and leave it empty, it will be ignored by POG upon code generation.
Re-ordering attributes
You can use the Up and Down arrow keys to reposition attributes. (IE and Firefox).
Customizing attribute types
Thin...
more Featuring Of Interest linksFrom: phpobjectgenerator.com
Post Date: 2006-05-21 00:00:00
We’ve now added a link section to our blog, called Of Interest. (see right hand side of this blog) This section will feature links to articles, products and companies that are related to POG, Code Generation, and PHP in general as we come across them.
Since the ‘Of Interest’ section is powered by Del.icio.us , you can suggest links to us simply by adding for:pogguys as one of the tags to your delicious entry.
Or you can also submit your link to us thro...
more PHP CRUDFrom: phpobjectgenerator.com
Post Date: 2006-05-21 00:00:00
As most of you know by now, CRUD stands for Create, Retrieve, Update, Delete and is one of the ‘philosophies’ behind POG , enabling PHP developers to generate the database abstraction required to perform these 4 atomic database operations (and more).
Now, POG is far from being the only solution when you want to use CRUD to ease your database application development. Here are some alternatives:
Using Stored Procedures
This approach is usually taken when you w...
more How to debug POG-generated objectsFrom: phpobjectgenerator.com
Post Date: 2006-06-05 00:00:00
Sometimes, while working with POG generated PHP objects, you might get unexpected results. Here’s a short cheatsheet that should help you diagnose and solve your issue(s) quickly:
Run Setup
POG Setup’s main purpose is to automate table creation (if necessary), perform unit testing and provide a light scaffolding environment for your objects. Each time setup is run, all the objects present in the /objects folder are tested and verified to make sure that al...
more