Agile Web Development with Ruby on Rails How to become a (real) Computer Scientist
2007 03 31

A nice blog entry by Dave Thomas, the author of Agile Web Development with Rails:

“Put the main application logic into a RESTful server. This is where all the CRUD-style access to resources takes place.

Then, write a second proxy server. This is an HTTP filter, sitting between dumb browsers and your core resources. When browser-based users need to interact with your resources, they actually connect to this proxy. It then talks REST to your main server, and interprets the RESTful responses back into a form that’s useful on the browser. And this filter doesn’t have to be a dumb presentation layer—there’s nothing to say that it can’t handle additional functionality as well. Things like menus, user preferences, and so on could all sit here.

[...]

Let’s call it RADAR. We have a RESTful Application talking to Dumb-Ass Recipients.”

Personally, I understand his logic. But do we really need to have two distinct applications to do that?

I’ll have to think about it.

Popularity: 1% [?]

written by avinash

Leave a Reply