2 Replies Latest reply on Jul 9, 2011 11:18 PM by D Baron

    Help setting up Flash Builder 4.5 for PHP

    motorboatones

      I am looking for a concise set of steps for setting up ALL requirements for running Flash Builder 4.5 for PHP.  I have been fighting for three days to get the TestDrive example up and running, with no success.  At every step of the way I have encountered problems.  I fought for a day and a half with MySQL.  Then I fought for another day with PHP (Liip).  Then I fought for another day with Zend.  All along the way I have fought problems with Flash Builder and Flash Builder for PHP.  I've had to relearn all of my UNIX shell commands (it's been a few years).  I've tried using a remote server at 000webhost.com.  I've tried using an old laptop for a server.  I finally ended up trying to do it all on my main laptop.  I have completely given up and am ready to dump my project altogether.  Forget my students.  They'll just have to live without what would have been a fantastic new way of learning.

       

      HELP!!!

        • 1. Re: Help setting up Flash Builder 4.5 for PHP
          kokorito Level 4

          I dont use it. I already had eclipse/php and WAMP when I bought Flex

          does Flex/PHP install a local server for you or do you have to install WAMP (or MAMP or LAMP)?

           

          this might help

           

          http://tv.adobe.com/watch/adc-presents/working-with-flex-and-php-using-flash-builder-for-p hp/

          • 2. Re: Help setting up Flash Builder 4.5 for PHP
            D Baron Level 1

            Hi There,

             

            I do not have a 'concise' answer for you - in fact I am not using FB 4.5 for PHP.  I started using FB 4  around 8 months ago.  I installed a 'WAMP' thing, called 'EasyPHP'.  That actually went pretty smoothly.  I did the whole thing on my personal laptop running Windows 7.  I 'hooked up' FB to the PHP side using the built in data services wizards and such, as I imagine you are trying to do.  I too had to 'fight' a bit, but found most of the answers scattered around the Internet.  Had to tweak a few settings here and there in various files, and viola, it worked.

             

            I have resisted upgrading to 4.5, and especially the 4.5 "for" PHP, only becuase of the great expense.  It seems like a lot of money to pay for 'integrated, round-trip debugging'.  I already can debug the PHP side 'independently' of the FB side (from inside the Eclipse+PHP plugin free toolset), which, for most SQL situations is good enough. I simply set up a 'test page' in PHP and use that to 'call' the various functions I write.

             

            On the FB side, I gave up on using the 'built in data services wizard thingies' because they simply could not get the data-type mappings correct between the two sides.  Also, the "value objects" things (really just a fancy data-object class definition) seeme overly complex and inflexible, i.e., they would re-code themselves after every change I made to the PHP side.  I prefer a more 'lean' approach, and one that I control 100%.  So far I am able to do everything I need using my own 'value objects' (simple classes).

             

            So...as you can see, I may not be able to help much, but, if you can explain some of the details of what is failing, maybe I can provide a bit of assistance.  From what I understand, the big difference between 4.5 and 4.0, at least on the PHP side, is that the 'introspector' is a bit more accurate now and of couse there is the 'round-trip' debugging and 'awareness of each other's objects/definitions' while in PHP or FB.

             

            Finally, as best I can tell, after 8 months of 'experimenting' with Flex and PHP, there are simply not many people doing it, or, at least not that many doing it that participate on this forum and who have practical experience, especially with the more 'recent' releases, i.e., 4.0, 4.5.  I would encourage you to scan the rest of the Internet...there *is* knowledge out there...but it can difficult and slow to get.

             

            -David