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 > Use Cases
Date Tue, 11 Jun 2013 15:07:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=SLING&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SLING/Use+Cases">Use
Cases</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~rombert">Robert
Munteanu</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        Added my notes on automatic sync repo -&gt; workspace<br />
    </div>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* The time delay should not degrade
noticeably with a subtree containing large numbers of files. <br>* Changes made in the
repository should be reflected in the IDE with the same latency as from the IDE to the repository.
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">**
[~rombert] - I am of the opinion that changes in the repository should only be manually pulled
in the IDE, not automatically. What is there&#39;s a file I&#39;m working on ( unsaved
) and a repository change happens for that file? <br></td></tr>
            <tr><td class="diff-unchanged" >* Ideally it should be possible to
edit repository properties within the IDE. <br>* For IDE development, it is *not* a
requirement to support a remote Sling server that does not have access to the same file system
the IDE has access to. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="UseCases-NewProjectfromRepository"></a>New Project
from Repository</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>As a developer with a running Sling instance, I can create a local project in my
IDE by extracting content from my running instance.</p>

<h3><a name="UseCases-ImplementationNotes"></a>Implementation Notes</h3>

<p>In Eclipse, this would be an Import wizard, somewhat similar to the way you can create
a project by checking out from source control.</p>

<h1><a name="UseCases-LinkProjectwithRepository"></a>Link Project with Repository</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>As a developer with a project (on local disk storage) in my IDE, I can link that
project with a running Sling instance.</p>

<h3><a name="UseCases-MainRequirements"></a>Main Requirements</h3>

<p>For UI developers interacting with content in the repository it is critical that
their development workflow does not get interrupted. In general UI work becomes hard if not
impossible if there are delays of more than a few seconds between editing a page and viewing
it in the browser.</p>

<ul>
	<li>Time delay between editing a file in the IDE and seeing the results in the browser
must be less than the time it takes to switch between IDE and browser and refresh.</li>
	<li>Once the environment is setup, the only action that should be necessary to re-deploy
a change from IDE to the running server should be to save the file in the IDE.</li>
	<li>Environment setup should be simple only requiring a few steps.</li>
	<li>The time delay should not degrade noticeably with a subtree containing large numbers
of files.</li>
	<li>Changes made in the repository should be reflected in the IDE with the same latency
as from the IDE to the repository.
	<ul>
		<li><a href="/confluence/display/~rombert" class="confluence-userlink" data-username="rombert"
>Robert Munteanu</a> - I am of the opinion that changes in the repository should
only be manually pulled in the IDE, not automatically. What is there's a file I'm working
on ( unsaved ) and a repository change happens for that file?</li>
	</ul>
	</li>
	<li>Ideally it should be possible to edit repository properties within the IDE.</li>
	<li>For IDE development, it is <b>not</b> a requirement to support a remote
Sling server that does not have access to the same file system the IDE has access to.</li>
</ul>


<h3><a name="UseCases-ImplementationNotes"></a>Implementation Notes</h3>

<p>In Eclipse, this would be something like adding a Nature to a Project.</p>

<ul>
	<li>The integration should not require 1000s of http requests to achieve the requirements
above.</li>
</ul>


<h1><a name="UseCases-PutSingleFile"></a>Put Single File</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>As a developer with a project in my IDE which is linked to a Sling instance, I can
upload a single file to that running instance.</p>

<h1><a name="UseCases-PullSingleFile"></a>Pull Single File</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>As a developer with a project in my IDE which is linked to a Sling instance, I can
pull a single file from that running instance.</p>

<h1><a name="UseCases-PutWholeDirectory%28Recursive%29"></a>Put Whole Directory
(Recursive)</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>...</p>

<h1><a name="UseCases-PullWholeDirectory%28Recursive%29"></a>Pull Whole
Directory (Recursive)</h1>

<h2><a name="UseCases-Description"></a>Description</h2>

<p>...</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/SLING/Use+Cases">View Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=31823448&revisedVersion=3&originalVersion=2">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SLING/Use+Cases?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message