peknet :: an eddy in the bit stream         
about peknet


peknet is Peter E Karman. you'll find here musings on technology, politics, religion, books, beer and frequent references to my beautiful sons.

navigate

credits

Powered by Swish-e

Valid CSS!

proud member of the
Open Source Community

© 2005 peknet dot com

syndicate this site

REST

No, it's not what I suffer from the lack of (as in sleep). It's Representational State Transfer. It's been a buzzword for a few years now. I'm just now reading about it, and thought I would include some highlights here for my own reference.

Read all about it.

From the URL above, REST exhibits the following characteristics:
  • Client-Server: a pull-based interaction style: consuming components pull representations.
  • Stateless: each request from client to server must contain all the information necessary to understand the request, and cannot take advantage of any stored context on the server.
  • Cache: to improve network efficiency responses must be capable of being labeled as cacheable or non-cacheable.
  • Uniform interface: all resources are accessed with a generic interface (e.g., HTTP GET, POST, PUT, DELETE).
  • Named resources - the system is comprised of resources which are named using a URL.
  • Interconnected resource representations - the representations of the resources are interconnected using URLs, thereby enabling a client to progress from one state to another.
  • Layered components - intermediaries, such as proxy servers, cache servers, gateways, etc, can be inserted between clients and resources to support performance, security, etc.
Trying to make my CatalystX::CRUD project more RESTful.

If I needed to explain REST to my wife, I could refer her to this.

The Wikipedia CRUD article maps the RESTful verbs to CRUD and SQL actions like so:



Operation SQL HTTP
Create INSERT POST
Read (Retrieve) SELECT GET
Update UPDATE PUT
Delete (Destroy) DELETE DELETE


However, important to note that REST != CRUD.

File under projects Tue Oct 16 09:45:33 CT 2007


2008 entries » 2007 entries » 2006 entries » 2005 entries » 2004 entries »
« July  August 2008  Sept »
Sun Mon Tue Wed Thu Fri Sat
         
           
weather
Saint Paul, MN
68 F (20 C)
Fair

Sunrise/Sunset
Updated:
Aug 28, 10:53 pm CDT

worth reading