incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Sling > Sling-based JCR explorer
Date Fri, 16 Oct 2009 12:17:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=SLING&amp;forWysiwyg=true"
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="">Sling-based
JCR explorer</a></h2>
     <h4>Page <b>edited</b> by             <a href="">Andreas
     <div class="notificationGreySide">
         <h1><a name="Sling-basedJCRexplorer-Implementations"></a>Implementations</h1>

<p>Two implementations exist:</p>
	<li><a href=""
rel="nofollow">jQuery based</a>. <a href=""
rel="nofollow"></a> contains a screenshot.</li>
	<li><a href=""
rel="nofollow">GWT based</a>. <a href=""
rel="nofollow"></a> contains a screenshot.</li>

<p>While I was able to build the jQuery based bundle using Maven but I got errors for
the GWT based one.</p>

<p>There also exists <a href="" rel="nofollow">JCR-Explorer</a>
but that software seems to be somewhat dead. To use it with Sling see: <a href=""
rel="nofollow">Using the JCR-Explorer with Sling</a> and <a href=""
rel="nofollow">How to run the JCR Explorer with Sling?</a>.</p>

<h1><a name="Sling-basedJCRexplorer-Requirements"></a>Requirements </h1>

<p>Here's a quick and dirty spec for a JCR Explorer, feel free to expand/refine!</p>

<p>More or less in priority order:</p>

<p>Visualize the nodes of the JCR repository in a tree view, and/or in a search view
with a search box at the top and a list of matching Nodes below.</p>

<p>Display all the details of a Node or Property: type, mixins, value, and later locking
status, versions, etc.</p>

<p>Provide RESTful URLs to access each Node and Property.</p>

<p>Allow Nodes and Properties to be created, updated, deleted, and moved around the

<p>When creating a Node, allow its nodetype to be specified.</p>

<p>Allow mixins to be added to a Node later on.</p>

<p>Handle the JCR Session save/abort concept, where a number of changes to Nodes and
Properties are only saved when explicitely actioning a "save" command.</p>

<p>Later, use OSGi-based plugins to edit Property values.</p>

<p>The JCR explorer has to be usable for pure JCR repositories (non-Sling), even though
the explorer itself would run under Sling (use cases : display the list of available repositories,
add/delete/update a new JCR repo, ...).</p>

<h1><a name="Sling-basedJCRexplorer-TechnicalIssues"></a>Technical Issues</h1>

<p>Select a good UI framework : Jquery, YUI or GWT ? </p>

<p>I would vote for Dojo. It has a API (similar purpose to JDO/JPA+beansbinding),
that can be used to connect to Sling using HTTP, and to the widgets using data binding. Hopefully
Sling can also expose a "standard protocol" that can be used with Dojo's JsonRestStore.</p>

<p>Example of a Dojo app, using API, backend by a REST store, using SOFEA
approach: <a href="" rel="nofollow"></a></p>

<p>~ Hendy Irawan</p>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>

       <a href="">View
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message