Previously on the blog
RSS feed
  1. Using POG with Flex
  2. Optimizing your web application
  3. Regenerating large objects
  4. PHP4 or PHP5
  5. New and Improved
  6. Evolution of a cube
  7. POG Museum
  8. POG 3.0 alpha
  9. Initial Performance results Part 2
  10. Initial performance results
  11. Proposal: POG 3.0 object model
  12. Suggest a feature
  13. A new year, A new POG release
  14. Many-Many relations
  15. POG 2.5 Released
  16. POG 2.5 beta
  17. Automatic table alignment
  18. New version: 2.1.2 released
  19. RSS should work well now
  20. RSS feed glitches
  21. What's new in 2.1.0
  22. PHP Objects 2.1.0 (preview)
  23. PHP Object relations FAQ
  24. PHP Object Relations
  25. Searching base64 encoded text
  26. How to debug POG-generated objects
  27. POG UI Tips
  28. Featuring Of Interest links
  29. PHP CRUD
  30. POG 2.0.1: A better code generator
  31. A look at the POG SOAP API
  32. POG 2.0.0 released
  33. Coming soon: Generate parent-child objects
  34. Generated abstraction v/s dynamic abstraction
  35. Zend Framework preview
  36. Coming soon: Generate Objects through SOAP
  37. Easily save images and files to a database
  38. PHP, Paypal & POG
  39. Five advanced Code Generator tips
  40. PHP Pagination using generated objects
  41. PHP Code Generator benchmarks
  42. Representing database objects using an AJAX Tree interface
  43. Using SETUP in a production environment
  44. Description of the generated object package
  45. Introducing PHP Object Generator version 1.6
  46. Using AJAX and PHP Object Generator
  47. When to use Object->SaveNew()
  48. Generating PHP objects in 2006
  49. Happy Holidays
  50. A short video of the POG Setup process
  51. A sneak peek at POG 1.6
  52. POG Tip: Field limits
  53. Previous versions.
  54. Searching the blog and tutorials sections
  55. Generating code with "Other" SQL data types
  56. Five general POG tips
  57. POG source code locations
  58. Microsoft SQL 2005 Express Edition
  59. Impatiently awaiting PHP 5.1 and PDO
  60. Php Object Generator goes open source
  61. POG generates PDO compatible code
  62. Oracle to offer free database
  63. POG Google group
  64. Database Wrappers and POG
  65. Revisions
  66. The generator blog
  67. An explanation of the 'Escape' function.
  68. Mirror, mirror
  69. Using POG to solve real world problems
  70. A php object-relational database tool
  71. A simple and flexible Object Oriented approach to PHP

Want more Php Object Generator?
Back to the Code Generator
The POG Google group
The POG tutorials/code samples
The POG mirror site

New version: 2.1.2 released

written 4719 days ago

Last night, POG was updated to 2.1.2, which has some nice improvements over 2.1.0 & 2.1.1. Release 2.1.0 addressed some shortcomings that Setup previously had regarding related/connected objects. 2.1.2, yesterday’s release, addressed a bug identified as well as improved the rendering of connected objects.

Rendering – the old way
In 2.1.0 & 2.1.1, POG setup did not render connected objects fully. i.e. only the non parent/child attributes were rendered.

Rendering – the new way
In 2.1.2, POG setup now renders connected objects fully and gives a true hierarchical view of connected objects. For e.g. if you have an Author object who has many Books, Setup now displays BookList as a clickable node attribute. When expanded, setup renders all book objects and attributes. The following is a screenshot example of how Setup renders parent/children.

The major bug fix made concerned automatic table alignment and connected objects. Previously, the bug caused some object relations to be ‘lost’ each time setup is ran because the parents/children column were being dropped and recreated under certain circumstances. This has now been fixed.

Other improvements
Other improvements include – Prevent timeout/max execution time issue when dealing with a large number of objects during Setup and Update – Added circular progress indicator in a few places – Fixed a few setup glitches here and there.

Hope this gives an overview of what has been improved in the latest version. You can always download and take a look at the source code.

Next expected release is now 2.2.0 which will finally introduce many-many relations.

The setup_factory (or my idea of how to setup POG) seems to be all whacked out in the 2.1.2 release (SVN).

Trying to run setup_factory/setup.php OR setup.php4.php is a fall down. Additionally, seems the later is looking for non-existant files. (Warning: main(setup_library/authentication.php): failed to open stream: No such file or directory).. I’ll change the path to setup_files and kick it around a bit, but I thought you guys may want to know.

I used:

More info if you request it.

Thanks for all the hard work.

trip    Aug 25, 11:59 AM    #

Indeed, you seem to be confused between the setup_factory (which you shouldn’t really be dealing with) and Setup.

Only download the code from the SVN directory if you want to install a copy of the Generator on your local machine or on your server. This is only if you don’t want to access to generate objects.

On the other hand, setup is generated along when you generate PHP objects. These introductory videos may help.

PogGuys    Aug 28, 04:28 PM    #

  Textile Help
About Php Object Generator
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