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 Thu, 15 Oct 2009 12:21: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>
     Added two explorer implementations
          <div id="versionComment" class="noteMacro" style="display:none; padding: 5px;">
     Added two explorer implementations<br />
     </div>
          <br/>
     <div class="notificationGreySide">
         <p>Here's a quick and dirty spec for a JCR Explorer, feel free to expand/refine!</p>

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

<p>Two implementations exist:</p>
<ul>
	<li>jQuery based <a href="http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/jquery/"
rel="nofollow">http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/jquery/</a></li>
	<li>GWT based <a href="http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/gwt/"
rel="nofollow">http://svn.apache.org/repos/asf/sling/trunk/contrib/explorers/gwt/</a></li>
</ul>


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

<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=7&originalVersion=6">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