Archive for the year 2009
When should I start a REST initiative
Posted on 21. Dec, 2009 by guilhermesilveira.
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.
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.
“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.
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
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
Moving URIs around: how careful should I be?
Posted on 30. Nov, 2009 by guilhermesilveira.
Entry Points In the human web, the entry point is a strong coupled URI. Changing your company’s entry point from www.caelum.com.br to www.newcaelum.com.br without notifying your clients will cause serious damages to those using your website. The same holds for REST applications. Entry points to your system are strong coupled and changing it without notifying [...]
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
pulling all my git projects at once
Posted on 13. Nov, 2009 by guilhermesilveira.
This is a short post for those who, like me, work offline at several projects during your weekend. We have released a small command line tool that helps you sync all your master branches at once, by just running one command, all your repositories will be pulled again (and come back to your current branch, [...]
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
quit pretending, use the web for real: restfulie
Posted on 03. Nov, 2009 by guilhermesilveira.
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 [...]
SUBSCRIBE TO OUR RSS