Just one point to clarify: AMFPHP only supports AMF0 while ColdFusion supports the newer AMF3 specification. For those interested, Ben Forta has a good discussion on the two technologies here: http://www.forta.com/blog/index.cfm?mode=e&entry=1265
Mike --- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote: > > First, you CAN pass ValueObjects via Java and PHP. Java via OpenAMF, and PHP via AMFPHP. ColdFusion just now has the edge. > > Second, Remoting as we refer to it, allows you to: > 1. call back-end services like you'd call regular methods > 2. pass class objects instead of vanilla data (like Java POJO's), or XML or URL params for simple string / value pairs. Strong typing for server communication... pimp! > 3. allow better communication between you, the client developer, and the back-end developer on "what" you are sending eachother > 4. pass the data in binary > > So, myCFC.doStuff ( somePersonVO );. If you are sending a "Person Class" to some method, then the back-end guy knows exactly what you are really sending him. Same when he says to you, "Yeah, it'll return a list of PersonVO's." That means, you'll get an array full of Person ValueObject class instances. Finally, "usually", binary AMF communications is smaller than regular AJAX XML, WebService, and HTTP posts. > > Dave Wolf from Cynergy systems will have contentions with that 4th point, mainly because his tests with WebServices seems to have renderered good results in 1.5. Flash Player 9, however, has greatly improved upon AMF's size via AMF3 encoding, so it'd be good to hear if he has any new tests. > > ----- Original Message ----- > From: Ville Walveranta > To: [email protected] > Sent: Wednesday, July 05, 2006 7:43 PM > Subject: [flexcoders] ColdFusion vs. PHP as the back-end > > > I started my quest to explore Flex rather recently; I never did much with v1.5, mostly because the cost involved to launch any commercial solution created with it. Now, with 2.0 it's pretty exciting to see everything that is now, rather easily (and inexpensively!), possible to do. > > > > But one thing I'm not quite clear on yet: what is the difference, or benefit from, between basic remoting as is possible with PHP/CF/ASP.NET, and the extended interaction with ColdFusion which makes it possible to "pass actual instances of Actionscript Classes and have them map directly into a CFC Instances - and vice versa" (a quote from Tim Buntel's blog)? > > > > Thanks for any insights! > > > > Ville > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

