incubator-sling-commits mailing list archives

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

<p>Two implementations exist:</p>
<ul>
	<li><a href="http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/jquery/"
rel="nofollow">jQuery based</a>. <a href="https://issues.apache.org/jira/browse/SLING-993"
rel="nofollow">https://issues.apache.org/jira/browse/SLING-993</a> contains a screenshot.</li>
	<li><a href="http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/gwt/"
rel="nofollow">GWT based</a>. <a href="https://issues.apache.org/jira/browse/SLING-990"
rel="nofollow">https://issues.apache.org/jira/browse/SLING-990</a> contains a screenshot.</li>
</ul>


<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="http://www.jcr-explorer.org/" rel="nofollow">JCR-Explorer</a>
but that software seems to be somewhat dead. To use it with Sling see: <a href="http://grep.codeconsult.ch/2009/01/06/using-the-jcr-explorer-with-sling/"
rel="nofollow">Using the JCR-Explorer with Sling</a> and <a href="https://issues.apache.org/jira/browse/SLING-513"
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
tree.</p>

<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 dojo.data 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 dojo.data API, backend by a REST store, using SOFEA
approach: <a href="http://www.persvr.org/explorer.html" rel="nofollow">http://www.persvr.org/explorer.html</a></p>

<p>~ Hendy Irawan</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/SLING/Sling-based+JCR+explorer">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=83946&revisedVersion=8&originalVersion=7">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/SLING/Sling-based+JCR+explorer?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message