Tag Archives: hypermedia

REST is crawling: early binding and the web without hypermedia

Posted on 22. Feb, 2010 by Guilherme Silveira.

0

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

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

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

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

Hypermedia and dynamic contracts: let my bandwidth rest!

Posted on 10. Dec, 2009 by guilhermesilveira.

10

“Break it” to scale! Many systems contain webpages that are very similar to user “custom pages”, where they can configure what they want to see, and every piece is aggregated from different sources into one single page. In some cases, those are widget based frameworks as wicket and gwt that can be added to my [...]

Continue Reading

Hypermedia: making it easier to create dynamic contracts

Posted on 08. Dec, 2009 by guilhermesilveira.

4

The human web and christmas gifts You have been buying books at amazon.com for 5 years now: typing www.amazon.com in your browser, searching for your book, adding it to the cart and entering your credit card information. But this year, on December 15th 2009 something new happens. Amazon has launched an entire new “christmas discount [...]

Continue Reading

Restfulie Java: quit pretending, start using the web for real

Posted on 25. Nov, 2009 by guilhermesilveira.

5

Its time to release Restfulie Java, offering the same power encountered in its ruby release, through the use of dynamic bytecode generation and request interception using VRaptor. Serialization framework Restfulie adopts XStream by default. Its simple usage and configuration gets even easier due to vraptor’s serialization extension built upon XStream – but it allows the [...]

Continue Reading

quit pretending, use the web for real: restfulie

Posted on 03. Nov, 2009 by guilhermesilveira.

8

Resource representation A simple resource representation in xml would be as <order> <product>basic rails course</product> <product>RESTful training</product> <price>500.00</price> </order> Note that it provides information on the order itself, as we are used to. But it lacks providing meta information on the business process: from here, I am unable to go anywhere. This resource still lacks [...]

Continue Reading