Quantcast
Viewing all articles
Browse latest Browse all 10

Restfulie is almost there: first beta out

Rhaiger and Ricardo Nakamura have contributed with support to formurlencoded (issue 152), now simple form posts are also supported.

In parallel, through Respondie one is capable of extending and composing behavior on resource rendering. The following example shows a simple trait that renders an etag whenever the resource responds to etag:

Respondie is a Rails Responders extension that avoids mixins and thus allows us to avoid multiple inheritance hell (at least for the end programmer: a common problem is the diamond one) and compose your responder behavior by configuring it through composition:

In order to return to thread safe mode, some objects within the DSL were changed to become immutable although not all of them have already been moved.

Restfulie features can be composed in many different ways using an interceptor stack – much similar to servlet’s filter, a chain alike pattern. This means, client programmatic configuration as:

Opensearch support is now built in and as easy as:

Several other issues were closed in this new release and we can only wait for a new release with even nicer support to Tokamak templates and partial rendering: that will make our 1.0 ship. Again, this release of Restfulie is Rails3 compatible.

There is a sample application used during the workshop at QCon San Francisco that can be found at github.


Viewing all articles
Browse latest Browse all 10

Trending Articles