Thread: PHP gurus -
View Single Post
Old 02-15-2011, 10:18 AM  
Kiopa_Matt
Confirmed User
 
Industry Role:
Join Date: Oct 2007
Posts: 1,448
Quote:
Originally Posted by qw12er View Post
Yes it does. Thanks.

I still have a question. I need to pass large amount of XML data between my flash app and my php server. For what I know of RESTful rellys on post/push http methods which have a limit of 2megs (if I'm correct).

So how do you pass large amount of data with the RESTful approach ?
The 2MB restriction is just a default PHP configuration setting, and can be easily changed. If you're going to be distributing the software, then it's a hurdle you need to solve.

Depends, is the server uploading / sending 2MB+ of data, or is the client application downloading it? If it's the latter, than no worries, and that restriction doesn't apply. If it's the former, then best I can suggest is develop your service to send a download token to the client, triggering the client to send a request and download / process whatever needed data.

And yep, I'll second REST. Stay away from WSDL / SOAP. Although, will disagree with XML not being useful though. I think it's excellent, especially with large data sets.
__________________
xMarkPro -- Ultimate Blog Network Management
Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more!
Kiopa_Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote