- 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
Setting up PHP, MySQL etc.
NOTE: If you’ve already set up a PHP development environment on your machine, you may skip this step of the tutorial. That is, if you’ve already installed PHP, MySQL, a PHP code editor, etc. please skip to the next step, Designing your objects.
As mentioned in the Introduction to POG article, POG is a tool whose purpose is to make your web application development more interesting, not take over the whole project from you.
Standard Pre-flight Checklist:
- You need to have PHP running on your machine along with MySQL
- PHP. If you don’t have PHP installed, you can download it from the PHP website. PHP4.4+ is required.
- A good development environment (editor). If you prefer doing everything in a text editor, please do. Otherwise, we recommend either Eclipse (free) or Zend IDE (not free).
There’s also a nice tutorial on how to set up Eclipse
A good PHP IDE will help you with code completion and will take advantage of the PHPDOC generated by POG.
Once you have a proper PHP development environment on your machine, you’re ready to design and generate the starting point of your web application.
Proceed to next step of the tutorial ››


