On Jan 11, 2008 6:41 AM, paksegu <[EMAIL PROTECTED]> wrote:
> ...Is safe to base my assumptions that Sling apps deals with Hypermedia files
> (html, js, jsp) mainly
> script files stored in jcr or contents such as article having a node with is
> associated properties, and
> Sling sort of executes these files or grabs this content from the nodes. Is
> that correct?...
Sling processes requests by first locating ("resolving") a Resource,
which is a JCR node, or a Java object mapped via OCM from a JCR node.
A JCR node can contain pretty much any kind of data, in its JCR
Properties or in child Nodes: text, binary data, files, etc.
Then, Sling selects either a Script or a Servlet to process and render
the Resource.
Scripts and Servlets are located ("resolved") by navigating the JCR
repository, based on the Resource type, which for JCR nodes is the
value of the Node's sling:resourceType property, or is based on the
JCR node type if that property is absent. The priorities used in this
resolution are defined by the active ServletResolver.
Hope this helps,
-Bertrand