<?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>Mon, 16 Apr 2012 20:14:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Orion 0.5 M1 &#8211; New and Noteworthy</title>
		<link>http://planetorion.org/news/2012/04/orion-0-5-m1-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2012/04/orion-0-5-m1-new-and-noteworthy/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 20:14:27 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=202</guid>
		<description><![CDATA[There has been a lot of behind the scenes work in Orion 0.5 M1 to help prepare for a Fall 2012 1.0 release. In particular there was significant work on globalization, accessibility, and cleanup of code and API. We also &#8230; <a href="http://planetorion.org/news/2012/04/orion-0-5-m1-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There has been a lot of behind the scenes work in Orion 0.5 M1 to help prepare for a Fall 2012 1.0 release. In particular there was significant work on globalization, accessibility, and cleanup of code and API. We also found some time for a few new end-user features, listed below. As usual, head to <a href="http://orionhub.org">OrionHub</a> to check it out, or head to <a href="http://eclipse.org/orion">eclipse.org/orion</a> to sign up. You can also <a href="http://download.eclipse.org/orion/drops/S-0.5M1-201204131740/index.html">download</a> your own copy of the server.</p>
<h3 id="esprima-content-assist">Esprima-based content assist</h3>
<p>A new content assist plugin for JavaScript is now available. This plugin uses the <a href="http://esprima.org/">Esprima</a> JavaScript parser to provide far more accurate semantic analysis. Notable improvements over Orion&#8217;s previous JavaScript content assist include:</p>
<p>
Completion on object literal members:
</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-1.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-1.png" alt="" title="05m1-esprima-assist-1" width="337" height="164" class="alignnone size-full wp-image-203" /></a></p>
<p>Inferencing of basic variable types:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-2.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-2.png" alt="" title="05m1-esprima-assist-2" width="431" height="148" class="alignnone size-full wp-image-204" /></a></p>
<p>Simple flow analysis for type inferencing:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-3.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-3.png" alt="" title="05m1-esprima-assist-3" width="347" height="140" class="alignnone size-full wp-image-205" /></a></p>
<p>Support for certain built-in types:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-4.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-4.png" alt="" title="05m1-esprima-assist-4" width="307" height="70" class="alignnone size-full wp-image-206" /></a></p>
<p>Type analysis for objects created from constructors:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-5.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-esprima-assist-5.png" alt="" title="05m1-esprima-assist-5" width="347" height="152" class="alignnone size-full wp-image-207" /></a></p>
<p>To install this plugin, simply click <b>Get Plugins</b> in the top banner and select <b>Esprima content assist</b>.</p>
<h3 id="highlight-numbers">Syntax highlighting of JavaScript number literals</h3>
<p>The Orion editor now provides syntax highlighting of number literals in JavaScript source code.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-highlight-numbers.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-highlight-numbers.png" alt="" title="05m1-highlight-numbers" width="251" height="69" class="alignnone size-full wp-image-208" /></a></p>
<h3 id="compare-char">Character level compare</h3>
<p>The Orion compare editor can now display differences down to the character level, in addition to coarse-grained blocks. Separate commands are available in the toolbar to navigate to the next or previous block or individual change.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-compare-char.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-compare-char.png" alt="" title="05m1-compare-char" width="768" height="92" class="alignnone size-full wp-image-209" /></a></p>
<h3 id="search-highlight">Search highlights all matches</h3>
<p>When you perform a search in the Orion editor, all matches are now highlighted. Matches appear both within the text, and in the overview ruler next to the scrollbar. This allows you to see the position of all matches in the file at a glance.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-search-highlight.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-search-highlight.png" alt="" title="05m1-search-highlight" width="657" height="307" class="alignnone size-full wp-image-210" /></a></p>
<h3 id="annotations-keyboard">Traverse through file annotations with keyboard</h3>
<p>You can now traverse through all annotations such as errors, warnings, and search results using the keyboard. As you traverse to a new annotation, the corresponding tooltip for that annoation will automatically open right below your cursor. This lets you quickly jump to the next error, find out the cause, and fix it without your fingers ever leaving the keyboard.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-annotation-keyboard.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-annotation-keyboard.png" alt="" title="05m1-annotation-keyboard" width="555" height="130" class="alignnone size-full wp-image-211" /></a></p>
<h3 id="drag-import">Drag to import</h3>
<p>You can now drag a zip file to import into Orion rather than searching for it in a file dialog. Select <b>Import as Zip</b>  as usual in the <b>Navigator</b> page, and then drag a zip file onto the target that appears. Support for importing non-zip files is coming soon!</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-drag-import.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-drag-import.png" alt="" title="05m1-drag-import" width="607" height="406" class="alignnone size-full wp-image-212" /></a></p>
<h3 id="navigate-sites">Manage and launch sites from navigator</h3>
<p>You can now create, launch, and modify web sites directly from the <b>Navigator</b> page. Let&#8217;s say you have an HTML file in Orion and you want to launch it as a static web site. Simply open the actions menu next to the file and select <b>View On &gt; New Site</b>.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-navigate-sites-1.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-navigate-sites-1.png" alt="" title="05m1-navigate-sites-1" width="353" height="265" class="alignnone size-full wp-image-213" /></a></p>
<p>This will automatically create a new site, launch it, and open the site in a new browser tab. The site will have an auto-generated name, but you can always change this later from the <b>Sites</b> tab. Back in the <b>Navigator</b>, you can add additional folders and files to the site with a similar gesture:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-navigate-sites-2.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-navigate-sites-2.png" alt="" title="05m1-navigate-sites-2" width="351" height="263" class="alignnone size-full wp-image-214" /></a></p>
<h3 id="pixlr-plugin">Image editing with Pixlr plugin</h3>
<p>A new plugin is available for editing images in your Orion projects using <a href="http://pixlr.com/">Pixlr</a>. Click <b>Get Plugins</b> in the top banner to install the plugin from the catalog. Once installed, go to the <b>Navigator</b><br />
page and click <b>Open With &gt; Pixlr Image Editor</b> from the actions menu next to an image file. This will take you to an Orion page with the Pixlr image editor embedded within it. When you save the file within Pixlr, you will have the option to save the result back into Orion.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-pixlr.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/04/05m1-pixlr.png" alt="" title="05m1-pixlr" width="685" height="490" class="alignnone size-full wp-image-215" /></a></p>
<h3 id="s3-plugin">File storage on S3</h3>
<p>An experimental plugin is available that lets you store your Orion files on Amazon S3. For complete details, see the <a href="http://regrettable-hacks.blogspot.ca/2012/04/connecting-amazon-s3-to-orion.html">Connecting Amazon S3 to Orion</a> blog post.</p>
<h3 id="content-service">New page content service</h3>
<p>A new service has been introduced, <tt>orion.page.content</tt>, that allows an Orion plugin to contribute page content. The plugin content is framed by the common Orion banner and equipped with standard Orion page services, such as the related pages menu. The page content itself is rendered in an iframe inside the page. This service was used by the above Pixlr plugin to make the third party Pixlr editor appear like an Orion branded page.</p>
<h3 id="link-syntax">Expanded syntax for specifying links</h3>
<p>Plugins that define commands or links that relate to a particular item on a page now have a more expressive way of validating metadata and building complex URI&#8217;s from metadata.  The validationProperties have been expanded to allow full regular expression matching against metadata properties, as well as accessing multiple properties through piped OR expressions.  In addition, the matches on validated properties can be cached in named variables and used in a uriTemplate property, which can build a complex link from metadata.  For example, the following validationProperties and uriTemplate can build an eclipse.org git URL from Orion metadata:</p>
<pre>
validationProperties: [{
	source: "GitUrl",
	match: "git.eclipse.org/gitroot",
	variableName: "EclipseGitLocation",
	variableMatchPosition: "after"
 }],
 uriTemplate: "http://git.eclipse.org/c{EclipseGitLocation}"
</pre>
<h3 id="content-type-validation">Content type validation</h3>
<p>Plugins can now use content types to validate file metadata when supplying commands in the navigator or editor.  Before, plugins used file name extension patterns to specify what kinds of files they could operate on.  Now, a list of content types can be used, which allows the plugin to be validated for multiple file types, as well as simplifying the specification.</p>
<h3 id="requirejs-latest">Moved to latest Require JS</h3>
<p>Orion now includes the latest version of the <a href="http://requirejs.org/">RequireJS</a> module loader for JavaScript.</p>
<h3 id="api-changes">API changes</h3>
<p>As we move closer to a 1.0 release, we have been taking a hard look at our APIs and cleaning them to be consistent and evolvable in the long term. Refer to the <a href="http://wiki.eclipse.org/Orion/Plugin_API_Changes/R0.5">0.5 API changes</a> wiki page for complete details on what is changing. If you have already implemented plugins for Orion you should keep an eye on this page.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/04/orion-0-5-m1-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Announcing Orion 0.4</title>
		<link>http://planetorion.org/news/2012/02/announcing-orion-0-4/</link>
		<comments>http://planetorion.org/news/2012/02/announcing-orion-0-4/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 21:12:13 +0000</pubDate>
		<dc:creator>Ken Walker</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=199</guid>
		<description><![CDATA[Announcing the Orion 0.4 Release. The Orion team has been working hard since releasing 0.3 in October of 2011. This release contains significant improvements to the workflows and layouts of the Navigator, Git Repositories, Settings, Global Search and Replace and &#8230; <a href="http://planetorion.org/news/2012/02/announcing-orion-0-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Announcing the Orion 0.4 Release.  The Orion team has been working hard since releasing 0.3 in October of 2011.  This release contains significant improvements to the workflows and layouts of the Navigator, Git Repositories, Settings, Global Search and Replace and Editor.</p>
<p>The features improved upon or new in this release include HTML syntax validation, <a href="http://codemirror.net/" title="CodeMirror">CodeMirror</a> syntax highlighting, Content Assist for JavaScript and HTML and CSS Lint. A new URI Template model for deeper integration with other web sites. Examples of URI integration include streamlined cloning from GitHub and Plugin installation within Orion. One excellent new feature is the related pages menu.  When you have a task focused single page the related page menu offers a method to reference pages within or external to Orion that act on the same set of resources.  Also added was the facility to view and cancel background operations operating on your behalf within the Orion server.  To ease adoption we&#8217;ve added self-service password reset functionality. Work has also started on internationalization and accessibility in 0.4.  The editor has been externalized and the majority of the UI tested using screenreader tools such as JAWS.</p>
<p>Overall, the look and feel of the UI has been crafted to reduce the amount of tree style views in favour of a flat representation.  There was also a significant amount of trimming and customization done to give more real-estate to the task at hand.</p>
<p>In addition to the great changes which a user would see, the underlying architectural components Orion is built on have been made more consumable.  These changes have allowed other projects to integrate Orion pieces within their products.  A major announcement during 0.4 development was the use of the editor in the ScratchPad within <a href="http://blog.mozilla.com/blog/2012/01/31/firefox-adds-powerful-new-developer-tools/" title="Firefox 10 with Orion Editor">Firefox 10</a>.</p>
<p>The community around Orion is also growing at an excellent pace.  This release saw many new contributors providing features such as the new Settings/Plugin page and Content Assist plugin using <a href="http://esprima.org/" title="Esprima">Esprima</a>.  This increase in community also netted Orion an <a href="http://www.blackducksoftware.com/rookies/" title="Orion wins Open Source Rookie for 2011">Open Source Rookie</a> win from Black Duck.</p>
<p>Overall, another excellent release cycle from an ever growing list of participants.  As mentioned earlier on PlanetOrion there&#8217;s going to be several talks at <a href="http://planetorion.org/news/2012/02/orion-presentations-at-eclipsecon-2012/" title="Orion Talks at EclipseCon 2012">EclipseCon 2012</a>.</p>
<p>You can always keep up with what&#8217;s happening in Orion <a href="http://planetorion.org/news/feed/" title="Planet Orion news feed">here</a>, follow the <a href="http://wiki.eclipse.org/Orion/Buzz" title="Orion BUZZ">BUZZ</a> on our Wiki and for sure, follow <a href="http://twitter.com/orionhub" title="OrionHub at Twitter">OrionHub at Twitter</a>.</p>
<p>This was just a brief overview of this release, for a more details look you can review our New and Noteworthy lists from our Milestone and end releases.</p>
<ul>
<li><a href="http://planetorion.org/news/2011/12/orion-0-4-m1-%E2%80%93-new-and-noteworthy/">Orion 0.4 M1 – New and Noteworthy</a></li>
<li><a href="http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/">Orion 0.4 M2 – New and Noteworthy</a></li>
<li><a href="http://planetorion.org/news/2012/02/orion-0-4-rc3-new-and-noteworthy/">Orion 0.4 RC3 – New and Noteworthy</a></li>
</ul>
<p>If you don&#8217;t yet have an OrionHub account, you can request one <a href="http://eclipse.org/orion/" title="OrionHub Account request">here</a> then use that account to login to <a href="http://orionhub.org/" title="OrionHub">OrionHub</a>. You can also <a href="http://download.eclipse.org/orion/" title="Orion Downloads">download</a> the latest release and run a local server.</p>
<p>And now back to work on 0.5&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/02/announcing-orion-0-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Orion 0.4 RC3 &#8211; New and Noteworthy</title>
		<link>http://planetorion.org/news/2012/02/orion-0-4-rc3-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2012/02/orion-0-4-rc3-new-and-noteworthy/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 20:10:48 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=190</guid>
		<description><![CDATA[With over 200 bug fixes since our M2 milestone, it has been a busy month for the Orion team. Many of these changes are bug fixes, polish, and performance improvements that end users won&#8217;t typically notice. Here are a few &#8230; <a href="http://planetorion.org/news/2012/02/orion-0-4-rc3-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With over 200 bug fixes since our <a href="http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/">M2 milestone</a>, it has been a busy month for the Orion team. Many of these changes are bug fixes, polish, and performance improvements that end users won&#8217;t typically notice. Here are a few noteworthy features that snuck in during our end-game:</p>
<h3 id="install-plugin-workflow">Streamlined workflow for Plugin installation</h3>
<p>Installing a plugin in Orion has been reduced to three clicks:</p>
<ol>
<li>Click <b>Get Plugins</b> in the banner at the top of any Orion page. This will take you to an external catalog of available plugins.</li>
<li>Click <b>Install</b> next to the plugin you want.</li>
<li>Back in Orion, click <b>Submit</b> to complete the installation.</li>
</ol>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-install.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-install.png" alt="" title="04rc3-install" width="581" height="153" class="alignnone size-full wp-image-192" /></a></p>
<p>You may not notice, but this process takes you across different web sites. The technology we&#8217;re developing to make this sort of workflow happen is some of the most exciting stuff happening in Orion. As with Eclipse, it is starting with development tools but we&#8217;re interested in seeing where else our plugin and cross-site linking architecture could be applied. Read Orion committer Susan McCourt&#8217;s <a href="http://adventuresinthoughtlessness.blogspot.com/2012/02/power-of-semantics.html">detailed writeup</a> to learn more about what&#8217;s going on under the covers.</p>
<h3 id="banner-polish">Improved header and command presentation</h3>
<p>Much of the user interface has received some polish. The rendering of command buttons has changed, and many icons have been improved. The header at the top of each page has had some tweaks too. There is a new spinning progress icon when work is happening to load dynamic content, and a new favorite (star) icon has been introduced to add the current page to your Orion favorites list.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-banner.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-banner.png" alt="" title="04rc3-banner" width="826" height="118" class="alignnone size-full wp-image-197" /></a></p>
<h3 id="fav-icons">Different Favicons per page</h3>
<p>Each of the major Orion pages now has a different Favicon, which is the icon that appears in the browser tab. Different icons help you keep track of what&#8217;s what when you have many tabs open.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-favicons1.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-favicons1.png" alt="" title="04rc3-favicons" width="501" height="43" class="alignnone size-full wp-image-196" /></a></p>
<h3 id="keyboard-nav">Keyboard and accessibility improvements</h3>
<p>You can now effectively use the <b>Navigator</b> page with a keyboard. Use Right arrow key to expand folders, Spacebar to select, and Enter to traverse the link into a child folder or file. Left arrow on a root entry in the list will go up to the parent folder. You can use Tab to traverse to the context menu next to any file or folder, and use Spacebar to open the menu. Plenty more fixes have gone in under the covers to improve accessibility of Orion using keyboard and screen reader technology.</p>
<h3 id="related-pages">More related pages entries</h3>
<p>The recently introduced <b>Related Pages</b> menu has had some new entries added. In particular, when browsing a Git clone in Orion that originated from either git.eclipse.org or github.com, we provide a back-link to the web site for the remote repository.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-related-github.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-related-github.png" alt="" title="04rc3-related-github" width="718" height="255" class="alignnone size-full wp-image-195" /></a></p>
<h3 id="git-open-commit">Open Commit in Git pages</h3>
<p>The Orion git pages now support a new command, <b>Open Commit</b> (Ctrl+Shift+H). This command opens a slideout where you can provide a Git commit sha1 hash. It will then open the <b>Orion Git Commit</b> page for that commit. From that page you can easily review and cherry-pick the change. This greatly simplifies the workflow for a developer accepting patch contributions, because they don&#8217;t have to hunt around for the branch containing the change.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-open-commit.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-open-commit.png" alt="" title="04rc3-open-commit" width="438" height="153" class="alignnone size-full wp-image-194" /></a></p>
<h3 id="checkout-selection">Checkout selection in Git Status</h3>
<p>You can now select one or more individual unstaged files to checkout in the <b>Git Status</b> page.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-checkout-selection.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/02/04rc3-checkout-selection.png" alt="" title="04rc3-checkout-selection" width="792" height="199" class="alignnone size-full wp-image-193" /></a></p>
<h3 id="performance">Faster page loads</h3>
<p>There has been a round of performance improvements on page loading. All new icons have been converted to CSS sprites, and some aspects of page rendering have been made a <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372182#c6">gazillion</a> times faster. We will keep pushing on this in future releases &#8211; we are well aware that performance can make or break a web application.</p>
<h3 id="command-context">Editor command extension improvements</h3>
<p>The Orion extension point that enables plugins to contribute commands to the Orion editor has had a number of improvements. The commands now have access to the URL of the resource being edited, and can be filtered to only apply on specific file content types. Nothing to see here for end users yet, but we expect to be able to do some neat things with this in our next release.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/02/orion-0-4-rc3-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Orion Presentations at EclipseCon 2012</title>
		<link>http://planetorion.org/news/2012/02/orion-presentations-at-eclipsecon-2012/</link>
		<comments>http://planetorion.org/news/2012/02/orion-presentations-at-eclipsecon-2012/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 22:08:59 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=188</guid>
		<description><![CDATA[EclipseCon 2012 is coming up in just over a month, and there is a great selection of talks and tutorials this year. Here are the Orion-related talks on the schedule: Extending Orion, an in-depth tutorial on writing plug-ins for Orion &#8230; <a href="http://planetorion.org/news/2012/02/orion-presentations-at-eclipsecon-2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipsecon.org/2012/">EclipseCon 2012</a> is coming up in just over a month, and there is a great selection of talks and tutorials this year. Here are the Orion-related talks on the schedule:</p>
<ul>
<li><a href="http://www.eclipsecon.org/2012/sessions/extending-orion">Extending Orion</a>, an in-depth tutorial on writing plug-ins for Orion</li>
<li><a href="http://www.eclipsecon.org/2012/sessions/micro-services-javascript">Micro Services in JavaScript</a>, a talk about the Orion service model, and how it compares to OSGi services.</li>
<li><a href="https://www.eclipsecon.org/2012/sessions/language-tooling-orion">Language Tooling in Orion</a>, an overview of the state of language tooling in Orion, with emphasis on the current and future direction of JavaScript/HTML5/CSS tooling in Orion</li>
<li><a href="http://www.eclipsecon.org/2012/sessions/developing-cloud-apps-orion-django-and-mongodb-30-minutes-or-less">Developing Cloud Apps with Orion, Django and MongoDB &#8211; in 30 Minutes or Less</a>, from the RedHat OpenShift team</li>
<li>An <a href="http://www.eclipsecon.org/2012/orion-bof">Orion birds of a feather session</a> (BoF) where  you can meet and interact with Orion project committers and contributors</li>
</ul>
<p>There are plenty of other great talks for web developers, from <a href="http://www.eclipsecon.org/2012/sessions/javascript-code-assist-nodejs-and-more">eBay&#8217;s free JavaScript tools</a> to Google&#8217;s new <a href="http://www.eclipsecon.org/2012/sessions/dart-action">Dart Programming Language</a>, and a whole track of <a href="http://www.eclipsecon.org/2012/category/tags/mobile">mobile talks</a>. </p>
<p>Today is the last day for the lowest early registration price, so <a href="http://www.eclipsecon.org/2012/registration">register now</a>! The Orion team looks forward to seeing you there.</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/02/orion-presentations-at-eclipsecon-2012/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Orion Features in Firefox 10 and 11</title>
		<link>http://planetorion.org/news/2012/02/orion-features-in-firefox-10-and-11/</link>
		<comments>http://planetorion.org/news/2012/02/orion-features-in-firefox-10-and-11/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:58:33 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=187</guid>
		<description><![CDATA[Firefox 10 was released yesterday, and the release announcement highlighted developer tools such as the Orion-based Scratchpad as key features in the release. At the same time, Firefox 11 moved into their Beta channel. The Mozilla developer tools team released &#8230; <a href="http://planetorion.org/news/2012/02/orion-features-in-firefox-10-and-11/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Firefox 10 was released yesterday, and the <a href="http://blog.mozilla.com/blog/2012/01/31/firefox-adds-powerful-new-developer-tools/">release announcement</a> highlighted developer tools such as the Orion-based Scratchpad as key features in the release. At the same time, Firefox 11 moved into their <a href="http://www.mozilla.org/en-US/firefox/channel/">Beta channel</a>. The Mozilla developer tools team released a <a href="http://blog.mozilla.com/devtools/2012/01/23/firefox-11-aurora-developer-tools-screencast/">cool video</a> last week showing upcoming features in Firefox 11, such as a 3D Page Inspector, and a new Orion-based Style Editor. Scratchpad and Style Editor are the result of many months of close collaboration between the Mozilla dev tools team and the <a href="http://orioneditor.blogspot.com/">Orion Editor</a> team. Congrats to <a href="http://www.robodesign.ro/mihai/blog">Mihai</a>, <a href="http://www.blueskyonmars.com/">Kevin</a>, and the rest of the Firefox team on another great release!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/02/orion-features-in-firefox-10-and-11/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Orion 0.4 M2 &#8211; New and Noteworthy</title>
		<link>http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 16:13:52 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=162</guid>
		<description><![CDATA[It has been another blockbuster milestone for the Orion project. This milestone brings extensive tooling improvements, including global search and replace, content assist for HTML, template completion for JavaScript, and CSS outline and error checking. The user interface has also &#8230; <a href="http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It has been another blockbuster milestone for the Orion project. This milestone brings extensive tooling improvements, including global search and replace, content assist for HTML, template completion for JavaScript, and CSS outline and error checking. The user interface has also had a major facelift with an eye toward giving more pixels to the most important content, and optimizing for mobile devices and touch displays. There is also a brand new user settings page, and a completely redesigned Git user interface. As always, you can give it a spin on <a href="http://orionhub.org/">OrionHub</a> (<a href="http://eclipse.org/orion/">sign up</a>), or <a href="http://download.eclipse.org/orion/drops/S-0.4M2-201201301209/index.html">download</a> your own copy. Read on below for more details.</p>
<h3 id="search-replace">Replace across multiple files</h3>
<p>You can now replace matches across multiple files from the <b>Search Results</b> page. After performing a search, click <b>Replace</b> to open a slideout where the replacement text is entered. After entering the text, click <b>Preview Changes</b> to open a preview of all the matches to be replaced. From this page you can check or uncheck individual files or matches, and use next/previous diff buttons in the compare editor to cycle through your changes. Finally, click <b>Commit</b> to perform the replace.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-replace.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-replace.png" alt="" title="04m2-search-replace" width="906" height="397" class="alignnone size-full wp-image-163" /></a></p>
<h3 id="search-navigation">Search results improvements</h3>
<p>You can now navigate through search results using the Up and Down arrow keys on your keyboard. Push Right arrow to open a popup showing additional lines surrounding the search result, and Left arrow to close the popup.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-highlight.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-highlight.png" alt="" title="04m2-search-highlight" width="622" height="284" class="alignnone size-full wp-image-164" /></a></p>
<h3 id="search-open-resource">Find File dialog improvements</h3>
<p>There have been several improvements to the <b>Find File</b> dialog, accessed via Ctrl+Shift+R in the editor or by pressing &#8216;t&#8217; on other pages:</p>
<ul>
<li>When multiple matching files have the same name, the full path of each file is now shown to help you tell them apart.</li>
<li>Matching favorites now appear at the top of the list</li>
<li>You can navigate between search results using the Up and Down arrow keys</li>
<li>Matches are now sorted alphabetically</li>
</ul>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-find-file.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-search-find-file.png" alt="" title="04m2-search-find-file" width="459" height="188" class="alignnone size-full wp-image-165" /></a></p>
<h3 id="tools-js-assist-templates">JavaScript content assist templates</h3>
<p>JavaScript content assist in Orion now provides templates for common control structures. Simply invoke content assist with Ctrl+Space, and select from among the available templates that match your current cursor position. Templates have been added for:</p>
<ul>
<li><tt>for...in</tt> iteration over object properties</li>
<li><tt>for</tt> loop over an array</li>
<li><tt>while</tt> and <tt>do/while</tt> loops</li>
<li><tt>if</tt> and <tt>if/else</tt> blocks</li>
<li><tt>try/catch</tt> and <tt>try/catch/finally</tt> blocks</li>
<li><tt>switch</tt> blocks</li>
</ul>
<p>Some templates require you to fill in certain variables such as conditions or other values. Use Tab to iterate through the fields to be completed, and Enter to finish the template.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-js-templates.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-js-templates.png" alt="" title="04m2-js-templates" width="791" height="153" class="alignnone size-full wp-image-166" /></a></p>
<h3 id="tools-js-assist-variables-args">JavaScript content assist variable and argument completion</h3>
<p>JavaScript content assist will now propose matching local variables and function arguments from all enclosing functions in the current script.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-js-var-completion.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-js-var-completion.png" alt="" title="04m2-js-var-completion" width="487" height="234" class="alignnone size-full wp-image-168" /></a></p>
<h3 id="tools-html-content-assist">HTML content assist</h3>
<p>Content assist has been added for HTML files. Invoking content assist in an empty file will produce a basic well-formed HTML 5 document. Completion is offered for all elements supported in HTML 5. Closing element tags are inserted where appropriate.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-html-assist1.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-html-assist1.png" alt="" title="04m2-html-assist1" width="769" height="155" class="alignnone size-full wp-image-169" /></a></p>
<p>For lists and tables, completion will also insert the first list item or table row for you:<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-html-assist2.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-html-assist2.png" alt="" title="04m2-html-assist2" width="772" height="152" class="alignnone size-full wp-image-170" /></a></p>
<h3 id="css-lint">CSS Lint plug-in</h3>
<p>Orion CSS Lint integration, previously available as a separate plugin, is now included by default in the set of plug-ins distributed with Orion. In addition, this plug-in now provides an outline view for CSS files.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-css-outline.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-css-outline.png" alt="" title="04m2-css-outline" width="529" height="295" class="alignnone size-full wp-image-171" /></a></p>
<h3 id="ui-settings-page">New settings page</h3>
<p>A new <b>Settings</b> page has been introduced. The <b>JavaScript Editor</b> tab allows customization of fonts and colors in the JavaScript editor. Note that changes take effect immediately across all editors you currently have open in the current browser.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-settings-editor.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-settings-editor.png" alt="" title="04m2-settings-editor" width="561" height="550" class="alignnone size-full wp-image-173" /></a></p>
<p>The <b>Plugins</b> tab shows the set of installed plugins, and supports adding and removing plugins. This page will evolve to show further details about each plugin as well.
</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-settings-plugins.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-settings-plugins.png" alt="" title="04m2-settings-plugins" width="756" height="470" class="alignnone size-full wp-image-172" /></a></p>
<h3 id="ui-navigate-up">Navigator &#8220;Go up&#8221; command</h3>
<p>A new command has been added to the <b>Navigator</b> page, allowing you to quickly navigate up to the parent of the current folder. Simply click <b>Go Up</b>, or use Alt+Up on your keyboard.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-nav-up.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-nav-up.png" alt="" title="04m2-nav-up" width="377" height="244" class="alignnone size-full wp-image-174" /></a></p>
<h3 id="ui-progress">Background progress reporting</h3>
<p>Orion can now report progress on multiple background operations at once, and even report progress on operations occurring in other frames and pages. This sounds simple, but anyone who has tried to do this on the web will realize how amazing this is. Click the progress button in the top right corner of the page to drop down a list of current and recent operations. From this list you can also visit a separate page showing a longer operation history.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-progress.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-progress.png" alt="" title="04m2-progress" width="332" height="267" class="alignnone size-full wp-image-175" /></a></p>
<h3 id="ui-related-pages">Related pages menu</h3>
<p>A new <b>Related Pages</b> menu has been added to the page header. This allows you to quickly navigate between multiple pages that deal with the same file or folder you are currently viewing. For example, from the editor page you can now quickly jump to the <b>Git Log</b> page showing commits involving that file.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-related-pages.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-related-pages.png" alt="" title="04m2-related-pages" width="670" height="215" class="alignnone size-full wp-image-176" /></a></p>
<h3 id="ui-header-revamp">Revamped Orion header</h3>
<p>The header at the top of each Orion page has been overhauled and cleaned up. Highlights include:</p>
<ol>
<li>More static information has been moved to the top of the header, and dynamic information has moved down to be closer to the content.</li>
<li>The logo has been moved and shrunk to make more room for the header information you really care about.</li>
<li>More room has been created for additional navigation features such as the new <b>Related pages</b> menu.</li>
<li>Toolbars have been moved down out of the header into the most appropriate page area. For example the <b>Save</b> button and current line/column information is now in a bar directly above the editor rather than in the global header. One result of this change is that toolbars are still available when the header/footer are collapsed via Ctrl+Shift+M</li>
</ol>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-header-revamp.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-header-revamp.png" alt="" title="04m2-header-revamp" width="806" height="180" class="alignnone size-full wp-image-177" /></a></p>
<p>
For more information on the Orion UI design philosophy and direction, see the <a href="http://wiki.eclipse.org/Orion/Page_Layout">Orion Page Layout</a> wiki page.
</p>
<h3 id="ui-tablet-layout">Customized tablet/mobile presentation</h3>
<p>Orion styling has been tweaked to work much better on mobile devices. When using a display of 1024 pixels or less, we now pad the checkbox and twistie icons with more hittable breathing room.It is now much easier to check/uncheck boxes and invoke commands on a small touch screen. In addition, an editor problem with automatic uppercasing introduced with a recent iOS update has been addressed. The Orion editor now functions well again on iPad.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-ipad.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-ipad.png" alt="" title="04m2-ipad" width="831" height="673" class="alignnone size-full wp-image-178" /></a></p>
<h3 id="fork-you">Fork me on Orion</h3>
<p>Orion now uses <a href="http://tools.ietf.org/html/draft-gregorio-uritemplate-08">URI templates</a> to invoke commands on an Orion page using a URI. These commands are limited to altering the page layout such as opening input fields and dialogs. For example, you can now create a URL to initiate a clone operation on a particular repository. To see this in action, click <a href="http://orionhub.org/git/git-repository.html?cloneGitRepository=http://git.eclipse.org/gitroot/orion/org.eclipse.orion.client.git">Fork me on OrionHub</a> to clone the Orion client code in your OrionHub account. Note you still need to manually click &#8220;Submit&#8221; after visiting the URL before the clone operation actually starts.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-fork-orion.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-fork-orion.png" alt="" title="04m2-fork-orion" width="690" height="223" class="alignnone size-full wp-image-179" /></a></p>
<h3 id="git-repository-page">New git repository page</h3>
<p>A completely new <b>Git Repositories</b> page has been introduced in this milestone. This replaces the previous deep tree structure with a flatter, more web-like presentation. Most basic commands are available at a glance without having to drill down, making the page much easier to use on touch and mobile devices. The <b>Working Directory</b> section shows at a glance what changes you have made that require staging or committing. The <b>Commits</b> sections shows all incoming commits that require merging, and all outgoing commits that have not been pushed to the current branch&#8217;s remote repository. There are further sections listing all branches, tags, and remotes for the current repository.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-repository-page.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-repository-page.png" alt="" title="04m2-git-repository-page" width="1022" height="541" class="alignnone size-full wp-image-180" /></a></p>
<h3 id="git-commit-page">New git commit details page</h3>
<p>A new <b>Git Commit</b> page has been introduced to accompany the new repositories page. Simply click on any commit from either the <b>Repositories</b> or <b>Git Log</b> page to open the commit details page. From here you can see all information about the commit, including author/committer, link to parent commit, associated tags, and diffs of all files modified by the commit. You can also tag or cherry-picka commit from this page.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-commit-page.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-commit-page.png" alt="" title="04m2-git-commit-page" width="677" height="748" class="alignnone size-full wp-image-181" /></a></p>
<h3 id="git-save-patch">Save and apply Git patches</h3>
<p>You can now save unstaged changes as a patch to be reapplied later. From the <b>Git Status</b> page, simply select the files to be saved, and click <b>Save Patch</b>.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-save-patch.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-save-patch.png" alt="" title="04m2-git-save-patch" width="506" height="194" class="alignnone size-full wp-image-182" /></a></p>
<p>Saved patches can be applied later, or by another user, by clicking <b>Apply Patch</b> on the <b>Git Repositories</b> page. A patch can be applied either from an uploaded file, or from a URL (such as a bugzilla attachment).<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-apply-patch.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-apply-patch.png" alt="" title="04m2-git-apply-patch" width="964" height="390" class="alignnone size-full wp-image-183" /></a></p>
<h3 id="git-remove-tag">Remove git tags</h3>
<p>Git tags can now be removed. From the <b>Git Repositories</b> page, find the tag you want to remove and click <b>Delete</b>. Tag deletions can be pushed to a remote repository using the <b>Push All</b> command on the same page.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-delete-tag.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-git-delete-tag.png" alt="" title="04m2-git-delete-tag" width="1013" height="329" class="alignnone size-full wp-image-184" /></a></p>
<h3 id="server-password-reset">Automatic password reset</h3>
<p>You can now associate an email address with your Orion account from your <b>Profile</b> page. Once the address is confirmed, it can be used to automatically reset your Orion password if you forget it in the future.<br />
<a href="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-password-reset.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/04m2-password-reset.png" alt="" title="04m2-password-reset" width="447" height="383" class="alignnone size-full wp-image-185" /></a></p>
<h3 id="server-jetty">Server running Jetty 8</h3>
<p>We have upgraded the neolithic Jetty version we previously shipped with the Orion Server. We are now running and delivering the most recent Jetty 8.1 from eclipse.org.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/01/orion-0-4-m2-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Writing a Content Assist Plugin For Orion</title>
		<link>http://planetorion.org/news/2012/01/writing-a-content-assist-plugin-for-orion/</link>
		<comments>http://planetorion.org/news/2012/01/writing-a-content-assist-plugin-for-orion/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 18:12:35 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=156</guid>
		<description><![CDATA[Orion includes a simple but powerful infrastructure for implementing content assist for your favorite language. This article will describe how to create your own content assist plugin by working through a simple example. As with any Orion plugin, the starting &#8230; <a href="http://planetorion.org/news/2012/01/writing-a-content-assist-plugin-for-orion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Orion includes a simple but powerful infrastructure for implementing content assist for your favorite language. This article will describe how to create your own content assist plugin by working through a simple example. As with any Orion plugin, the starting point is an HTML file declaring your plugin. You can find a complete example <a href="https://github.com/jarthorn/orion.ruby/blob/master/public/rubyEditor.html">here</a>, but the body of the plugin is a simple script like this:</p>
<pre name="orion" class="js ruler">
  window.onload = function() {
    var provider = new eclipse.PluginProvider();
    provider.registerServiceProvider("orion.edit.contentAssist",
      new RubyContentAssistProvider(),
      {name: "Ruby content assist", pattern: "\\.(ru|rb)$"});
    provider.connect();
  };
</pre>
<p>This script registers an implementation of the <tt>orion.edit.contentAssist</tt> service. The service parameters indicate that it should be associated with filenames ending in &#8220;.ru&#8221;, or &#8220;.rb&#8221;. The content assist implementation is found in the RubyContentAssistProvider object defined in a separate script, <a href="https://github.com/jarthorn/orion.ruby/blob/master/public/rubyContentAssist.js">rubyContentAssist.js</a>. This script defines a service implementation object declaring the <tt>computeProposals</tt> method. The completion reference for the arguments and return value of this method are provided in the <a href="http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.contentAssist"><tt>orion.edit.contentAssist</tt></a> documentation. </p>
<h3>Example 1: Simple keywords</h3>
<p>Let&#8217;s start with a simple example that offers completion on a subset of Ruby&#8217;s reserved keywords.</p>
<pre name="orion" class="js ruler">
function computeProposals(prefix) {
  return ["alias","and","begin", "break","case","class"];
}
</pre>
<p>We are given a string argument that contains the sequence of word characters immediately preceding the current cursor position. We didn&#8217;t use the argument here but we could have used it to only compute the proposals matching that prefix. Since a simple keyword list is trivial to compute we didn&#8217;t bother &#8211; the Orion content assist implementation will only show proposals matching that prefix anyway. Here&#8217;s a shot of our current content assist implementation in action:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-simple.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-simple.png" alt="" title="assist-ruby-simple" width="293" height="105" class="alignnone size-full wp-image-158" /></a></p>
<h3>Example 2: Advanced completion features</h3>
<p>Now let&#8217;s look at a more interesting example:</p>
<pre name="orion" class="js ruler">
  function computeProposals(prefix, buffer, selection) {
    var proposals = ["alias","and","begin", "break","case","class"];
    var prefixStart = selection.offset - prefix.length;
    var precedingChar = buffer.charAt(prefixStart - 1);
    if (precedingChar === '=' &#038;&#038; "begin".indexOf(prefix) === 0) {
      //suggest writing a block comment
      proposals.push({
        proposal: "begin\n\n=end",
        description: "=begin - block comment",
        escapePosition: prefixStart+6
      });
    }
    return proposals;
  }
</pre>
<p>We have added two more arguments to the <tt>computeProposals</tt> function: <b>buffer</b>, and <b>selection</b>. These arguments contain the current editor buffer and selection at the time content assist was invoked. We are using this information to check if the user is attempting to create a Ruby block comment, which starts with &#8220;=begin&#8221;.</p>
<p>Instead of returning a simple string in this example, we are returning a proposal object. This object allows us to provide more details back to the caller such as a description of the proposal, and the cursor position the editor should have after the completion has been inserted. In this case we want the cursor to end up inside the newly created block comment. </p>
<p>Also note that the text of the proposal does not include the equals character. The completion engine will only replace the provided prefix word, which only includes normal word characters (letters, numbers, or the underscore character). We already know that the character immediately before the prefix is an equals character already, so we don&#8217;t need to insert another one. Here is a shot of our enhanced content assist in action:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-comment.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-comment.png" alt="" title="assist-ruby-comment" width="359" height="137" class="alignnone size-full wp-image-159" /></a></p>
<p>Note that both the <tt>begin</tt> keyword and the block comment proposal are included here. The description we provided for the block comment proposal helps the user understand the difference in this case. A more complete example could do more sophisticated analysis of the source to rule out the possibility of a keyword appearing at this location, and only show the block comment proposal.</p>
<h3>Example 3: Linked mode completion</h3>
<p>We&#8217;ll use one final example to illustrate Orion&#8217;s linked mode completion. This works exactly like some of the content assist in the Eclipse Java development tools, where after selecting a proposal the user uses the tab key to iterate through a set of fields that need to be filled in. Once all the fields are filled in, the user presses enter to finish the insertion process and exit linked mode. In Orion we indicate a linked mode completion by adding a <tt>positions</tt> property to a returned proposal. This property is an array of position objects indicating the offset and length of each linked region that requires user completion. In this example we use linked mode for an &#8220;if block&#8221; template where the user must provide the conditional expression:</p>
<pre name="orion" class="js ruler">
  function computeProposals(prefix, buffer, selection) {
    var proposals = [];
    var prefixStart = selection.offset - prefix.length;
    if ("if".indexOf(prefix) === 0) {
      //suggest writing a block comment
      proposals.push({
        proposal: "if condition\n\t\nend",
        description: "if - if block",
        positions: [{offset: prefixStart + 3, length: 9}]
        escapePosition: prefixStart+14
      });
    }
    return proposals;
  }
</pre>
<p>When this proposal is accepted, the proposal text is inserted and the editor selection moves to the first position, which is the &#8220;condition&#8221; field.  Below is a screenshot of what the editor looks like after this proposal has been selected. Note that the message area in the Orion toolbar indicates to the user that they have entered into a linked mode completion.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-linked.png"><img src="http://planetorion.org/news/wp-content/uploads/2012/01/assist-ruby-linked.png" alt="" title="assist-ruby-linked" width="341" height="184" class="alignnone size-full wp-image-160" /></a></p>
<p>After editing the condition, the user hits <b>Enter</b> to finish the insertion, and the cursor will move to the indicated escape position. Note that the <tt>escapePosition</tt> property doesn&#8217;t need to account for the fact that the user might add or remove characters in the linked fields before they are done. The content assist engine will automatically adjust this value to account for any typing, so you just need to record the final cursor position under the assumption that the user will not modify any of the linked fields.</p>
<p>This concludes our overview of Orion&#8217;s content assist infrastructure. As these examples illustrate, it is very easy to get started with writing your own content assist service for Orion. Writing a truly powerful content assist service requires much more in depth source code analysis, but Orion takes care of all the basic editing infrastructure to let you focus on the language analysis. Check out the complete <a href="https://github.com/jarthorn/orion.ruby">Ruby editor example</a> and <a href="http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#orion.edit.contentAssist">Developer guide</a> for the most up to date details.</p>
<p><script src="http://planetorion.org/editor/orionformatterbuilt.js"></script><br />
<script type="text/javascript">
 require("examples/textview/orionformatter");
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2012/01/writing-a-content-assist-plugin-for-orion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Your tools installed on two billion devices</title>
		<link>http://planetorion.org/news/2011/12/your-tools-installed-on-two-billion-devices/</link>
		<comments>http://planetorion.org/news/2011/12/your-tools-installed-on-two-billion-devices/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 20:10:28 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=154</guid>
		<description><![CDATA[Although most of the effort in Orion today is in the basic development tool plumbing you can already get elsewhere, Orion committers are starting to see more &#8220;Aha&#8221; moments where we get a glimpse of the deeper implications of web-based &#8230; <a href="http://planetorion.org/news/2011/12/your-tools-installed-on-two-billion-devices/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Although most of the effort in Orion today is in the basic development tool plumbing you can already get elsewhere, Orion committers are starting to see more &#8220;Aha&#8221; moments where we get a glimpse of the deeper implications of web-based tooling. Some examples from the past couple of weeks:</p>
<ul>
<li>Two team members were talking on the phone about some layout ideas for an Orion preference page. After struggling to verbally explain what he was doing, one participant realized that since his launched &#8220;test&#8221; application was on the web, he could just send the URL to the other participant to look at it directly. Not only that, his current editor state was also on the web, so he could send a link to his current editor contents, down to the current line position, to his colleague as well. They were then able to tweak the code together and both immediately see the result on the running application.</li>
<li>One team member got her private Git repository into a funny state where she couldn&#8217;t push changes. After some futile attempts to resolve it she pinged some other committers for ideas. Another committer was immediately able to log into her account, poke around with the private repository, and figure out and resolve the problem.</li>
<li>A team member got a new treadmill, and during his first run he realized the treadmill display was actually driven by a WebKit browser. Before the end of the run he had logged into his Orion account, pulled the latest changes into his workspace, and even attempted some simple code edits.</li>
</ul>
<p>By themselves these are not world changing examples, and there are certainly existing technologies that could help out in similar situations. You can use a topic branch to share unfinished work with a colleague, and you can use screen sharing or web conference software to show others what you are working on. You could plunk your laptop down next to your treadmill if you really wanted to. The difference is that the existing technologies lack the sense of immediacy, of being able to provision your entire development tool infrastructure to any device within seconds without any kind of advance planning. </p>
<p>Think of how long it can sometimes take to get your development tool environment set up precisely as you want it. All the tools you need, the source code checked out and compiled, the target platform configured just so. Now think of the <a href="http://www.worldometers.info/computers/<br />
">billion PC&#8217;s</a> out there, the <a href="http://www.gamingangels.com/2010/01/one-billion-people-will-own-smartphones-market-analysis/">billion smart phones</a>, and the <a href="http://www.guardian.co.uk/technology/2011/sep/22/tablet-forecast-gartner-ipad">hundreds of millions</a> of tablets, car displays, and other browser-enabled devices. Imagine any one of those devices on the planet could be running your exact development tool environment, down to the last character you typed, in the amount of time it takes to type in a password. What kind of tools could we build in such a world? On the Orion team we are only taking the first baby steps into this world, and we have no idea where it will take us, but we can&#8217;t wait to find out!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2011/12/your-tools-installed-on-two-billion-devices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Orion 0.4 M1 – New and Noteworthy</title>
		<link>http://planetorion.org/news/2011/12/orion-0-4-m1-%e2%80%93-new-and-noteworthy/</link>
		<comments>http://planetorion.org/news/2011/12/orion-0-4-m1-%e2%80%93-new-and-noteworthy/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 22:10:47 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[New & Noteworthy]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=136</guid>
		<description><![CDATA[If you don&#8217;t have winter holiday plans yet, why not cosy up by the fire with the latest Orion milestone, or give away copies to loved-ones on your gift list. Whatever you plan on using it for, here are some &#8230; <a href="http://planetorion.org/news/2011/12/orion-0-4-m1-%e2%80%93-new-and-noteworthy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t have winter holiday plans yet, why not cosy up by the fire with the latest Orion milestone, or give away copies to loved-ones on your gift list. Whatever you plan on using it for, here are some of the more noteworthy things available in milestone build M1 (December 9, 2011). You can <a href="http://download.eclipse.org/orion/drops/S-0.4M1-201112092044/index.html">download it</a>, or head over to <a href="http://orionhub.org">Orion Hub</a> and let us worry about installation and upgrade for you. If you don&#8217;t already have an account, visit <a href="http://eclipse.org/orion">http://eclipse.org/orion</a> to register.</p>
<h3 id="tooling-html-validation">HTML syntax validation</h3>
<p>Orion now provides basic HTML syntax validation. Warnings and errors will display for common HTML problems such as malformed elements, missing tags, incorrect element nesting, and duplicate element ids.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-syntax-validation.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-syntax-validation.png" alt="" title="04m1-html-syntax-validation" width="300" height="224" class="alignnone size-full wp-image-137" /></a></p>
<h3 id="tooling-modes-highlighting">CodeMirror syntax highlighting</h3>
<p>An Orion plugin is now available that connects <a href="http://codemirror.net/">CodeMirror</a> syntax highlighting to the Orion editor. This means Orion now provides syntax highlighting for all languages that have CodeMirror modes available, including: C/C++, C#, Clojure, CoffeeScript, Groovy, Pascal, Perl, PHP, Python, Ruby, Scheme, Smalltalk, and many others. Visit the <a href="http://mamacdon.github.com/orion-codemirror/codeMirrorPlugin.html">CodeMirror plugin for Orion</a> for a complete list of languages and installation instructions.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-code-mirror-highlighting.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-code-mirror-highlighting.png" alt="" title="04m1-code-mirror-highlighting" width="702" height="243" class="alignnone size-full wp-image-138" /></a></p>
<h3 id="tooling-mixed-mode-highlighting">CodeMirror mixed mode syntax highlighting</h3>
<p>The <a href="http://mamacdon.github.com/orion-codemirror/codeMirrorPlugin.html">CodeMirror plugin for Orion</a> also supports syntax highlighting of mixed-mode documents. In particular, JavaScript and PHP embedded in HTML files are now appropriately highlighted.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-mixed-mode-highlighting.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-mixed-mode-highlighting.png" alt="" title="04m1-mixed-mode-highlighting" width="588" height="257" class="alignnone size-full wp-image-139" /></a></p>
<h3 id="tooling-modes-html-validation">CodeMirror dynamic syntax validation</h3>
<p>Another advantage of the <a href="http://mamacdon.github.com/orion-codemirror/codeMirrorPlugin.html">CodeMirror plugin for Orion</a> is highlighting of syntax errors. This has been hooked into the Orion editor&#8217;s annotation model to underline syntax errors that occur as you type. For example while editing HTML, there is immediate syntax validation for missing or malformed elements. In the example below, the mismatched heading element, and missing &lt;/li&gt; element are highlighted and underlined in red.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-dynamic-validation.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-dynamic-validation.png" alt="" title="04m1-html-dynamic-validation" width="320" height="155" class="alignnone size-full wp-image-140" /></a></p>
<h3 id="tooling-content-types">New content type service</h3>
<p>Orion has introduced a new content type service, <a href="http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Core_client_services#orion.file.contenttype"><tt>orion.file.contenttype</tt></a>. This service allows plugins to introduce new content types, and associate content types with file extensions and MIME types. In addition, some core Orion services have been augmented to support content types over their previous file extension matching. For example, editors can now be associated with content types rather than file extensions. This allows different language tooling to be used for files containing mixed HTML and PHP (&#8220;application/x-httpd-php&#8221;), versus plain HTML (&#8220;text/html&#8221;), even when the file extension is the same in both cases. The remaining Orion language tooling services will be reworked to support content types in the following milestone.</p>
<h3 id="tooling-default-editor">Default text editor</h3>
<p>A new service, <tt>orion.navigate.openWith.default</tt>, allows a plugin to declare the default editor to use when opening files whose content-type does not match any known type. The built-in Orion editor now implements this, meaning all text files regardless of extension or content can be opened in the editor.</p>
<h3 id="tooling-html-outliner">HTML outliner plugin</h3>
<p>A new Orion plugin is available that provides a detailed outline when editing HTML files. Simply install the <a href="http://jarthorn.github.com/html-tools/htmlOutlinePlugin.html">HTML outline plugin</a>, and then select either <b>Full HTML</b> or <b>Filtered HTML</b> from the drop-down menu in the <b>Outline</b> pane. We are still working on figuring out what level of detail is useful, so please try it out and send feedback. Even better, fork the <a href="https://github.com/jarthorn/html-tools">repository</a> and play around with your own ideas.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-outline.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-html-outline.png" alt="" title="04m1-html-outline" width="216" height="276" class="alignnone size-full wp-image-141" /></a></p>
<h3 id="search-wildcards">Wildcard search</h3>
<p>You can now use simple wildcards in global searches. Use &#8216;*&#8217; for an arbitrary sequence of characters and &#8216;?&#8217; for a single character.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-wildcard.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-wildcard.png" alt="" title="04m1-search-wildcard" width="583" height="295" class="alignnone size-full wp-image-142" /></a></p>
<h3 id="search-pagination">Pagination of search results</h3>
<p>Search results are now delivered in pages rather than all at once. Buttons in the toolbar can be used to navigate to the next or previous page of results.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-pagination.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-pagination.png" alt="" title="04m1-search-pagination" width="632" height="175" class="alignnone size-full wp-image-143" /></a></p>
<h3 id="search-sort">Changing sorting in search results</h3>
<p>Search results are now sorted alphabetically by location, rather than by search rank. You can now also switch to sorting search results by filename via the options menu.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-sort.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-sort.png" alt="" title="04m1-search-sort" width="770" height="303" class="alignnone size-full wp-image-144" /></a></p>
<h3 id="search-scope">Scope search to a folder</h3>
<p>You can now perform searches on particular folders rather than across all your files. On the <b>Navigator</b> page, the search will now be performed only in the current folder, indicated by the breadcrumb in the top banner. </p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-scope-banner.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-scope-banner.png" alt="" title="04m1-search-scope-banner" width="442" height="83" class="alignnone size-full wp-image-145" /></a></p>
<p>From the search results page, you can adjust the search scope up to a parent folder by clicking that parent folder in the breadcrumb. Click a location in the <b>Location</b> column to repeat the search only within that single folder.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-scope-change.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-scope-change.png" alt="" title="04m1-search-scope-change" width="572" height="201" class="alignnone size-full wp-image-146" /></a></p>
<h3 id="search-context">More contextual information in search</h3>
<p>To go along with all the new search features this milestone, the search results page now tells you a lot more about what is going on. You can now see what terms you were searching for, in what folders, how many results in total, and what page of results you are currently viewing. Also, when you save a search, the bookmark gives more information about the search scope and terms.	</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-context.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-search-context.png" alt="" title="04m1-search-context" width="167" height="227" class="alignnone size-full wp-image-147" /></a></p>
<h3 id="ui-improvements">User interface improvements</h3>
<p>The user experience for collecting input has been redesigned in this milestone. Most input is now collected in lightweight &#8220;slideouts&#8221; rather than popup dialogs. Simply type the requested text in the slideout, or press the &#8220;&#8230;&#8221; button to provide more advanced input. Hit the &#8216;X&#8217; button or the Esc key to dismiss the input.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-slideout.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-slideout.png" alt="" title="04m1-slideout" width="326" height="69" class="alignnone size-full wp-image-148" /></a></p>
<p>In addition, the presentation for action buttons within pages has been revamped. These buttons are now always visible rather than only being shown on hover. This makes the actions accessible using your keyboard, and makes it possible to use them on touch interfaces where there is no concept of hover. We will continue to evolve the presentation in future milestones to ensure Orion is fully accessible, and to improve user experience on mobile and touch devices.</p>
<h3 id="ui-collapse-banner">Hide header and footer</h3>
<p>You can now collapse the header and footer areas on all pages. This is especially handy on mobile or small screen devices where vertical space is at a premium. When you also collapse the <b>Outline</b> slideout, the editor can now fill the entire window. Collapse and expand the header using the <b>Ctrl+Shift+M</b> key sequence (or <b>Cmd+Shift+M</b> on Mac).</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-collapse-banner.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-collapse-banner.png" alt="" title="04m1-collapse-banner" width="585" height="410" class="alignnone size-full wp-image-149" /></a></p>
<h3 id="ui-goto-last-edit">Go to last edit location</h3>
<p>A new command, <b>Last Edit Location</b>, will jump the cursor to the location of your last modification in the editor. This is handy when you quickly want to refer to another part of the file while editing, and then jump back to where you left off typing. The command is available via <b>Ctrl+Q</b> (or <b>Cmd+Q</b> on Mac). As always, if you forget the key binding for a command, you can hit <b>Ctrl+Shift+L</b> to see a complete list of available commands in the editor.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-last-edit-location.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-last-edit-location.png" alt="" title="04m1-last-edit-location" width="429" height="190" class="alignnone size-full wp-image-150" /></a></p>
<h3 id="editor-performance">Editor performance improvements</h3>
<p>While the Orion editor is already quite fast and scalable, it was slow and choppy to horizontally scroll very long lines. Horizontal scroll performance has been significantly improved in this milestone, in particular on Firefox and Chrome.</p>
<h3 id="editor-spaces-tabs">Use spaces for tabs</h3>
<p>The Orion editor now supports using spaces instead of tabs for indentation. This is not currently enabled by default, but we are working on providing a preference page for customizing this in the future. Clients who are embedding the Orion editor in their own page can configure this using the <tt>expandTab</tt> option when configuring the Orion text view widget.</p>
<h3 id="editor-async-create">Asynchronous editor creation</h3>
<p>The Orion editor can now be created asynchronously, with callbacks provided when editor initialization is complete. For clients embedding the Orion editor in their own page, this allows you to initialize the editor in the background while it is invisible and only display it when fully initialized. See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349627">bug 349627</a> for further details.</p>
<h3 id="git-log-pagination">Pagination of Git log</h3>
<p>The <b>Git Log</b> page now shows log information one page at a time rather than all at once. This improves performance for viewing the history of very large Git repositories. Buttons in the toolbar can be used to navigate between the log pages.</p>
<h3 id="git-apply-patch">Git apply patch</h3>
<p>You can now apply patches to a Git repository in Orion. Go to the <b>Repositories</b> page, and select <b>Apply Patch</b> from the actions menu.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-git-patch.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-git-patch.png" alt="" title="04m1-git-patch" width="704" height="229" class="alignnone size-full wp-image-151" /></a></p>
<h3 id="git-pull">Git Pull command</h3>
<p>A <b>Git Pull</b> command has been added in the <b>Repositories</b> page. Although this is equivalent to performing a <b>Fetch</b> followed by a <b>Merge</b>, <b>Pull</b> is a handy shortcut when you know the incoming changes can be applied safely and cleanly.</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-git-pull.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/12/04m1-git-pull.png" alt="" title="04m1-git-pull" width="654" height="177" class="alignnone size-full wp-image-152" /></a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2011/12/orion-0-4-m1-%e2%80%93-new-and-noteworthy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Developing for OpenShift on Orion</title>
		<link>http://planetorion.org/news/2011/11/developing-for-openshift-on-orion/</link>
		<comments>http://planetorion.org/news/2011/11/developing-for-openshift-on-orion/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 22:49:31 +0000</pubDate>
		<dc:creator>John Arthorne</dc:creator>
				<category><![CDATA[Integrations]]></category>

		<guid isPermaLink="false">http://planetorion.org/news/?p=124</guid>
		<description><![CDATA[The number of cloud deployment platforms is growing steadily. A recent entrant this year is OpenShift, from Red Hat. It includes a free software stack for Java, Ruby, Perl, PHP, and others, with support for an impressive list of application &#8230; <a href="http://planetorion.org/news/2011/11/developing-for-openshift-on-orion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The number of cloud deployment platforms is growing steadily. A recent entrant this year is <a href="https://openshift.redhat.com/app/">OpenShift</a>, from Red Hat. It includes a free software stack for Java, Ruby, Perl, PHP, and others, with support for an impressive list of <a href="https://openshift.redhat.com/app/features">application frameworks</a>. With their free express edition you can get a simple web application up and running entirely from your browser using Orion. Here&#8217;s how:</p>
<p>1) Sign up for a free <a href="https://openshift.redhat.com/app/user/new/express">OpenShift account</a>.</p>
<p>2) Add a public ssh key to your OpenShift account. Use ssh-keygen to generate new ones or use an existing key pair if you have it.</p>
<p>3) In the <b>Create an app&#8230;</b> section of the OpenShift <a href="https://openshift.redhat.com/app/control_panel">control panel</a>, enter an application name and type. I selected PHP, but you can also use Rails, JBoss, etc. </p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-create-app.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-create-app.png" alt="" title="rhc-create-app" width="714" height="135" class="alignnone size-full wp-image-125" /></a></p>
<p>Creating the application will give you two important bits of information: the Git URL for uploading your application, and the deployed application URL:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-app.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-app.png" alt="" title="rhc-app" width="830" height="133" class="alignnone size-full wp-image-127" /></a></p>
<p>4) In <a href="http://orionhub.org">Orion</a>, go to the <b>Repositories</b> page, and click <b>Clone Repository</b>. Enter the Git URL obtained in step 3).</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-clone.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-clone.png" alt="" title="rhc-clone" width="368" height="177" class="alignnone size-full wp-image-126" /></a></p>
<p>5) On the Orion <b>Navigator</b> page, expand your application and browse the contents:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-orion-navigate.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-orion-navigate.png" alt="" title="rhc-orion-navigate" width="286" height="216" class="alignnone size-full wp-image-128" /></a></p>
<p>6) Click <i>index.php</i> to open in the Orion editor, and add your HTML and PHP code:</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-edit-app.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-edit-app.png" alt="" title="rhc-edit-app" width="732" height="335" class="alignnone size-full wp-image-129" /></a></p>
<p>7) Back on the <b>Repositories</b> page, click <b>Git Status</b> next to your repository to open the Orion Git status page. Stage, commit, and push your changes. You will need to paste the private SSH key corresponding to the public key you uploaded to OpenShift in step 2).</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-commit.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-commit.png" alt="" title="rhc-commit" width="470" height="333" class="alignnone size-full wp-image-130" /></a></p>
<p>Finally, navigate to the deployed application URL provided in step 3) to see your application!</p>
<p><a href="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-deployed.png"><img src="http://planetorion.org/news/wp-content/uploads/2011/11/rhc-deployed.png" alt="" title="rhc-deployed" width="500" height="159" class="alignnone size-full wp-image-131" /></a></p>
<p>While this was just a trivial example, there are a large number of <a href="https://github.com/openshift">sample OpenShift applications</a> on GitHub. Examples include popular PHP packages like WordPress, Drupal, and MediaWiki, all of which can be deployed on your free OpenShift domain and edited in Orion. One major drawback is that you can&#8217;t configure SQL repositories for your application directly from the OpenShift console. You have to install ugly old command line tools for that part, but hopefully they will add it to the console in the future.</p>
<p>We can see the convergence happening here between development and deployment platforms. As they get closer together, it is becoming possible to author web applications from your browser, and deploy them without having to install a single development tool on your local computer. Exciting times!</p>
]]></content:encoded>
			<wfw:commentRss>http://planetorion.org/news/2011/11/developing-for-openshift-on-orion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

