jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Sling or not Sling ?
Date Mon, 17 May 2010 15:20:57 GMT
Hi,

2010/5/17 Hervé Agnoux <herve.agnoux@diaam-informatique.com>:
> ...What is the benefit of Sling ? Have you develop web site with jackrabbit and
> with / without sling, and what is your impression ?...

With Sling you "just" have to write request processing scripts (in the
language of your choice: jsp, server-side javascript, jruby, etc. or
java servlets) and store them in specific locations in the repository
to implement your application. Sling provides a RESTful HTTP interface
out of the box, and you can easily customize it - it's a web framework
built on top of a JCR repository.

With Jackrabbit only, you get the JCR API, but nothing in terms of
request handling, rendering etc. You'd have to write this or (more
likely) use the web framework of your choice.

> ...Is there something special for mobile web app in Sling ?...

Not at the moment, but so-called "selectors" (multiple extensions like
.mobile.small.html) in Sling make it easy to select alternate
renderings.

HTH, and see you on the Sling lists if you have more specific
questions about it.
-Bertrand

Mime
View raw message