Tag Archives: api
How restful results are handled in Restfulie with Rails
Posted on 14. Jun, 2010 by Guilherme Silveira.
Using a backport from a Rails 3, Restfulie responders enhance your response without you even noticing. Creating First, the new 201 support with correct headers in one cute line, supported by the created responder: @item = Item.create(params[:item]) respond_with @item, :status => :created Rendering Rendering a resource using a hypermedia based representation: @item = Item.find(params[:id]) respond_with [...]
Continue Reading
Quit pretending, use the web for real: the c# client
Posted on 14. Jan, 2010 by guilhermesilveira.
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
Hypermedia and dynamic contracts: let my bandwidth rest!
Posted on 10. Dec, 2009 by guilhermesilveira.
“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
RESTEasy: Where did the hypermedia go to?
Posted on 03. Dec, 2009 by guilhermesilveira.
Some friends have asked what are the major differences between Restfulie and RESTEasy client frameworks. Strong coupling and hypermedia awareless As of today, Resteasy requires you to create an interface mapping every resource operation to a specific method, using @VerbName and @Path annotations to specify the desired target URI. RESTEasy is ignoring the power of [...]
Continue Reading
Restfulie Java: quit pretending, start using the web for real
Posted on 25. Nov, 2009 by guilhermesilveira.
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
missing_knowledge: dynamically adding ruby methods
Posted on 09. Nov, 2009 by guilhermesilveira.
While creating restfulie we have come across a few issues related to my complete lack of mastery of the ruby meta programming features. The client’s code (hypermedia aware resource consumer) is based on ruby’s open classes and objects idea: while parsing a xml (or json) format, one can easily add specific methods to that particular [...]
Continue Reading
To break or not to break? Java 7?
Posted on 17. Aug, 2009 by guilhermesilveira.
There is a short slide show to illustrate some thoughts. There will be better ones in the near future. When is the right timing to break compatibility of a public api regarding its previous versions? Well, in the open source communites there is a common sense that a library is allowed to cause some migration [...]
SUBSCRIBE TO OUR RSS