Skip to main content
nikos101
Inspiring
September 14, 2011
Question

I am ready to make the jump to restful webservices

  • September 14, 2011
  • 1 reply
  • 735 views

I am used to using amf and get and post data to interact with cfc's and cfms but now I am ready to make the jump to restful webservices. Is there much to be learned here before I make the jump?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
September 19, 2011

Since you are used to GET and POST operations, the jump is likely to be a small one. Add to that, PUT and DELETE, and you have the complete set of CRUD operations for RESTful webservices.

Aesthetically, RESTful services insist on a strict distinction between the server providing the service, and the client consuming it. However, possibly the most significant point to note is that a RESTful service is generally stateless. The client is expected to manage his own state, independent of the server. A suitable client is therefore one that can resume operation, should the server happen to stop and restart.

Another point to note is that the communication in RESTful webservices consumes much less bandwidth than in traditional webservices. The absence of overheads like SOAP headers, for example, makes RESTful services suitable for portable and mobile devices.

Inspiring
September 23, 2011

There is a great Coldfusion Meetup video that talks about best practices for creating your own RESTful web services.  Might be worth checking out:

http://www.meetup.com/coldfusionmeetup/

Inspiring
September 23, 2011

Actually, I think it was the meetup on creating your own API.  I thought I would link to it because it might be hard to track down:

http://www.meetup.com/coldfusionmeetup/events/23410261/