Archive by Author

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

JavaEE 6: asynchronous contexts and Ajax push

Posted on 29. Sep, 2010 by Guilherme Silveira.

0

Backend developers requireing high scalability already know the no blocking IO tricks for a while: selector, poll and epoll in Linux, kqueue in MacOS and BSD, finally I/O Completion Ports in Windows. A Renato Lucindo session at QConSP touched questions and solutions that can be implemented using those ideas. Those standards and implementations are already [...]

Continue Reading

Practice: Avoid guesses, do what is expected to be done

Posted on 11. Aug, 2010 by Guilherme Silveira.

1

Symptom: faced with two possibilities because the client did not let his desire clear enough, one path is chosen and it is often the wrong one. After delivering a new functionality, the client is the one who is going to test, approve and use it. Because it is difficult for developers to think as their [...]

Continue Reading

Rest in C# with Restfulie

Posted on 12. Jul, 2010 by Guilherme Silveira.

1

Mauricio Aniche with contributions from Pedro Reys and Felipe Seixas have released the Restfulie’s C# Server 0.5 support on top of Asp.Net Mvc 2. As new versions of Restfulie come up, it becomes more clear which extension points are important and should be easy to be used, the media type and http results are two [...]

Continue Reading

Practice: Favor finishing a story over starting a new one

Posted on 11. Jul, 2010 by Guilherme Silveira.

0

Symptom: Right before your development cycle finishes, which can be an iteration, a sprint or anything similar, all stories are marked as finished, giving a feeling of complete success. During the review meeting, when the Product Owner verifies what has been done, the number of approvals is extremely low: most of the stories are rejected. [...]

Continue Reading

How restful results are handled in Restfulie with Rails

Posted on 14. Jun, 2010 by Guilherme Silveira.

0

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

Rest from scratch – Part 2

Posted on 20. May, 2010 by Guilherme Silveira.

0

This 20 minutes video shows how to move from a basic REST api to one which makes use of linked resources and adds semantic values to those links. Rest from Scratch – part 2 from Caelum on Vimeo. Did your REST api do that already? Great. Otherwise, it’s time to move ahead and decouple a [...]

Continue Reading

REST from scratch

Posted on 29. Apr, 2010 by Guilherme Silveira.

1

This is the first post on a series of examples on how to use Rails and Restfulie on the server side and Restfulie and Mikyung on the client side to create REST based architectures. On this 10 minutes video you will learn how it is possible to make several representations of one resource available on [...]

Continue Reading

Buying through REST: applying REST to the Enterprise

Posted on 19. Apr, 2010 by Guilherme Silveira.

0

REST was a research result that left us with an open question, as its researcher suggested: it beautifully solves a lot of problems, but how to apply it on contemporary concerns that enterprise have? REST Applied After many talks, I have summed up a model, derived from REST constraints, that allows one to measure how [...]

Continue Reading

REST maturity model

Posted on 19. Apr, 2010 by Guilherme Silveira.

3

Not yet REST How do we achieve REST? Leonard Richardson’s model was widely commented and Martin Fowler posted on “Rest in Practice” (a book I recommend reading). But what is left out from REST in Richardson’s model and why? According to his model, level 3 adds hypermedia support, leveraging a system through the use of [...]

Continue Reading