Two other bits of information on this topic... 1) I forgot to mention that there are two really helpful videos on Lee Brimelow's website that helped me learn the basics of amfphp early on: http://gotoandlearn.com/play?id=78 http://gotoandlearn.com/play?id=79 (he also has this video I have not watched about ZendAMF: http://gotoandlearn.com/play?id=90)
2) My team just today successfully migrated the server-side portion of our flex & php application from a home-grown framework to cakephp. With minimal tinkering, we were able to make amfphp work with cake (that after discovering that it was kind of a pain in the butt to make cake's native amf system work). So yah, one more happy story about amfphp. --Daniel On Wed, Feb 18, 2009 at 12:52 PM, <talk-requ...@lists.nyphp.org> wrote: > ------------------------------ > > Message: 2 > Date: Wed, 18 Feb 2009 12:52:16 -0500 > From: Artur Marnik <ar...@marnik.net> > Subject: Re: [nyphp-talk] PHP and Flex > To: NYPHP Talk <talk@lists.nyphp.org> > Message-ID: <499c4ad0.3040...@marnik.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > now I just have to choose amfphp or zend_amf :) > I will take a closer look on both and see what are the pros and cons > > thanks > Artur > > > Daniel Max Kestin wrote: > > I've had success using the amfphp system. Have not tried Zend's. > > Either way, you can definitely use just amf communication - without > > using the rest of a huge mvc package. > > > > Check out http://amfphp.org/ > > > > These websites were very helpful to me in figuring out the configuration: > > http://www.howtoforge.com/amfphp_adobe_flex2_sdk > > > http://viconflex.blogspot.com/2007/04/mapping-vos-from-flex-to-php-using.html > > > > The main reason I'm sticking with amfphp is because of their amf service > > browser - which makes debugging VERY easy. > > > > Unlike one of the other posters, I've had no trouble debugging amf > > objects at all. I never had reason to try and look at the binary > > content... I put break-points in the flex builder to see what objects > > look like in the debugger when they come over from PHP - and I put > > error_log()-type statements in the php code to see what data looks like > > coming over from Flex. > > > > All in all, I've found amf to be very easy to work with. > > Good luck! > > > > --Daniel > > > > > > > > On Tue, Feb 17, 2009 at 5:21 PM, Artur Marnik <ar...@marnik.net > > <mailto:ar...@marnik.net>> wrote: > > > Hi all > > > > > > > > > From what I read I can use just zend_amf without the framework - > > does anyone > > > has any experience with it? > > > > > > > I have experience with amfphp, and it works as promised (no > > experience with Zend_AMF). However, if I could do it over again, I > > would probably just use json / json-rpc. AMF is a really tight > > serialization format, but it makes debugging a pain in the neck > > because it is not human readable. AMF has some performance > advantages > > if you are sending loads of binary data, and it has features for > > dynamic record sets. > > > > I avoid XML where possible for communicating with the client. With > > XML you have to write custom code to serialize and deserialize, or > > bundle a massive soap library on the client side. > > > > -John Campbell > > > > > > ------------------------------ > > > > Message: 6 > > Date: Tue, 17 Feb 2009 18:18:44 -0500 > > From: Daniel Convissor <dani...@analysisandsolutions.com > > <mailto:dani...@analysisandsolutions.com>> > > Subject: Re: [nyphp-talk] Can I set the response code if a PHP Fatal > > error occurs? > > To: NYPHP Talk <talk@lists.nyphp.org <mailto:talk@lists.nyphp.org>> > > Message-ID: <20090217231844.ga...@panix.com > > <mailto:20090217231844.ga...@panix.com>> > > Content-Type: text/plain; charset=us-ascii > > > > On Tue, Feb 17, 2009 at 10:09:25AM -0500, Daniel Horning wrote: > > > > > > Something as simple as an "ErrorDocument 200 > > /path/to/other.notify.script" > > > in htaccess or in apache conf should allow you to reach this goal > > > > An application I work on uses JSON to communicate. I've adjusted our > > .htaccess file to print out a JSON string. Note: pick only ONE, > > depending on which version of Apache is in play. Note: remove line > > wrap. > > > > In Apache 1.3: > > > > ErrorDocument 500 "var response = {"code":500,"message":"Apache > > server error"}; > > > > In Apache >= 2.0: > > > > ErrorDocument 500 "var response = > {\"code\":500,\"message\":\"Apache > > server error\"};" > > > > --Dan > > > > -- > > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > > data intensive web and database programming > > http://www.AnalysisAndSolutions.com/ > > 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > > > > > > ------------------------------ > > > > Message: 7 > > Date: Wed, 18 Feb 2009 01:56:55 -0500 > > From: Artur Marnik <ar...@marnik.net <mailto:ar...@marnik.net>> > > Subject: Re: [nyphp-talk] PHP and Flex > > To: NYPHP Talk <talk@lists.nyphp.org <mailto:talk@lists.nyphp.org>> > > Message-ID: <499bb137.5060...@marnik.net > > <mailto:499bb137.5060...@marnik.net>> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > Thanks for the link Ricky > > and I will get php|architect as well > > > > Artur > > > > Ricky Robinett wrote: > > > Hey Artur, > > > > > > I have some experience creating Flex/AIR applications that > > communicate with PHP using Zend_Amf. My preference is to use the > > zend amf without the MVC structure. Especially if the front end is > > entirely Flex. > > > > > > If you have any questions about the setup feel free to drop me a > > line. > > > > > > Wade Arnold's blog is a really great resource: > > > http://wadearnold.com/blog/ > > > > > > As well, there are a couple articles in the newest issue of > > php|architect about Flex/AIR and PHP (disclaimer: I wrote one of > them). > > > > > > Thanks! > > > Ricky > > > > > > > > > ..................................... > > > Ricky Robinett > > > Developer > > > Zend Certified Engineer, PHP5 > > > Adobe Certified Expert, ColdFusion 8 > > > > > > Nylon Technology > > > 350 7th Avenue, 10th Floor > > > New York, NY 10001 > > > > > > 212.691.1134 x25 direct > > > 212.691.3477 fax > > > ri...@nylontechnology.com <mailto:ri...@nylontechnology.com> > > > www.nylontechnology.com <http://www.nylontechnology.com> > > > > > > -----Original Message----- > > > From: talk-boun...@lists.nyphp.org > > <mailto:talk-boun...@lists.nyphp.org> > > [mailto:talk-boun...@lists.nyphp.org > > <mailto:talk-boun...@lists.nyphp.org>] On Behalf Of Artur Marnik > > > Sent: Tuesday, February 17, 2009 5:22 PM > > > To: NYPHP Talk > > > Subject: [nyphp-talk] PHP and Flex > > > > > > Hi all > > > > > > Recently I've started creating some project using PHP on the > back-end > > > and Flex on the front-end and so far I was using XML files for > > data transfer > > > > > > Recently I started testing with zend framework and zend_amf > > > do you think that for project that is using just flex on the user > > side I > > > should use zend framework and their MVC structure? or it is just > > to much > > > of a hassle with little benefit? > > > > > > From what I read I can use just zend_amf without the framework - > > does > > > anyone has any experience with it? > > > > > > Thanks, > > > Artur > > > _______________________________________________ > > > New York PHP User Group Community Talk Mailing List > > > http://lists.nyphp.org/mailman/listinfo/talk > > > > > > http://www.nyphp.org/show_participation.php > > > _______________________________________________ > > > New York PHP User Group Community Talk Mailing List > > > http://lists.nyphp.org/mailman/listinfo/talk > > > > > > http://www.nyphp.org/show_participation.php > > > > > > > > > > > ------------------------------ > > > > Message: 8 > > Date: Wed, 18 Feb 2009 08:32:24 -0500 > > From: "Peter Sawczynec" <p...@blu-studio.com <mailto:p...@blu-studio.com > >> > > Subject: [nyphp-talk] A Footnote on IBM > > To: "'Org, t...@nyphp.'" <talk@lists.nyphp.org > > <mailto:talk@lists.nyphp.org>> > > Message-ID: <004001c991cd$567c9c20$0375d4...@com> > > Content-Type: text/plain; charset="windows-1257" > > > > Being as NYPHP has an informal working rapport w/ IBM, I thought this > > article might be worth a note to the list: > > http://www.itexaminer.com/ibm-pulls-out-of-us.aspx > > > > > > Warmest regards, > > ? > > Peter Sawczynec > > Technology Dir. > > bl?studio > > 941.893.0396 > > p...@blu-studio.com <mailto:p...@blu-studio.com> > > www.blu-studio.com <http://www.blu-studio.com> > > > > > > > > > > > > ------------------------------ > > > > Message: 9 > > Date: Wed, 18 Feb 2009 09:33:54 -0500 > > From: Artur Marnik <ar...@marnik.net <mailto:ar...@marnik.net>> > > Subject: Re: [nyphp-talk] PHP and Flex > > To: NYPHP Talk <talk@lists.nyphp.org <mailto:talk@lists.nyphp.org>> > > Message-ID: <499c1c52....@marnik.net <mailto:499c1c52....@marnik.net > >> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > Thanks a lot > > > > I need to transfer a lot of binary data and in addition I need it to > be > > as much dynamic as possible so I will try to use zend_amf then but > > without MVC structure - I think it is too much for small one-man > project > > > > Artur > > > > > > > > John Campbell wrote: > > > On Tue, Feb 17, 2009 at 5:21 PM, Artur Marnik <ar...@marnik.net > > <mailto:ar...@marnik.net>> wrote: > > >> Hi all > > >> > > >> > > >> From what I read I can use just zend_amf without the framework - > > does anyone > > >> has any experience with it? > > >> > > > > > > I have experience with amfphp, and it works as promised (no > > > experience with Zend_AMF). However, if I could do it over again, > I > > > would probably just use json / json-rpc. AMF is a really tight > > > serialization format, but it makes debugging a pain in the neck > > > because it is not human readable. AMF has some performance > > advantages > > > if you are sending loads of binary data, and it has features for > > > dynamic record sets. > > > > > > I avoid XML where possible for communicating with the client. > With > > > XML you have to write custom code to serialize and deserialize, or > > > bundle a massive soap library on the client side. > > > > > > -John Campbell > > > _______________________________________________ > > > New York PHP User Group Community Talk Mailing List > > > http://lists.nyphp.org/mailman/listinfo/talk > > > > > > http://www.nyphp.org/show_participation.php > > > > > > ------------------------------ > > > > _______________________________________________ > > talk mailing list > > talk@lists.nyphp.org <mailto:talk@lists.nyphp.org> > > http://lists.nyphp.org/mailman/listinfo/talk > > > > End of talk Digest, Vol 28, Issue 31 > > ************************************ > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > New York PHP User Group Community Talk Mailing List > > http://lists.nyphp.org/mailman/listinfo/talk > > > > http://www.nyphp.org/show_participation.php > > > ------------------------------ > > _______________________________________________ > talk mailing list > talk@lists.nyphp.org > http://lists.nyphp.org/mailman/listinfo/talk > > End of talk Digest, Vol 28, Issue 32 > ************************************ >
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php