There are a couple but none are comprehensive.

 

The ones of note are 

-          Flickr actionscript API's on google which are nice if you
need to see both the API and a number of comprehensive ways they are
used. I would rate them "ok":

-          Arc90restlib - is more of a pattern then a nitty-gritty REST
library. 

 

Ultimately we didn't use either as we are proponents of a strong factory
pattern as well as the fact that we use REST in order to interact nicely
with our load balancers/caching servers and we needed a strong
multi-part form binary upload capability. We ended up writing our own
REST implementation. You have to  also remember in the AMF/FDS world you
get some native error handling since the technologies on either end can
be aware of each others that you have to build yourself in REST. 

 

The biggest word of caution using any external API set is to evaluate
error handling as a majority of library distributions focus on the
"Happy Path" and either ignore or gloss over when things go poorly. It
really doesn't give your application a chance to gracefully recover if
the only error you get back is "Oh Crap". HTTP by nature empowers the
application to respond differently to the range of HTTP errors it
generates so with a REST library, it's your responsibility to account
for a permissions issue differently than a server error.

 

KFB

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bryancostanich
Sent: Wednesday, September 03, 2008 8:35 PM
To: [email protected]
Subject: [flexcoders] REST Library for Flex or ActionScript?

 

Anyone know of a good REST library for AS3? I've done some research
and come up empty. on cursory research, i'm not even sure it's
possible to do it properly e.g.:
http://www.atnan.com/2007/6/11/can-as3-do-rest-or-not

anyone?

 

Reply via email to