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 source code locations
written 1577 days agoIf all you want is generate php code and be on your way, don’t worry about this article. Use POG as usual, nothing to worry about.
However, if you’re a POG enthusiast interested in extending/improving POG or installing the code generator on your own machine, you can access the POG source code either from:
- the POG Sourceforge project page
- the POG Subversion Repository (username:guest, no password)
The main difference between the 2 repositories is that we generally update the code on Sourceforge only when there’s a significant release.
The Subversion repository, on the other hand, is updated more regularly and contains the latest revision of POG. If you want the latest and greatest and don’t mind if things haven’t been tested fully, then the subversion code is for you.
To download from Subversion, you’ll need svn (for most Unix-based systems, including OS X), or Tortoise SVN (Windows)
To download the sourcecode using svn
svn—username guest export http://subversion.phpobjectgenerator.com/svn/repository/pog path-to-your-directory-for-pog
To download the sourcecode using Tortoise
In Windows Explorer, right-click on a directory, and select TortoiseSVN->Export
For URL of repository, use http://subversion.phpobjectgenerator.com/svn/repository/pog
(username:guest, no password)

You’re correct: currently, the tutorials are valid for version 1.6 which can be accessed at http://beta.phpobjectgenerator.com. The beta subdomain is updated from the svn repository daily.
Finally, we’re redesigning the Manage objects section in the setup process right now, and that’s why 1.6 hasn’t been released yet. The main deficiency of the current design is that it does not scale well enough with large objects.
Anyways, thanks for the feedback. We appreciate it.
— Joel Jan 19, 03:24 PM #
Maybe you can add the default values for the fields, and then set this default values in the arguments of the constructor.
Really nice work,
Best Regards,
Pedro
— Pedro de la Lastra Mar 17, 09:43 PM #
Hey, this is a very nice idea well executed. My one issue with it is that the code is completely susceptible to SQL injection attacks and is therefore quite insecure (in my view).
A great improvement would be to bind parameters to prepared SQL statements to ensure that injections can’t occur.
— Doug Oct 12, 11:27 AM #
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
The line that reads:
$data = file_get_contents("./configuration_factory/configuration.".$pdoDriver.".php");
Probably should read:
$data = file_get_contents("./configuration_factory/configuration.". $_SESSION['pdoDriver'].".php");
I checked out the svn repository because I could not get the setup and object directories inclued in the zip file as the tutorial describes.
Also, i noticed, the section “Manage objects” in the setup doesn’t handle medium_text and long_text. This would be really neat, I think I can add that.
Cool app anyways :)
Regards,
Vegard
— The-eh Jan 19, 03:05 PM #