Hi Sébastien,

Thanks for the feed-back. I have just updated the "bin/readme.txt" file to
indicates more precisely what the scripts where doing, on which port the
HTTP server was listening. I have also converted the "restlet.sh" script to
use Unix line feeds instead of DOS ones.

Concerning the comparison with Rails and django, it is always hard to make
fair comparisons, especially when you are from one side and when you don't
have an intimate knowledge of other sides. My general feeling is that Rails
and django where not built with REST principles at their core. For RoR,
those principles were retrofitted in 1.2. For django, there are not at their
1.0 version yet, but they don't have any specific REST support even though,
as a generic Web framework it can perfectly be used to build RESTful
applications.

More specifically, RoR 1.2 supports RESTful design but with many constraints
on the database schema and on the URI structures. django don't support URI
templates natively, you need to manually convert them to Regex expressions.
Also, if you want to enable HTTP caching or authentication, you have to
manually set the "Last-modified" or "WWW-Authenticate" headers. In general,
those frameworks also assume that you are using a RDBMS to persist your
resources.

On the other hand, the Restlet project was explicitly built with REST
concepts in mind and has natural support for all the above mentioned
features and many more like transparent content negotiation, automatic
support of PUT/DELETE method when exposing a directory as resources
(mini-WebDAV mode). Also, it doesn't impose any persistence solution for
your resources.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Sébastien Pierre [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 1 mars 2007 22:44
> À : [email protected]
> Objet : Re: Problems running Restlet on OSX
> 
> 
> Le 07-03-01 à 16:37, Thierry Boileau a écrit :
> 
> > Ooops, sorry if my answer sounds a bit condescending, because that  
> > was really not my intention.
> 
> No problem, thanks :)
> 
> I was wondering... did you have a look at popular frameworks such as  
> Rails and Django ? I would be curious to hear about how you position  
> Restlet compared to these ones. I personally feel that there is a  
> cultural difference between the Java and the Python/Ruby 
> communities.  
> While Java is more industrial (and sometimes heavyweight) the  
> approach of the Python/Ruby crowd is more lightweight... as Restlet  
> seems to me as rather lightweight (and so does Simple), I would be  
> pleased to know more about its inception and your approach to 
> web app  
> development...
> 
> Cheers,
> 
>   -- Sébastien=

Reply via email to