- Introduction to POG
- Setting up PHP, MySQL etc.
- Designing your objects
- Generating your code
- Description of the generated code
- Edit configuration file
- The Setup Process
- Using the code: Save()
- Using the code: Get()
- Using the code: SaveNew()
- Using the code: GetList()
- Using the code: Delete()
- Using the code: DeleteList()
- Advanced: object relations
- Advanced: Set{Parent}()
- Advanced: Get{Parent}()
- Advanced: Add{Child}()
- Advanced: Get{Child}List()
- Advanced: Save(deep)
- Advanced: Delete(deep)
- Advanced: Add{Sibling}()
- Advanced: Set{Child}List()
- Advanced: Set{Sibling}List()
- Advanced: Get{Sibling}List()
- Advanced: DeleteList(deep)
- Customizing POG-generated code
- Customizing: Extending POG Objects
- Customizing: Plugins
- Examples
- Examples: User registration system
- Examples: User authentication
- Examples: Survey form
- Examples: Using POG with AJAX
- PDO: Introduction
- PDO: SQLite example
- PDO: Firebird example
- PDO: PostgreSQL example
- PDO: MySQL example
- PDO: ODBC example
- Troubleshooting
- Troubleshooting: Data appears encoded
- Troubleshooting: Can't regenerate object
- Troubleshooting: Can't seem to Save()
- Troubleshooting: Can't get object / object attributes from database
- Troubleshooting: Can't open zip file on Mac
- Troubleshooting: Setup screen is blank
- Videos
- Appendix: Creating table(s) manually
- Appendix: Regenerating objects
- Appendix: Generating objects using SOAP
- Case Study: Gravity GTD
- Case Study: Web Form Factory
Back to the Code Generator
The POG Weblog and RSS feed.
The POG Google group
PDO: Introduction
Generating code compatible with PDO was a choice we made because we recognized early on that PDO would become the standard way PHP web applications interact with databases. Because PDO is essentially a database abstraction layer that is compiled, it provides better performance and security over database layers written in PHP, such as PEARDB and even the POG database wrapper. That is why, if you’re generating code for PHP 5.1 and above, we strongly suggest that you choose PDO as the database wrapper. We do provide POG as database wrapper for consistency purposes.
PDO is the new lightweight and consistent database interface for PHP and is one of the new features included in the PHP distribution as of version 5.1. PDO basically makes your code more consistent and portable, regardless of the database you’re using to store data. And since PDO is part of the PHP core instead of a database astraction layer on top of PHP, it should also bring along some performance enhancements.
Here are some links about PDO that you might be interested in:
http://ca.php.net/pdo
http://snaps.php.net/
http://netevil.org/
http://blogs.activestate.com/jeffg/2005/08/phppdo.html
http://www.sitepoint.com/blogs/2005/06/22/php-51s-killer-feature/


