Okay so as I understand it, it is not possible for Flex (or Flash) by itself
to be RESTful "out of the box". This is possibly due to Flash Player working
to the lowest common denominator of browsers some of which do not support
the full RESTful methods (namely PUT and DELETE).

This however isn't necesscarily a show-stopper as various workarounds exist,
some of which rely on using a proxy to translate the request into the
appropriate method and some of which are purely client side workarounds such
as passing the request to javascript or there may be the possibility of
using some form of socket?

If given a RESTful api to work with, with no control over the service, has
anyone tackled a project of this type and to what degree of success?

Alternatively, if you did have control over the service what are the
drawbacks of just allowing GET and POST requests for everything and not
making use of PUT and DELETE? is it just a case that you're not using the
most cohesive interface possible but you have no restriction on
functionality or are there other considerations?

Apologies, but before this I had never really given REST/RESTful any thought
or consideration so this is all new territory for me.

Dan


2009/9/2 claudiu ursica <the_bran...@yahoo.com>

>
>
> TO go RESTfull you'll have to use all teh methods like GET, POST, PUT,
> DELETE, which is kind of hard to do. You probably end up using lots of post
> from flex, even instead of get... You still can build the REST api and use
> it like that only with GET and POST... not 100% rest but will work...
>
> C
>
>
>
> ------------------------------
> *From:* DannyT <danmo...@googlemail.com>
> *To:* flexcoders@yahoogroups.com
> *Sent:* Wednesday, September 2, 2009 2:55:31 PM
> *Subject:* [flexcoders] Flex and REST
>
>
>
> Can anyone give me the definitive answer to whether you can build REST
> based apps with Flex? There seems to be an incredible amount of FUD about
> the topic and whilst I appreciate it might not be supported in it's purest
> form I need to know what is involved in supporting a full REST
> implementation.
>
> I have no experience with REST but we're in the position that a client is
> going to implement a RESTful service for us to build a Flex application
> against. If it will 'just work' then great, if not I need to educate them as
> to any considerations/ workarounds necesscary on the service side of things.
>
> Can anyone offer any advice?
>
> Cheers,
> Dan
>
> --
> http://danny-t.co.uk
>
>  
>



-- 
http://danny-t.co.uk

Reply via email to