<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Orion News</title>
	<atom:link href="http://planetorion.org/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetorion.org/news</link>
	<description>News for the Eclipse Orion project</description>
	<lastBuildDate>Tue, 16 Apr 2013 19:55:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Orion 3.0 M1 – New and Noteworthy</title>
		<link>http://planetorion.org/news/2013/04/orion-3-0-m1-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2013/04/orion-3-0-m1-new-and-noteworthy/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 17:50:39 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=404</guid>
		<description><![CDATA[This week the Orion project released its latest milestone, 3.0 M1. Check it out now on OrionHub, or download your own server. Find out below what the Orion development team has been up to. EclipseCon experience The Orion team had &#8230; <a href="http://planetorion.org/news/2013/04/orion-3-0-m1-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This week the Orion project released its latest milestone, 3.0 M1. Check it out now on <a href="http://orionhub.org">OrionHub</a>, or <a href="http://download.eclipse.org/orion/drops/S-3.0M1-201304161030/index.html">download your own server</a>. Find out below what the Orion development team has been up to.</p>
<h3 id="eclipsecon">EclipseCon experience</h3>
<p>The Orion team had a great week at <a href="http://planetorion.org/news/2013/03/orion-at-eclipsecon-boston-2013/">EclipseCon 2013</a>, where we gave several talks and a tutorial, and attended several other great talks about what other people are building with Orion. Based on that experience, it is clear the biggest recent feature of Orion is <b>adoption</b>. While we had some significant early adopters, mostly notably by <a href="https://blog.mozilla.org/blog/2012/01/31/firefox-adds-powerful-new-developer-tools/">Firefox</a>, there is clearly now a bigger adoption wave going on, with several major companies showing compelling prototypes of Orion-based tools. The variety of projects is also quite interesting, from <a href="http://www.slideshare.net/marcgille7/stardust-orion-integration-orion-soa-symposium-eclipse-con-2013">business process tools</a> to <a href="http://www.eclipsecon.org/2013/sessions/enterprise-strikes-back-towards-continuous-delivery-and-devops-hp-software">agile developer tools</a>. In the Orion symposium, we saw examples of both the Java and JavaScript Orion servers in action, early exploration of <a href="http://holgerschill.blogspot.ca/2012/11/xtext-in-web.html">Xtext integration</a>, and even embedding of Orion in a JavaFX application.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shirt.jpg"><img src="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shirt.jpg" alt="30m1-shirt" width="400" height="331" class="alignnone size-full wp-image-411" /></a></p>
<h3 id="server-scalability">Orion Java server scalability</h3>
<p>Orion continues to ship both Java and JavaScript variants of the server side infrastructure. We believe both server implementations are important, as each one has quite different characteristics and excels in particular use cases. Having multiple servers also helps to prove that our Orion client architecture is flexible and doesn&#8217;t build in any assumptions about server side technologies.</p>
<p>While much of our focus in 2.0 was on the new JavaScript server, in the 3.0 release we are doing extensive work on the Java server. In particular we are investigating what it will take to scale it out to much larger deployments, identifying bottlenecks and weak points in the architecture and implementation. In 3.0 M1 we have been working on a <a href="http://wiki.eclipse.org/Orion/Plan/3.0/Server_scalability">scalability roadmap</a> for the Orion server, and have started work on tackling some of the most pressing scalability problems. </p>
<p>We have also embarked on enabling deployment of the Orion server as a <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=377823">WAR file</a>, and rewriting our Orion server build <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=399023">to use Maven/Tycho</a>. These are all long-running work areas that will carry forward into future milestones and releases.</p>
<h3 id="standalone-compare">Standalone compare widget</h3>
<p>The Orion compare editor is now available as a separately consumable build for easier deployment into your web pages. This follows the same pattern we introduced with the <a href="http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/">standalone editor</a> earlier this year. The built compare editor is not yet available directly from the Orion download page, but for now you can see directions and a download on the <a href="http://wiki.eclipse.org/Orion/How_Tos/Compare_widget_Build">Orion wiki</a>. There is more information on compare editor embedding in <a href="http://libing-wang.blogspot.ca/2013/04/embed-orion-compare-widget-into-your.html">Libing Wang&#8217;s blog post</a>.</p>
<h3 id="linkedMode">Editing groups in linked mode</h3>
<p>Support has been added to the Orion editor to allow editing groups in linked mode. This is useful for users who need to edit multiple locations at the same time. </p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/04/linked_groups.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/04/linked_groups.png" alt="linked_groups" width="397" height="155" class="alignnone size-full wp-image-406" /></a></p>
<p>You can try this out below by requesting a content assist on <code>for</code> (select <em>for &#8211; iterate over array with local var</em>) and then renaming the <code>i</code> variable:</p>
<pre class="editor" data-editor-lang="js" data-editor-theme="http://eclipse.org/orion/editor/releases/3.0/themes/prospecto.css">
/* Type for and hit control space for content assist*/


</pre>
<h3 id="linkedMode">Generic template content assist support</h3>
<p>Generic template support has been implemented for content assist. Templates support variable editing where each variable is enclosed in ${}.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/04/contentassist_generic_templates.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/04/contentassist_generic_templates.png" alt="contentassist_generic_templates" width="475" height="102" class="alignnone size-full wp-image-405" /></a></p>
<h3 id="shell-custom-types">Shell page custom types</h3>
<p>Work has been done to enable plug-ins to contribute custom parameter types to the <b>Shell</b> page, which can then be used in commands.  This improves command semantics and enables dynamic computation of content assist proposals (see <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=379312#c3">current example</a>, subject to refinement in 3.0 M2).</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shell-custom-types.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shell-custom-types.png" alt="30m1-shell-custom-types" width="324" height="113" class="alignnone size-full wp-image-408" /></a></p>
<h3 id="shell-delegated-ui">Shell page delegated UI</h3>
<p>Commands contributed to the <b>Shell</b> page can now provide a delegated UI to interact with the user during execution. In the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=402663#c1">example</a> below, a <tt>login</tt> command is prompting the user for credentials with a custom input field.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shell-delegated-ui.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/04/30m1-shell-delegated-ui.png" alt="30m1-shell-delegated-ui" width="542" height="185" class="alignnone size-full wp-image-409" /></a></p>
<p>That&#8217;s all for this milestone! Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/04/orion-3-0-m1-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use the Orion Editor in your blog</title>
		<link>http://planetorion.org/news/2013/03/use-the-orion-editor-in-your-blog/</link>
		<comments>http://planetorion.org/news/2013/03/use-the-orion-editor-in-your-blog/#comments</comments>
		<pubDate>Mon, 18 Mar 2013 14:42:49 +0000</pubDate>
		<dc:creator>Bogdan Gheorghe</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=374</guid>
		<description><![CDATA[As a quick follow up to the last post, we thought it would be worthwhile to mention 2 ways on how to embed the Orion editor in your blog. Depending on whether you want to make the editor always available &#8230; <a href="http://planetorion.org/news/2013/03/use-the-orion-editor-in-your-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As a quick follow up to the last post, we thought it would be worthwhile to mention 2 ways on how to embed the Orion editor in your blog. Depending on whether you want to make the editor always available for use on your blog, you can select to add the code either in the header or run it inline.</p>
<h2>Header</h2>
<p>If you are planning on posting lots of code to your blog, you might be better off in including your code in the header of your site. This is what we did for the planetorion.org site &#8211; which is a WordPress blog. We will also take a look at how to embed it in a Blogger site.</p>
<h3>WordPress</h3>
<p>To add the editor to you WordPress blog (assuming you have the necessary permissions to modify the blog), from the Dashboard select Appearance&gt;Editor.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/03/editorAppearance.png"><img class="alignnone size-medium wp-image-390" alt="editorAppearance" src="http://planetorion.org/news/wp-content/uploads/2013/03/editorAppearance-300x205.png" width="300" height="205" /></a></p>
<p>This will bring you to the Edit Themes page. From the Templates list on the right hand side, select &#8220;Header&#8221;. This will bring up the header.php code where we will insert the code for the editor.</p>
<p>Locate the last php tag before the closing <code>&lt;/head&gt;</code> tag in the header.php &#8211; the php tag will contain the call to <code>wp_head()</code> &#8211; the orion editor code should be copied before the php tag.</p>
<p>Here is the code we used:</p>
<pre class="editor" data-editor-lang="js" data-editor-readonly="true">
&lt;!-- Orion Editor start--&gt;<br /><br />&lt;!-- Global version --&gt;<br />&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://eclipse.org/orion/editor/releases/3.0/built-editor.css&quot;/&gt;<br />&lt;script src=&quot;http://eclipse.org/orion/editor/releases/3.0/built-editor.js&quot;&gt;&lt;/script&gt;<br />&lt;script&gt;<br />	if (window.addEventListener) {<br />		window.addEventListener('load', function() {<br />			require([&quot;orion/editor/edit&quot;], function(edit) {<br />				edit({className: &quot;editor&quot;});<br />			});<br />		}, false);<br />	}<br />&lt;/script&gt;<br /><br />&lt;!-- AMD version --&gt;<br />&lt;!--<br />&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://eclipse.org/orion/editor/releases/3.0/built-editor.css&quot;/&gt;<br />&lt;script src=&quot;http://requirejs.org/docs/release/2.1.4/minified/require.js&quot;&gt;&lt;/script&gt;<br />&lt;script&gt;<br />	require([&quot;http://eclipse.org/orion/editor/releases/3.0/built-editor-amd.min.js&quot;], function(edit) {<br />		edit({className: &quot;editor&quot;});<br />	});<br />&lt;/script&gt;<br />--&gt;<br /><br />&lt;style&gt;<br />pre.editor{<br />	padding: 0px;<br />	border: 1px solid lightgrey;<br />}<br />&lt;/style&gt;<br />&lt;!-- Orion Editor end--&gt;</pre>
<p>Two quick comments on the code. First of all we reference the <code>2.0</code> release in the code as it is the current stable release. If you want to live on the cutting edge, you can replace the <code>2.0</code> with <code>3.0</code> in all places to get the latest good build from the development stream. Second, notice that both versions of the build are included in the above snippet (although one is commented out) &#8211; use whichever one you prefer. You can also choose to modify the classname to something else &#8211; you just have to make sure to use the new name. For example if you change the classname in the header to:</p>
<pre class="editor" data-editor-lang="js" data-editor-readonly="true">//...snip ...
edit({className: "orionEditor"});
//... snip ...</pre>
<p>all uses of the editor in your blog posts would then need to use this new name:</p>
<pre class="editor" data-editor-lang="html" data-editor-readonly="true">&lt;pre class="orionEditor" data-editor-lang="js"&gt;
/*
 * This is an Orion editor sample.
 */
function() {
}
&lt;/pre&gt;</pre>
<h3>Blogger</h3>
<p>The same idea applies to Blogger blogs &#8211; if you want to be able to use the editor in all of your posts, you should put the code in the header. To get to the right place, select Template from the right hand side, and then click on the Edit HTML button to bring up the template.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/03/bloggerEditor.png"><img class="alignnone size-medium wp-image-393" alt="bloggerEditor" src="http://planetorion.org/news/wp-content/uploads/2013/03/bloggerEditor-300x213.png" width="300" height="213" /></a></p>
<p>We used the exact same code that we put in the WordPress header and we pasted it right before the closing <code>&lt;/head&gt;</code> tag.</p>
<h3>Using the Editor</h3>
<p>Once you have added the editor code to your header files, you can use it anywhere in your blog by simply adding the <code>class="editor"</code> attribute to either a pre or div in your code that contains the code you want displayed in the editor.</p>
<h2>Inline</h2>
<p>If you just want to get a standalone snippet that you can use in your blog or on a page, Ken wrote a <a href="http://kenwalker.github.com/snippet/Snippet.html" target="_blank">useful plugin</a> you can install into your <a href="http://orionhub.org" target="_blank">OrionHub account</a> that will generate a standalone snippet for you right from your editor.</p>
<p>To install it, click on Get Plugins in the top Orion bar, and then click Install next to the Snippet plugin.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/03/getPlugins.png"><img class="alignnone size-medium wp-image-395" alt="getPlugins" src="http://planetorion.org/news/wp-content/uploads/2013/03/getPlugins-300x45.png" width="300" height="45" /></a></p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/03/snippetPlugin.png"><img class="alignnone size-medium wp-image-396" alt="snippetPlugin" src="http://planetorion.org/news/wp-content/uploads/2013/03/snippetPlugin-300x208.png" width="300" height="208" /></a></p>
<p>Once it&#8217;s installed you can open an editor instance and you will see a new Snippet button at the top of the editor. Select the code that you want to paste into your blog, hit the Snippet button and you will get a piece of selected code that&#8217;s ready to be copied into your blog (don&#8217;t forget to hit Ctrl+Z afterwards to get back your original editor contents).</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/03/snippetJS.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/03/snippetJS-300x140.png" alt="snippetJS" width="300" height="140" class="alignnone size-medium wp-image-398" /></a></p>
<p>- Bogdan &#038; Silenio</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/03/use-the-orion-editor-in-your-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orion at EclipseCon Boston 2013</title>
		<link>http://planetorion.org/news/2013/03/orion-at-eclipsecon-boston-2013/</link>
		<comments>http://planetorion.org/news/2013/03/orion-at-eclipsecon-boston-2013/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 18:16:14 +0000</pubDate>
		<dc:creator>Ken Walker</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=394</guid>
		<description><![CDATA[The EclipseCon Conference in Boston is shaping up to be a great one overall and really interesting for those using or looking to use Orion. There&#8217;s a tutorial, hackathon, many information sessions and a BOF Wednesday night. 14 opportunities to &#8230; <a href="http://planetorion.org/news/2013/03/orion-at-eclipsecon-boston-2013/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The EclipseCon Conference in Boston is shaping up to be a great one overall and really interesting for those using or looking to use Orion.  There&#8217;s a tutorial, hackathon, many information sessions and a BOF Wednesday night. 14 opportunities to engage with developers leveraging and contributing to Orion.</p>
<p>Hope you can join us at some of the sessions, <a href="https://twitter.com/kwalker" title="Ken Walker on Twitter">Ken</a> &#038; <a href="https://twitter.com/skaegi" title="Simon Kaegi on Twitter">Simon</a>, Co-leads on the Orion Project. Follow the updates <a href="https://twitter.com/orionhub" title="Orion Project on Twitter">@orionhub</a>.</p>
<p><a href="http://codesprintboston1.eventbrite.com" title="Code Sprint">Code Sprint</a> &#8211; Saturday and Sunday at the Seaport<br />
<a href="http://www.eclipsecon.org/2013/sessions/soa-track" title="Stardust Browser Modeler">SOA Symposium (Stardust Browser Modeler)</a> 25 March 09:00-12:00<br />
<a href="http://www.eclipsecon.org/2013/sessions/cloud-formation-developing-real-world-software-cloud-orion" title="Orion Tutorial">Orion Tutorial</a> 25 March 13:00-16:00<br />
<a href="http://www.eclipsecon.org/2013/raspberry-pi-and-eclipse-hackathon-0" title="Raspberry Pi Hackathon EclipseCon">Raspberry Pi Hackathon</a> 25 March 20:00-21:00<br />
<a href="http://www.eclipsecon.org/2013/sessions/reconnecting-our-developer-community" title="Fully Hosted Software Development with Orion">Fully Hosted Software Development with Orion</a> 26 March 13:30-14:05<br />
<a href="http://www.eclipsecon.org/2013/sessions/enterprise-strikes-back-towards-continuous-delivery-and-devops-hp-software" title="Deploying Orion for cloud-based development in the enterprise">Deploying Orion for cloud-based development in the enterprise</a> 27 March 14:15-14:50<br />
<a href="http://www.eclipsecon.org/2013/sessions/orion-symposium-how-utilize-orion-community" title="An Orion Symposium - How to utilize Orion in the Community">An Orion Symposium &#8211; How to utilize Orion in the Community</a> 27 March 17:00-18:00<br />
<a href="http://www.eclipsecon.org/2013/ibm-bof" title="Orion BoF">Orion BoF</a> 27 March 19:00-20:00<br />
<a href="http://www.eclipsecon.org/2013/sessions/osgi-and-javascript" title="OSGi and JavaScript">OSGi and JavaScript</a> 28 March 10:15-10:50<br />
<a href="http://www.eclipsecon.org/2013/sessions/orion-node" title="This is Orion on Node">This is Orion on Node</a> 28 March 11:00-11:35<br />
<a href="http://www.eclipsecon.org/2013/sessions/mordern-uis-javafx-osgi-and-e4-and-tooling-provided-efxclipse" title="Modern UIs with JavaFX, OSGi, and e4 and the tooling provided by e(fx)clipse">Modern UIs with JavaFX, OSGi, and e4 and the tooling provided by e(fx)clipse</a> 28 March 11:45-12:20<br />
<a href="http://www.eclipsecon.org/2013/sessions/embracing-eclipse-orion" title="Embracing Eclipse Orion">Embracing Eclipse Orion</a> 28 March 14:15-14:50<br />
<a href="http://www.eclipsecon.org/2013/sessions/business-process-modeling-and-web-application-integration-orion-and-stardust" title="Business Process Modeling, UI Mashups and Web Application Integration with Orion and Stardust">Business Process Modeling, UI Mashups and Web Application Integration with Orion and Stardust</a> 28 March 15:00-15:35</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/03/orion-at-eclipsecon-boston-2013/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Orion 2.0 Release</title>
		<link>http://planetorion.org/news/2013/03/orion-2-0-release/</link>
		<comments>http://planetorion.org/news/2013/03/orion-2-0-release/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 17:36:45 +0000</pubDate>
		<dc:creator>Ken Walker</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=387</guid>
		<description><![CDATA[The team is happy to announce our 2.0 Release of Orion, 4 months after coming out of incubation at Eclipse. There&#8217;s been several posts along the way about what we&#8217;ve been working on but a few highlights include removing library &#8230; <a href="http://planetorion.org/news/2013/03/orion-2-0-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The team is happy to announce our 2.0 Release of Orion, 4 months after coming out of incubation at Eclipse.  There&#8217;s been several posts along the way about what we&#8217;ve been working on but a few highlights include removing library dependencies to allow easier consumption, continuous improvements to JS Content Assist, simplifying the process for embedding the Orion Editor and Shell enhancements mostly to support the stand alone Node.js version of Orion.  You can <a href="http://download.eclipse.org/orion/drops/R-2.0-201302221257/index.html" title="Download Orion 2.0" target="_blank">download</a> it or jump to <a href="https://orionhub.org" title="OrionHub Cloud Based IDE" target="_blank">Orionhub.org</a> to try it out.</p>
<p>The <a href="https://npmjs.org/package/orion" title="Node.js version of Orion Cloud IDE" target="_blank">Node version of Orion</a> is a great example of how well the client side of the code is separated from the Server aspects.  There are no client side specific changes, it&#8217;s all handled by the server providing compatible RESTful APIs and the plugins extending the client to enable npm and node launching capabilities.  Need to edit any file wherever Node.js is running?  It&#8217;s as easy as &#8220;npm install orion&#8221; (<a href="http://wiki.eclipse.org/Orion/Getting_Started_with_Orion_node" title="Orion on Node Getting Started Guid" target="_blank">see the Doc</a>).  There&#8217;s still some work ongoing to make it easier to allow extensions to the Orion Node server without changing code and we hope to have that enabled for 3.0.</p>
<p>Orion 2.0 also contains a prototype of <a href="http://www.hickory.ca/2013/01/28/managing-an-sftp-type-website-using-orion/" title="Anton's Blog Post on Orion Projects" target="_blank">Projects</a>.  At the moment Projects will let you setup an SFTP project plus filter down some of your folders so that you can focus on a particular task.  The aim is to provide much more complete support for work flows and repository integrations, and they will be added over time.  To enable the Projects page, just follow the Get Plugins link in the banner and add it in.</p>
<p>Under the covers there were a lot of changes to the libraries we use within Orion. Simon Kaegi will be speaking about creating specifications for some of these libraries at his <a href="http://www.eclipsecon.org/2013/sessions/osgi-and-javascript" title="OSGi and JavaScript session at EclipseCon 2013" target="_blank">OSGi and JavaScript</a> session at EclipseCon. The following list is a few of our key reusable libraries:</p>
<ul>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/Deferred.js" title="Orion Deferred Implementation" target="_blank">Orion Deferred</a></li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/HTMLTemplates-shim.js" title="Orion HTML Templates Shim" target="_blank">Orion HTML Templates Shim</a></li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/URITemplate.js" title="Orion URI Templates" target="_blank">Orion URI Templates</a>
</li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/URL-shim.js" title="Orion URL Shim" target="_blank">Orion URL Shim</a></li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js" title="Orion Plugin Registry" target="_blank">Orion Plugin Registry</a></li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/serviceregistry.js" title="Orion Service Registry" target="_blank">Orion Service Registry</a></li>
<li><a href="https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.core/web/orion/xhr.js" title="Orion XHR Implementation" target="_blank">Orion XHR Implementation</a></li>
<li><a href="https://github.com/mamacdon/deferred-fs" title="Orion Node Deferred File System" target="_blank">Orion Node Deferred File System</a>
</li>
</ul>
<p>You can also now easily consume builds of just the <a href="http://download.eclipse.org/orion/drops/R-2.0-201302221257/index.html" title="R2.0 Builds including stand alone editor" target="_blank">Orion Editor</a> for use in your projects, web pages or Blog posts.  See the blog post link below or in action via a <a href="http://kenwalker.github.com/snippet/Snippet.html" title="Snippet Plugin for Orion" target="_blank">Snippet plugin</a></p>
<p>The Scripted team has also made great strides with their desktop version of the Orion Editor, you can check that out on <a href="https://github.com/scripted-editor/scripted" title="Scripted Editor based on Orion" target="_blank">GitHub</a>.</p>
<p>We now start our planning for 3.0 to be released near the end of June.  The team and contributors are still focused on Projects, improved content assist, a simple way to experiment with Orion without creating an account, web components, expanded Node capabilities and deployment options from within Orion.  There are some great talks about <a href="http://www.eclipsecon.org/2013/program/sessions/sessions?field_track_value_many_to_one=All&#038;field_experience_value_many_to_one=All&#038;keys=orion&#038;field_session_type_value_many_to_one_2=All" title="Orion talks and presentations at EclipseCon 2013" target="_blank">Orion at EclipseCon</a> in Boston and some great synergy building around other Eclipse projects and how we might work together.  Join our <a href="http://wiki.eclipse.org/Orion/Meeting_minutes" title="Orion Developer and UX Calls" target="_blank">weekly dev and bi-weekly UX calls</a>, join the <a href="https://dev.eclipse.org/mailman/listinfo/orion-dev" title="Orion Developer Mailing List" target="_blank">mailing list</a>, look for ways to use or contribute to Orion.  This is a great time to join in as the project is really starting to gain momentum.</p>
<p><a href="http://planetorion.org/news/2012/12/orion-2-0-m1-new-and-noteworthy/" title="Orion 2.0 M1 – New and Noteworthy" target="_blank">Orion 2.0 M1 – New and Noteworthy</a><br />
<a href="http://planetorion.org/news/2013/01/orion-2-0-m2-new-and-noteworthy/" title="Orion 2.0 M2 – New and Noteworthy" target="_blank">Orion 2.0 M2 – New and Noteworthy</a><br />
<a href="http://adventuresinthoughtlessness.blogspot.com/2013/01/a-journey-toward-web-components-part-1.html" title="Susan on A Journey Toward Web Components" target="_blank">A Journey Toward Web Components (Part 1)</a><br />
<a href="http://planetorion.org/news/2012/11/editing-eclipse-org-web-sites-with-orionhub/" title="Editing eclipse.org Web Sites with OrionHub" target="_blank">Editing eclipse.org Web Sites with OrionHub</a><br />
<a href="http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/" title="Embed the latest Orion Editor in your code in 2 steps" target="_blank">Embed the latest Orion Editor in your code in 2 steps</a><br />
<a href="http://planetorion.org/news/2013/02/orion-2-0-whats-new-for-shell-page-plug-ins/" title="Orion 2.0: What’s New for Shell page plug-ins" target="_blank">Orion 2.0: What’s New for Shell page plug-ins</a><br />
<a href="http://www.hickory.ca/2013/01/28/managing-an-sftp-type-website-using-orion/" title="Managing a website using Orion and SFTP" target="_blank">Managing a Web Site using Orion and SFTP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/03/orion-2-0-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orion 2.0: What&#8217;s New for Shell page plug-ins</title>
		<link>http://planetorion.org/news/2013/02/orion-2-0-whats-new-for-shell-page-plug-ins/</link>
		<comments>http://planetorion.org/news/2013/02/orion-2-0-whats-new-for-shell-page-plug-ins/#comments</comments>
		<pubDate>Thu, 28 Feb 2013 03:28:02 +0000</pubDate>
		<dc:creator>Grant Gayed</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=378</guid>
		<description><![CDATA[The Orion 1.0 Shell page provided a basic mechanism for plugging custom commands into a shared command line environment.  Shell page enhancements for Orion 2.0 have focused on formalizing new parameter types that provide access to files in the Orion &#8230; <a href="http://planetorion.org/news/2013/02/orion-2-0-whats-new-for-shell-page-plug-ins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://planetorion.org/news/2012/06/the-orion-console-not-your-fathers-tty/">Orion 1.0 Shell page</a> provided a basic mechanism for plugging custom commands into a shared command line environment.  Shell page enhancements for Orion 2.0 have focused on formalizing new parameter types that provide access to files in the Orion workspace, and enabling commands to return result values beyond plaintext.  Additionally, users can now redirect command output to workspace files.  The implementation of zip and unzip commands will be used to demonstrate these new capabilities.</p>
<p>There are two new command parameter/return types:</p>
<ul>
<li><em>blob</em>: A <em>blob</em> is just a JS blob object representing binary data (for example, an ArrayBuffer).</li>
<li><em>file</em>: A <em>file</em> represents a file or folder in the Orion workspace, and has the following shape:
<pre>{
    <em>path</em>: (string, relative to CWD, no trailing '/'),
    <em>isDirectory</em>: (optional boolean, if absent implies false),
    <em>blob</em>: (optional blob, the file's content, absent if <em>isDirectory</em> is true)
}</pre>
</li>
</ul>
<p>Command parameters of type <em>file</em> can be configured to give the desired file selection/autocompletion behaviors.  The configurable attributes are booleans that default to false if absent, unless noted otherwise:</p>
<ul>
<li><em>directory</em>: true if directories should be selectable</li>
<li><em>file</em>: true if files (files that are not directories) should be selectable</li>
<li><em>multiple</em>: true if multiple directories/files should be selectable (setting this to true enables the use of wildcards)</li>
<li><em>recurse</em>: true if directory descendents should be recursively selected (only relevant if <em>directory</em> and <em>multiple</em> are true)</li>
<li><em>exist</em>: true if a selected/typed directory or file must exist, or false if it must be non-existent.  If undefined, the default behavior is to allow both existing and non-existing files to be selected/typed.</li>
<li><em>content</em>: true if content should be retrieved for selected existing files (only relevant if <em>file</em> is true)</li>
</ul>
<h3>Example: zip command</h3>
<p>The following plug-in implementation of a zip command uses JSZip, a public JS library, to do the hard work.</p>
<pre class="editor" data-editor-lang="html" data-editor-readonly="true">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Shell 'zip/unzip' Plugin&lt;/title&gt;
&lt;script src="/orion/plugin.js"&gt;&lt;/script&gt;
&lt;script src="https://raw.github.com/Stuk/jszip/v1.0.0/jszip.js"&gt;&lt;/script&gt;
&lt;script src="https://raw.github.com/Stuk/jszip/v1.0.0/jszip-load.js"&gt;&lt;/script&gt;
&lt;script&gt;
window.onload = function() {
    var zipProperties = {
        name: "zip",
        description: "Archive files into a .zip",
        parameters: [{
            name: "files",
            type: {name: "file", file: true, directory: true, exist: true, multiple: true, content: true, recurse: true},
            description: "The files to add to the .zip"
        }],
        returnType: "blob"
    };
    var zipImpl = {
        callback: function(args) {
            var zip = new JSZip();
            var files = args.files;
            files.forEach(function(file) {
                var segments = file.path.split("/");
                var current = zip;
                var dirSegmentCount = segments.length - (file.isDirectory ? 0 : 1);
                for (var i = 0; i &lt; dirSegmentCount; i++) {
                    var segment = segments[i];
                    if (segment !== ".") {
                        current = current.folder(segment);
                    }
                }
                if (!file.isDirectory) {
                    current.file(segments[dirSegmentCount], file.blob);
                }
            });
            return zip.generate({type:"blob"});
        }
    };

    var provider = new orion.PluginProvider();
    provider.registerServiceProvider("orion.shell.command", zipImpl, zipProperties);
    provider.connect();
};
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Use of some new Shell page features can be seen in the zipProperties object.  The &#8220;files&#8221; parameter specifies that workspace files and directories should be selected recursively, and the new <em>returnType</em> command attribute specifies that the returned value will be a blob (the return type defaults to string in the absence of this attribute).  The details of zipImpl are not worth examining here, other than to notice that its returned value is a blob.  Running command &#8220;<em>zip ui</em>&#8221; in the Shell page (where &#8220;ui&#8221; is the name of a directory in the cwd) gives the following output:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-zip.png"><img class="size-full wp-image-381 aligncenter" alt="running the zip command without a specified destination" src="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-zip.png" width="724" height="215" /></a></p>
<p>A destination was not specified for the resulting blob, so the default destination is the Shell page&#8217;s output area.  However the Shell page will not attempt to write returned blob content to its output since it&#8217;s unlikely to be readable, hence the not-too-useful output of &#8220;(1 blobs)&#8221;.  It&#8217;s up to the user to redirect a command&#8217;s output to a workspace location of their choice by providing a value for the optional <em>output</em> argument that is now added to all contributed commands.  So running command &#8220;<em>zip ui &#8211;output ui.zip</em>&#8221; successfully writes the returned blob content to file ui.zip.</p>
<h3>Example continued: unzip command</h3>
<p>The unzip command can be added within the same plug-in file as the zip command above, so details like its &lt;script&gt; inclusions are omitted here.</p>
<pre class="editor" data-editor-lang="js" data-editor-readonly="true">
    var unzipProperties = {
        name: "unzip",
        description: "Extract the files from a .zip archive",
        parameters: [{
            name: "file",
            type: {name: "file", file: true, exist: true, content: true},
            description: "The .zip to extract from"
        }],
        returnType: "[file]"
    };
    var unzipImpl = {
        callback: function(args) {
            var zip = new JSZip(args.file.blob);
            var files = zip.files;
            var newFiles = [];
            for (var name in files) {
                if (name.lastIndexOf("/") === (name.length - 1)) {
                    /* represents a directory */
                    newFiles.push({path: name.substring(0, name.length - 1), isDirectory: true});
                } else {
                    var file = zip.file(name);
                    newFiles.push({path: name, blob: file.asArrayBuffer()});
                }
            };
            return newFiles;
        }
    };
    // ...
    provider.registerServiceProvider("orion.shell.command", unzipImpl, unzipProperties);
</pre>
<p>Since unzip&#8217;s return type is <em>[file]</em>, the user-provided <em>&#8211;output</em> value will represent the directory that the resulting files are written to.  Values of type file are always resolved in terms of a directory since a file has a path attribute, while values of type blob are always written to a file since a blob is just raw data.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-zip.png"><img class="size-full wp-image-381 aligncenter" alt="running the zip command without a specified destination" src="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-unzip.png" width="891" height="323" /></a></p>
<h3>String value processing</h3>
<p>Another enhancement to command return values is the processing of string values for markdown-formatted links.  Result strings written to the Shell page now have any contained URLs that are formatted as <em>[link text here](link.address.here)</em> replaced with live anchor elements.  As an example, command return value &#8220;<em>Visit [Eclipse](http://www.eclipse.org), or literally [](http://www.eclipse.org)</em>&#8221; renders as shown below.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-zip.png"><img class="size-full wp-image-381 aligncenter" alt="running the zip command without a specified destination" src="http://planetorion.org/news/wp-content/uploads/2013/02/shell20-links.png" width="304" height="48" /></a></p>
<h3>What&#8217;s Next?</h3>
<p>The piece that&#8217;s missing from this updated picture is a means of chaining commands, or at least specifying a custom input source (analagous to the new <em>&#8211;output</em> parameter).  The absence of these is the reason that the example unzip command takes a file as its input, rather than a blob, which would have made it symmetrical with the zip command.  Blobs are currently only usable as command return values, not as parameters. The ability to chain commands is dependent on GCLI adding support for this functionality, but adding something like an <em>&#8211;input</em> parameter is an interim step that the Shell page could take for 3.0.</p>
<p>If there are more Shell page features that your plug-in needs then please log Enhancement Requests in <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?component=Client&amp;product=Orion&amp;bug_severity=enhancement">Orion&#8217;s Bugzilla</a>.</p>
<p>Lastly, thanks are due to Stuart Knightley for his JSZip utility that made implementing the zip/unzip example trivial.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/02/orion-2-0-whats-new-for-shell-page-plug-ins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embed the latest Orion Editor in your code in 2 steps</title>
		<link>http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/</link>
		<comments>http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/#comments</comments>
		<pubDate>Wed, 20 Feb 2013 17:33:17 +0000</pubDate>
		<dc:creator>Bogdan Gheorghe</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=372</guid>
		<description><![CDATA[The Orion editor has been packaged into 2 standalone builds to help make it easier to use. These are available from the Orion build page in the most recent 2.0 builds. Here is how you can get the latest release &#8230; <a href="http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The Orion editor has been packaged into 2 standalone builds to help make it easier to use. These are available from the Orion <a href="http://download.eclipse.org/orion/" target="_blank">build page</a> in the most recent 2.0 builds.</p>
<p>Here is how you can get the latest release and embed it in your Javascript code:</p>
<p><strong>Step 1</strong>: Add the following lines somewhere in your head section to get the built css and editor files:</p>
<pre class="editor" data-editor-lang="html" data-editor-readonly="true">&lt;link rel="stylesheet" type="text/css" href="http://eclipse.org/orion/editor/releases/2.0/built-editor.css"/&gt;
&lt;script src="http://eclipse.org/orion/editor/releases/2.0/built-editor.min.js"&gt;&lt;/script&gt;
&lt;script&gt;
	require(["orion/editor/edit"], function(edit) {
		edit({className: "editor"});
	});
&lt;/script&gt;</pre>
<p><strong>Step 2</strong>: Add the editor class and some data attributes to the HTML element containing the code you want to display in the editor.</p>
<pre class="editor" data-editor-lang="html" data-editor-readonly="true">&lt;pre class="editor" data-editor-lang="js"&gt;
/*
 * This is an Orion editor sample.
 */
function() {
    var a = 'hi there!';
    window.console.log(a);
}
&lt;/pre&gt;</pre>
<p>Done! </p>
<p>The editor features can be customized by passing in data attributes. Here is the current available list with the defaults:</p>
<pre class="editor" data-editor-lang="js" data-editor-readonly="true">
/**
	 * @class This object describes the options for <code>edit</code>.
	 * @name orion.editor.EditOptions
	 *
	 * @property {String|DOMElement} parent the parent element for the view, it can be either a DOM element or an ID for a DOM element.
	 * @property {Boolean} [readonly=false] whether or not the view is read-only.
	 * @property {Boolean} [fullSelection=true] whether or not the view is in full selection mode.
	 * @property {Boolean} [tabMode=true] whether or not the tab keypress is consumed by the view or is used for focus traversal.
	 * @property {Boolean} [expandTab=false] whether or not the tab key inserts white spaces.
	 * @property {String} [themeClass] the CSS class for the view theming.
	 * @property {Number} [tabSize=4] The number of spaces in a tab.
	 * @property {Boolean} [wrapMode=false] whether or not the view wraps lines.
	 * @property {Function} [statusReporter] a status reporter.
	 * @property {String} [title=""] the editor title.
	 * @property {String} [contents=""] the editor contents.
	 * @property {String} [lang] the styler language. Plain text by default.
	 * @property {Boolean} [showLinesRuler=true] whether or not the lines ruler is shown.
	 * @property {Boolean} [showAnnotationRuler=true] whether or not the annotation ruler is shown.
	 * @property {Boolean} [showOverviewRuler=true] whether or not the overview ruler is shown.
	 * @property {Boolean} [showFoldingRuler=true] whether or not the folding ruler is shown.
	 */

</pre>
<p>To customize your editor, simply add data attributes prefixed with &#8220;data-editor-&#8221;. Since HTML attributes are case insensitive, camel case letters are prefixed by a dash. For example to create a Javascript editor with only the line ruler showing, you would create the editor like this:</p>
<pre class="editor" data-editor-lang="html" data-editor-readonly="true">
&lt;pre class=&quot;editor&quot; data-editor-lang=&quot;js&quot; data-editor-show-annotation-ruler=&quot;false&quot; <br />data-editor-show-overview-ruler=&quot;false&quot; data-editor-show-folding-ruler=&quot;false&quot;<br />&gt;<br />/*<br /> * This is a orion editor sample.<br /> */<br />function() {<br />    var b = 'no rulers here!';<br />    window.console.log(a);<br />}<br />&lt;/pre&gt;
</pre>
<p>Here is what this will look like:</p>
<pre class="editor" data-editor-lang="js" data-editor-show-annotation-ruler="false" 
data-editor-show-overview-ruler="false" data-editor-show-folding-ruler="false"
>
/*
 * This is an Orion editor sample.
 */
function() {
    var b = 'no rulers here!';
    window.console.log(a);
}
</pre>
<p>Stay tuned for more posts on the Orion editor &#8211; for more info on the new builds check out the editor build <a href="http://wiki.eclipse.org/Orion/How_Tos/Editor_Build" target="_blank">wiki page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/02/embed-the-latest-orion-editor-in-your-code-in-2-steps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Orion 2.0 M2 – New and Noteworthy</title>
		<link>http://planetorion.org/news/2013/01/orion-2-0-m2-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2013/01/orion-2-0-m2-new-and-noteworthy/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 20:37:11 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=357</guid>
		<description><![CDATA[This Orion milestone saw some major structural changes under the covers of Orion. The Orion browser client had a major refactoring to make it easier to consume Orion components, and the new server based on Node.js made great progress. Some &#8230; <a href="http://planetorion.org/news/2013/01/orion-2-0-m2-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This Orion milestone saw some major structural changes under the covers of Orion. The Orion browser client had a major refactoring to make it easier to consume Orion components, and the new server based on Node.js made great progress. Some of the core Orion workspace concepts were retooled to enable capabilities such as live development of a web site over SFTP from Orion. Although the list of new &#8220;features&#8221; for end users in this milestone is relatively small, the Orion team is pretty excited about the direction we are going and the kinds of applications these structural changes will enable down the road.</p>
<p>Read on for all the details about what&#8217;s new in Orion 2.0 M2, which is now available on <a href="http://orionhub.org/">OrionHub</a> or for <a href="http://download.eclipse.org/orion/drops/S-2.0M2-201301272230/index.html">download</a>.</p>
<h3 id = "content-assist-inferencing">Improved content assist inferencing</h3>
<p>Several enhancements have been made to JavaScript content assist in Orion. Object<br />
types and properties can now be inferred in more cases, such as:</p>
<ul>
<li>Type inferencing on array values.
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-array-value.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-array-value.png" alt="Sample of infering array value type" width="314" height="162" class="alignnone size-full wp-image-358" /></a></p>
</li>
<li>Inferring associative arrays, for example <tt>myObj['someProp']</tt>
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-assoc-array.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-assoc-array.png" alt="Sample of infering values of associative arrays" width="388" height="105" class="alignnone size-full wp-image-359" /></a>
</p>
</li>
<li>Ability to infer variables before they are declared (this is a feature of JavaScript)
<p>
<a href="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-before-declaration.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-before-declaration.png" alt="Sample of infering variables above their declaration" width="312" height="234" class="alignnone size-full wp-image-360" /></a></p>
</li>
<li>Inferring object properties based on usage analysis.
<p><a href="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-infer-use.png"><img src="http://planetorion.org/news/wp-content/uploads/2013/01/20m2-assist-infer-use.png" alt="Sample of infering object properties based on usage analysis" width="335" height="230" class="alignnone size-full wp-image-361" /></a></p>
</li>
</ul>
<h3 id="library-independence">Library independence</h3>
<p>Previous releases of Orion made extensive use of Dojo for internationalization, DOM manipulation, widgets, and other helper functions. This hard-wired library choice made it difficult for consumers of Orion components to run with a different version of Dojo, or with alternative libraries such as jQuery or MooTools. In this milestone Orion has completely eliminated use of Dojo, making it much easier for people to consume parts of Orion into different kinds of web applications. For a deeper look at the motivation for this change and our longer term ideas, see Susan McCourt&#8217;s detailed <a href="http://adventuresinthoughtlessness.blogspot.com/2013/01/a-journey-toward-web-components-part-1.html">blog post</a>.</p>
<p>As an added bonus, this refactoring has significantly improved our page load performance. For example, <a href="https://developers.google.com/speed/pagespeed/">PageSpeed</a> analysis of loading the Orion editor containing a JavaScript file shows <b>45% fewer requests and 80% smaller total transfer</b> compared to the previous Orion milestone (2.0 M1). </p>
<h3 id="orion-on-node">Orion on Node.js makes progress</h3>
<p>The port of Orion running on Node.js is now available in the <a href="https://npmjs.org/package/orion">Node package registry</a> as version 0.0.8. For complete details on how to install it and what it can do, see the <a href="http://wiki.eclipse.org/Orion/Getting_Started_with_Orion_node">Getting Started</a> guide. Here is what&#8217;s working so far:</p>
<ul>
<li>Basic Navigator operations (Create file/folder, delete file/folder, copy/move/rename a file)</li>
<li>Basic Editor operations (Edit file, save file, syntax highlighting, ETags)</li>
<li>Plugin operations (Install/uninstall Orion plugins)</li>
<li>Shell support for launching and debugging node applications (type &quot;<tt>help node</tt>&quot; in the <b>Shell</b> page to find out more)</li>
<li>Shell support for Node package manager (works the same as the usual <tt>npm</tt> console command)</li>
</ul>
<h3 id="projects">Projects</h3>
<p>A very early preview of a new <i>project</i> concept is available in this milestone. Effectively a project provides a way to link content you are working on with external sources and targets. Over time this will simplify and streamline how you import your code to Orion tools, and how you deploy from Orion into your target environment. Currently, support is implemented to edit code and other sources directly on a remote SFTP server. For more details, see Anton McConville&#8217;s<br />
<a href="http://www.hickory.ca/2013/01/28/managing-an-sftp-type-website-using-orion/">blog post</a> telling all about it.</p>
<h3 id="shell-commands">New Shell page command parameter and return types</h3>
<p>Commands contributed to the Shell page can now use the &quot;file&quot; and &quot;blob&quot; types to read and return Orion workspace file content.  A Shell page user directs the output of such commands to their chosen workspace location with the new <tt>--output</tt> parameter.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2013/01/orion-2-0-m2-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orion 2.0 M1 &#8211; New and Noteworthy</title>
		<link>http://planetorion.org/news/2012/12/orion-2-0-m1-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2012/12/orion-2-0-m1-new-and-noteworthy/#comments</comments>
		<pubDate>Tue, 11 Dec 2012 15:07:05 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=343</guid>
		<description><![CDATA[Two major themes of the Orion 2.0 release are improved import/deployment and node.js support. These are large scale efforts and their benefits will mostly come in future builds. In the meantime, here are some goodies in the 2.0 M1 milestone &#8230; <a href="http://planetorion.org/news/2012/12/orion-2-0-m1-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Two major themes of the <a href="http://eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/orion/plans/orion-project-plan-2-0.xml">Orion 2.0</a> release are improved import/deployment and <a href="http://nodejs.org/">node.js</a> support. These are large scale efforts and their benefits will mostly come in future builds. In the meantime, here are some goodies in the 2.0 M1 milestone for your holiday entertainment. Check it out now on <a href="http://eclipse.org/projects/project-plan.php?planurl=http://www.eclipse.org/orion/plans/orion-project-plan-2-0.xml">OrionHub</a>, or <a href="http://download.eclipse.org/orion/">download the server</a>.</p>
<h3 id="orion-node-prototype">Prototype node-based Orion server</h3>
<p>Work is well underway to create a simple Orion server running on <a href="http://nodejs.org/">node.js</a>. The small footprint of this server makes it suitable for embedded devices and potentially very large scale cloud scenarios. Having all the client and server tools written in the same language also raises some new possibilities and makes the Orion architecture very flexible. This server is not yet ready for prime time, but you can check out or fork the code on <a href="https://github.com/mamacdon/orionode">GitHub</a>.</p>
<h3 id="search-type">Narrow search on file type</h3>
<p>You can now narrow down a global search based on file type. Open the drop down menu in the search bar, and select a file type from the list. You can search on file type only, or a combination of file type and search keyword.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-search-type.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-search-type.png" alt="" title="20m1-search-type" width="184" height="163" class="alignnone size-full wp-image-344" /></a></p>
<h3 id="editor-regex">Search and replace capture groups with regular expressions</h3>
<p>When doing search and replace in the Orion editor, you can now use JavaScript-style regular expression syntax to indicate capture groups in the replacement text. For example, to remove the id from an HTML table row or cell, search for &quot;&lt;(td|tr)( id=&#8221;.*&#8221;)&gt;&quot; and replace with &quot;&lt;$1&gt;&quot;.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-editor-regex-replace.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-editor-regex-replace.png" alt="" title="20m1-editor-regex-replace" width="423" height="310" class="alignnone size-full wp-image-345" /></a></p>
<h3 id="desktop-dnd">Drag files from desktop into Orion</h3>
<p>You can now drag files and directories directly from your desktop into Orion. This feature is fully supported only on Chrome. On Firefox you can drag individual files from your desktop, but not folders. If you&#8217;re on Internet Explorer you can use <b>Import local file</b> from the <b>Actions</b> menu. We are investigating support for drag and drop on Internet Explorer 10.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-drag-import.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-drag-import.png" alt="" title="20m1-drag-import" width="599" height="361" class="alignnone size-full wp-image-346" /></a></p>
<h3 id="editor-android">Editor improvements on Android</h3>
<p>The Orion editor has been improved on Android. All forms of input are supported, including virtual keyboard, voice input, gesture typing in Android 4.2, and of course physical keyboards. Editor selection and copy/paste are supported as well. Orion currently supports only mobile Chrome browser on Android 4.1 or later.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-android-gesture.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-android-gesture.png" alt="" title="20m1-android-gesture" width="464" height="337" class="alignnone size-full wp-image-347" /></a></p>
<h3 id="theme-html-css">Editor themes now apply to CSS and HTML editors</h3>
<p>The <b>Editor Theme</b> settings tab previously applied only when editing JavaScript files. These editor themes are now also applied when editing CSS and HTML files.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-editor-themes.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-editor-themes.png" alt="" title="20m1-editor-themes" width="524" height="327" class="alignnone size-full wp-image-348" /></a></p>
<h3 id="theme-editor-font">Customizable editor font size</h3>
<p>You can now change the editor font size from the <b>Editor Theme</b> settings tab.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-theme-font-size.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-theme-font-size.png" alt="" title="20m1-theme-font-size" width="381" height="83" class="alignnone size-full wp-image-349" /></a></p>
<h3 id="theme-editor-prospecto">New Prospecto editor theme</h3>
<p>Orion has a new editor theme called <i>Prospecto</i>. You can customize or change editor themes from the <b>Settings</b> page.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-theme-prospecto.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-theme-prospecto.png" alt="" title="20m1-theme-prospecto" width="568" height="279" class="alignnone size-full wp-image-350" /></a></p>
<h3 id="shell-plugin-commands">New shell commands</h3>
<p>Several new commands have been added to the <b>Shell</b> page:</p>
<ul>
<li>A <tt>plugins</tt> command for working with Orion plugins. This command has sub-commands for listing, installing/uninstalling, reloading, and enabling/disabling plugins. Type <tt>help plugins</tt> on the shell page for more details.</li>
<li>A <tt>service</tt> command for listing the available instances of a given service.<br />
  Type <tt>help service</tt> on the shell page for more details.</li>
<li>A <tt>clear</tt> command to clear the screen</li>
</ul>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-shell-commands.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-shell-commands.png" alt="" title="20m1-shell-commands" width="418" height="310" class="alignnone size-full wp-image-351" /></a></p>
<h3 id="shell-open-from-nav">Open shell from navigator</h3>
<p>You can now open a shell page on a particular directory from the <b>Navigator</b> page. Select any directory, and select <b>Open in Shell</b> from the <b>Related</b> menu in the top banner.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-shell-open.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-shell-open.png" alt="" title="20m1-shell-open" width="134" height="175" class="alignnone size-full wp-image-352" /></a></p>
<h3 id="search-proposal-highlight">Highlight matching term in search</h3>
<p>When entering a search term in the search bar, matching segments from previous searches are now highlighted in the proposal list.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-proposal-highlight.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-proposal-highlight.png" alt="" title="20m1-proposal-highlight" width="185" height="95" class="alignnone size-full wp-image-353" /></a></p>
<h3 id="orionhub-https">Secure connections to OrionHub</h3>
<p>Communication with <a href="https://orionhub.org">OrionHub</a> now occurs over HTTPS, providing authentication and encrypted communication with your hosted tools. Orion itself has supported HTTPS for awhile, but it was recently deployed to the OrionHub server in particular.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-orionhub-https.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/12/20m1-orionhub-https.png" alt="" title="20m1-orionhub-https" width="392" height="94" class="alignnone size-full wp-image-354" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/12/orion-2-0-m1-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Editing eclipse.org Web Sites with OrionHub</title>
		<link>http://planetorion.org/news/2012/11/editing-eclipse-org-web-sites-with-orionhub/</link>
		<comments>http://planetorion.org/news/2012/11/editing-eclipse-org-web-sites-with-orionhub/#comments</comments>
		<pubDate>Fri, 23 Nov 2012 22:13:35 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=333</guid>
		<description><![CDATA[This post is for fellow Eclipse committers who have recently migrated their Eclipse project web sites to Git. With your web site stored in Git, you can now use Orion to maintain your web site directly from your browser without &#8230; <a href="http://planetorion.org/news/2012/11/editing-eclipse-org-web-sites-with-orionhub/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This post is for fellow Eclipse committers who have recently migrated their Eclipse project web sites to Git. With your web site stored in Git, you can now use Orion to maintain your web site directly from your browser without installing any tools. Here is a quick primer to get you started.</p>
<h3>1. Create an OrionHub account</h3>
<p>If you don&#8217;t already have one, the first step is creating a new account at orionhub. Simply go to <a href="http://orionhub.org">orionhub.org</a> and follow the directions to create a new account. You will receive a confirmation email, and you need to click the link in that email to confirm your account.</p>
<h3>2. Setup</h3>
<p>Although not strictly needed, there are some setup steps you can do with your new account to smooth your Orion experience. Once logged in, click your username in the top right corner, and navigate to the <b>Settings</b> page.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/settings-menu.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/settings-menu.png" alt="" title="settings-menu" width="306" height="138" class="alignnone size-full wp-image-334" /></a></p>
<p>On the <b>User Profile</b> tab, enter your Git email address and user name to be used when creating new commits. If you want, you can also select <b>Enable Storage</b> to allow Orion to cache your Git password or ssh keys in the local browser storage. This saves you from having to enter it on every push and pull. Finally, at the very bottom of this page under <b>Linked Accounts</b>, you can associate your Orion account with a Persona or OpenId (google) account. This is entirely optional, but means in the future you can log into Orion with your Persona or Google credentials, and not have to worry about another password to remember.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/settings1.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/settings1.png" alt="" title="settings" width="584" height="341" class="alignnone size-full wp-image-336" /></a></p>
<p>Since Eclipse web sites tend to be PHP-happy, you will probably also want to install a plug-in to provide PHP syntax highlighting. By default Orion only highlights HTML, CSS, and JavaScript, but you can teach it to highlight other file types using plug-ins. In the top banner, click <b>Get Plugins</b> to visit the Orion plugin catalog. Find the <b>CodeMirror</b> plug-in, and click <b>Install</b>. This will bring you back into Orion, where you need to click <b>Submit</b> to complete the installation.</p>
<h3>3. Get the code</h3>
<p>Now we&#8217;re ready to pull your web site into Orion. Go to the <b>Repositories</b> page, and click <b>Clone Repository</b>. Paste in the ssh URL of your Git repository, and click <b>Submit</b>.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/clone.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/clone.png" alt="" title="clone" width="539" height="115" class="alignnone size-full wp-image-337" /></a></p>
<p>Once the clone completes, you will see the web site repository added to your repositories list:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/cloned.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/cloned.png" alt="" title="cloned" width="657" height="276" class="alignnone size-full wp-image-338" /></a></p>
<h3>4. Edit the site</h3>
<p>Click <b>Show in Navigator</b> next to your repository to reveal your site in the <b>Navigator</b> page. From here you can browse around, create/delete/rename files and directories, and import content. Click any file to open it in the Orion editor:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/edit.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/edit.png" alt="" title="edit" width="460" height="437" class="alignnone size-full wp-image-339" /></a></p>
<h3>5. Commit your changes</h3>
<p>Once you have finished making your changes, you&#8217;ll want to commit them. The <b>Related</b> menu is the easiest way to navigate between different Orion pages that focus on the same file or directory. From either the editor or navigator page, open the <b>Related</b> menu, and select <b>Git Status</b>. The status page shows you something similar to <tt>git status</tt> on the command line, except it shows you a rich compare editor that lets you easily browse between your changes.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/11/preview-changes.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/11/preview-changes.png" alt="" title="preview-changes" width="584" height="425" class="alignnone size-full wp-image-340" /></a></p>
<p>All the usual git commands for manipulating your working directory or Git index are available here, such as <b>Stage</b>, <b>Unstage</b>, <b>Commit</b>, <b>Checkout</b>, <b>Reset</b>, etc. The <b>Commits</b> section at the bottom shows any local commits that have not yet been pushed to the remote, and any fetched commits that have not yet been merged into your local working copy.</p>
<p>Simply stage, commit, and push your changes, and you&#8217;re done! Visit your web site and bask in the glory of browser-based development. Now that you&#8217;re all setup, you can easily maintain your web site from any connected PC or tablet from anywhere in the world. The downside is you now have no more excuses for why your Eclipse project page is always so out of date&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/11/editing-eclipse-org-web-sites-with-orionhub/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>4,400 New accounts on OrionHub since 1.0 release</title>
		<link>http://planetorion.org/news/2012/11/4400-new-accounts-on-orionhub-since-1-0-release/</link>
		<comments>http://planetorion.org/news/2012/11/4400-new-accounts-on-orionhub-since-1-0-release/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 19:46:37 +0000</pubDate>
		<dc:creator>Ken Walker</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=331</guid>
		<description><![CDATA[On October 29th I posted at PlanetOrion our 1.0 announce and this was automatically tweeted by our @orionhub account. The reception and spread of the news was great in my opinion and thanks to those for retweeting, writing articles or &#8230; <a href="http://planetorion.org/news/2012/11/4400-new-accounts-on-orionhub-since-1-0-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>On October 29th I posted at PlanetOrion our 1.0 announce and this was automatically tweeted by our <a href="https://twitter.com/orionhub" title="OrionHub on Twitter">@orionhub</a> account.  The reception and spread of the news was great in my opinion and thanks to those for retweeting, writing articles or trying Orion out for the first time.</p>
<p>Since deploying the 1.0 release just a little over 2 weeks ago we&#8217;ve had 4,400 accounts created and over 12,000 logins 16% from Germany, 13% from Japan, 11% France, 10% United States, 8% China, Hungary, Brazil, UK, Canada&#8230;.. really from all over the planet.  Even Turks and Caicos Islands <em>(hacking on vacation someone?)</em></p>
<p>John Arthorne and I try to keep the <a href="http://wiki.eclipse.org/Orion/Buzz" title="Orion BUZZ - News About Orion">Orion BUZZ</a> page up to date with articles written about Orion or about downstream products consuming Orion.  If we miss anything you think should be there simply let us know on Twitter.  Orion is also over at <a href="https://plus.google.com/113529759347248251090" title="Orion on Google+">Google+</a> if you&#8217;re looking to add us to a circle.</p>
<p>It&#8217;s great to see the interest and hope that you&#8217;ll give us feedback, suggestions and maybe some bug fixes too!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/11/4400-new-accounts-on-orionhub-since-1-0-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
