
- 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
Customizing POG-generated code
Customizing POG-generated code
There are 3 main ways to customize the generated code. Please note that in 99% of cases, the code generated is more than enough for even complex web applications. However, there are always times when customization is required. The ability to customize code is actually one of the pluses of using a code generator such as POG v/s a framework.
Method 1: POG Plugins
This method is recommended when you want to introduce functionality, which is not already provided by our code generator, across multiple and different projects. This method is also useful when you want to share your functionality with other POG users. Read More
Method 2: Extending POG Objects
This method is recommended when your code customization is coupled tightly with your business rules. That is, when it the code customization only applies to a specific web application. In other words, this is recommended when there is no real reuse value to your customization, or when time is limited.
Read More
Method 3: Direct editing of POG code
This method is not recommended, because if you ever have to regenerate your code, all your changes will be overwritten. Deltas will need to be tracked, managed and reapplied. However, you are still free to use this method when desperate times demand it.