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




Using POG with Flex

written 3506 days ago

Recently, we’ve been contacted by Justin Opitz, a flash developer, because he was trying to get POG to work with Flex. After playing with the configuration for a few days, he was able to get it working. His solution looks like it would be extemely helpful to anyone else trying to get Flex working with any lightweight PHP library.

Justin’s POG + Flex solution

We welcome other input from other flash developers who have worked or are currently with POG. So, don’t hesitate to contact us with your problems/questions.


Hello, my name is daniel from brazil. I have entire portal created using pog with flex and ajax. Everything works perfectly and pog objects are perfect to send via remote object using AMFPHP. The url for portal is www.brasilminingsite.com.br ... Only admin painel for registred user are maded in flex, register and see how fast flex + amfphp + pog can be.


daniel    Mar 13, 02:00 PM    #

POG is very easy to use and updating my db is now a snap. The nightmare is over.

I hate writing value objects as much as I dislike db work… so what I’m working on at the moment is to databind some of my form fields to variables in the array of pog_attribute_type, which is returned by each AMFPHP service method result.

Is there anything out there documented about this property? I’d be curious to know how other’s use this field?


Swidnikk    Mar 16, 01:53 PM    #

While getting POG to talk with Flex was a success, it was only a first test. I have run into a few more issues and I hope that the community can maybe lend their assistance.

While I have successfully established a remoting solution going from POG => AMFPHP => Flex, I am having a bit of trouble going in the reverse direction. Namely I cannot successfully take a AS3 value object (that maps to a corresponding POG Objects) sent from Flex, to a php function that simply returns that and maintains the class structure. I instead get back an ObjectProxy. This leads me to believe that the POG objects are not being handled correctly by the AMFPHP gateway or the POG Object structure is not able to accommodate remoting translation.

If any of you are interested in tackling this problem with me, please send me an email: jwopitz (at) gmail.com


justin opitz    Mar 20, 01:28 AM    #

ok so I started a google code project for what I hope will be a solution/framework for using ActionScript, AMFPHP and POG.

You can check it out here: http://code.google.com/p/as3pogkit/


justin opitz    Mar 20, 06:50 AM    #

  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