incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (Confluence)" <conflue...@apache.org>
Subject [CONF] Apache Sling > Sling IDE tooling Use Cases
Date Tue, 24 Sep 2013 22:40:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/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/Sling+IDE+tooling+Use+Cases">Sling
IDE tooling Use Cases</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~rombert">Robert
Munteanu</a>
    </h4>
        <br/>
                         <h4>Changes (0)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="SlingIDEtoolingUseCases-NewProjectfromRepository"></a>New
Project from Repository</h1>

<h2><a name="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-LinkProjectwithRepository"></a>Link
Project with Repository</h1>

<h2><a name="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-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.
	<ul>
		<li><span class="error">&#91;~jedelson&#93;</span> It'd probably
be better to phrase this in terms of performance than # of requests.</li>
	</ul>
	</li>
</ul>


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

<h2><a name="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-PullSingleFile"></a>Pull Single File</h1>

<h2><a name="SlingIDEtoolingUseCases-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="SlingIDEtoolingUseCases-PutWholeDirectory%28Recursive%29"></a>Put
Whole Directory (Recursive)</h1>

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

<p>...</p>

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

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

<p>...</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=SLING">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://cwiki.apache.org/confluence/users/editmyemailsettings.action">Change
email notification preferences</a>
</div>
        <a href="https://cwiki.apache.org/confluence/display/SLING/Sling+IDE+tooling+Use+Cases">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=31823448&revisedVersion=5&originalVersion=4">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SLING/Sling+IDE+tooling+Use+Cases?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message