Archive for 'soa'

Hypermedia and dependency injection: a lesson not to be forgotten

Posted on 01. Oct, 2010 by Guilherme Silveira.

2

Developers always desire to break their system into components, which typically comes with a tendency to identify those components by names. Well known unique identification is vital, one thinks With the Internet growing fast in the 21th century, distributed systems started to use URIs to identify components on the network instead of simple IDs. That [...]

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

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