Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / December 2003



Tip: Looking for answers? Try searching our database.

XML or Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dj2321 - 17 Dec 2003 19:01 GMT
I am currently in the build process of an app using .NET and using XML to talk back and forth between Flash and the Databases.  Basically .NET pages create XML feeds that I parse through in Flash for the data and display the data in a Flash front end.

Someone had suggested to me that it would be faster and easier to use Flash Remoting.  Is this true and should that be the way I go?  I have never used flash Remoting but have used XML a lot of times before and am very comfortable with it.

I know there is some slow down using XML, would Remoting make that big of a difference in displaying the data to the end user?
dutcheese - 17 Dec 2003 19:36 GMT
hi,

with remoting you can eliminate the middleman of xml and pull the database results right from the query results.  i use coldfusion and remoting and it works great.  had trouble getting sample code though and had to really read the online manuals so you would have a learning curve that will increase your production time the first time around but shorten production time in the future.

dutcheese
dj2321 - 17 Dec 2003 20:08 GMT
So I would be eliminating the need for XML then, correct?
Could I use Remoting to connect and gather data from XML?

Thanks for the help
Leland - 21 Dec 2003 15:46 GMT
check this out before you decide...

http://www.flashorb.com/articles/soap_vs_flash_remoting_benchmark.shtml

but based on the numbers there I am never using webservices again until
they fix this crap. actually i am considering taking up an entirely new
field after working with flash for 5 years now. the crap that macromedia
keeps dishing out is really getting to me at this point.

> So I would be eliminating the need for XML then, correct?
> Could I use Remoting to connect and gather data from XML?
>
> Thanks for the help
dutcheese - 22 Dec 2003 22:08 GMT
well that was one long article just to say there was a memory leak in SOAP that was fixed by a patch...

but the article, at the very end, does say "the Flash Remoting approach is by far more stable and has better performance" than SOAP.

you wouldn't use SOAP anyway...  as ASP uses AMF (action message format), not SOAP, to perform the remoting. as explained in this document...
http://livedocs.macromedia.com/flashremoting/mx/Using_Flash_Remoting_MX/intro2.h
tm#1176427


here is a quote by Tom Muck...  "..if you do have access to the server, you won't want to use SOAP..."
http://www.flash-remoting.com/articles/fr2004pt1.cfm

and here .... "The use of verbose XML in SOAP, for example, makes a web service call using SOAP about 400 percent bigger than a similar call to a Flash Remoting service, which uses a terse binary format (AMF or Action Message Format)."
http://www.oreillynet.com/pub/a/javascript/2003/09/16/flashremoting.html

and finally... here is an article that discusses asp and remoting...
http://www.macromedia.com/devnet/mx/flashremoting/articles/intro_flremoting_net.html

enjoy,
dutcheese
Leland - 26 Dec 2003 13:59 GMT
presumably fixed cheese...i haven't seen a benchmark after the update to
show that they actually did fix the leak. it has been my experience that
macromedia says a lot, but doesn't always do.

> well that was one long article just to say there was a memory leak in SOAP that was fixed by a patch...
>
[quoted text clipped - 14 lines]
> enjoy,
> dutcheese
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.