Archive for November, 2009

Moving URIs around: how careful should I be?

Posted on 30. Nov, 2009 by guilhermesilveira.

1

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.

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

pulling all my git projects at once

Posted on 13. Nov, 2009 by guilhermesilveira.

0

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.

1

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.

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