Archive by Author

REST maturity model

Posted on 13. Apr, 2010 by guilhermesilveira.

3

Not yet REST How do we achieve REST? Leonard Richardson’s model was widely commented and Martin Fowler posted on “Rest in Practice” (a book I recommend reading). But what is left out from REST in Richardson’s model and why? According to his model, level 3 adds hypermedia support, leveraging a system through the use of [...]

Continue Reading

Contextual links in hypermedia content

Posted on 23. Feb, 2010 by guilhermesilveira.

0

Because resource meta data is sent through http headers on the human web we usually try to think it should be done in the same way in the RESTful web. With the overall public acceptance of the Link header, I started to worry that some of the meta data that was important to dynamic resources [...]

Continue Reading

Restfulie at RailsConf 2010

Posted on 22. Feb, 2010 by guilhermesilveira.

0

Fabio Akita, from Locaweb, is presenting a session on Restfulie and becoming truly REST in Rails. With the help of Caue Guerra, George GuimarĂ£es, and many others, Restfulie is growing and implementing new features that we still expect from REST client apis. For those who are going to RailsConf this year and want to create [...]

Continue Reading

REST is crawling: early binding and the web without hypermedia

Posted on 07. Feb, 2010 by guilhermesilveira.

6

The most frequently asked question about REST in any presentation: why hypermedia is so important to our machine to machine software? Is not early binding through fixed URI’s and using http verbs, headers and response codes better than what we have been doing earlier? An approach that makes real use of all http verbs, http [...]

Continue Reading

Scaling through rest: why rest clients require cache support

Posted on 26. Jan, 2010 by guilhermesilveira.

2

It’s common to find developers struggling with their clients browser’s cache and proxies in order to get their application running as expected: some of them actually view cache options as a bad thing. Actually http caches presents a few advantages, being the two most important amongst them all the ability to serve more clients at [...]

Continue Reading

Scaling through rest: why rest clients require cache support

Posted on 24. Jan, 2010 by guilhermesilveira.

0

It’s common to find developers struggling with their clients browser’s cache and proxies in order to get their application running as expected: some of them actually view cache options as a bad thing. Actually http caches presents a few advantages, being the two most important amongst them all the ability to serve more clients at [...]

Continue Reading

Quit pretending, use the web for real: the c# client

Posted on 14. Jan, 2010 by guilhermesilveira.

1

The first post of the ‘Quit pretending, use the web for real‘ was on how one could use Restfulie for Rails to leverage its application, the second one described the same approach for a Java client and server implementation using VRaptor. This third post is a short description/annnouncement of the Restfulie C# client which has [...]

Continue Reading

Restfulie 0.5, atom feeds, content negotiation and default controllers

Posted on 07. Jan, 2010 by guilhermesilveira.

0

ATOM FEED Restfulie 0.5.0 is out and its major new feature is its support to Atom feeds with variable media types. A feed can be easily rendered by invoking the to_atom method: @hotels = Hotel.all render :content_type => ‘application/atom+xml’, :text => @hotels.to_atom(:title=>’Hotels’, :controller => self) A collection might contain entries with different media types and [...]

Continue Reading

When should I start a REST initiative

Posted on 21. Dec, 2009 by guilhermesilveira.

1

Restfulie’s release, centered on hypermedia support, got a lot of attention back to not letting go the HATEOAS idea and the old question arrives again: is it worthy to invest money or time building a fully REST system in my company? A full REST architecture imply in many choices that some prefer to leave out, [...]

Continue Reading

Transactions do not exist in a Restful world…

Posted on 17. Dec, 2009 by guilhermesilveira.

7

Due to the last posts on infoq related to Restfulie, my work at Caelum Objects involved a presentation at one client, “Beginning a REST initiative” (based on Ian’s work) and the question came up: “but how do I control transactions without a custom software stack to help me?” The answer was, “you do not need [...]

Continue Reading