<?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>Christophe Coenraets &#187; Dropbox</title>
	<atom:link href="http://coenraets.org/blog/category/dropbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://coenraets.org/blog</link>
	<description>Web Platform, Cloud and Mobile Application Development</description>
	<lastBuildDate>Mon, 13 May 2013 16:05:20 +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>Creating a Dropbox Integration Extension for Brackets</title>
		<link>http://coenraets.org/blog/2012/10/creating-a-dropbox-integration-extension-for-brackets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-a-dropbox-integration-extension-for-brackets</link>
		<comments>http://coenraets.org/blog/2012/10/creating-a-dropbox-integration-extension-for-brackets/#comments</comments>
		<pubDate>Fri, 19 Oct 2012 15:33:22 +0000</pubDate>
		<dc:creator>Christophe Coenraets</dc:creator>
				<category><![CDATA[Brackets]]></category>
		<category><![CDATA[Dropbox]]></category>

		<guid isPermaLink="false">http://coenraets.org/blog/?p=4476</guid>
		<description><![CDATA[A few months ago, Adobe unveiled Brackets, a new code editor for HTML, CSS and JavaScript that is written in HTML, CSS and JavaScript. Brackets is open source and is being developed in the open here. Brackets is still in early development and is not ready for general use yet. One thing that I&#8217;m really [...]]]></description>
				<content:encoded><![CDATA[<p>A few months ago, Adobe unveiled <a href="http://brackets.io/">Brackets</a>, a new code editor for HTML, CSS and JavaScript that is written in HTML, CSS and JavaScript. Brackets is open source and is being developed in the open <a href="https://github.com/adobe/brackets">here</a>. Brackets is still in early development and is not ready for general use yet.</p>
<p>One thing that I&#8217;m really excited about is the extensibility layer in Brackets. It is really easy to write extensions that augment Brackets capabilities in various ways. Just like Brackets itself, you write Brackets extensions using JavaScript, HTML, and CSS. A list of existing extensions is maintained <a href="https://github.com/adobe/brackets/wiki/Brackets-Extensions">here</a>. </p>
<p>So, I decided to give it a try myself, and create a Dropbox integration extension that allows you to open a Dropbox folder in Brackets, edit the Dropbox files in the Brackets editors, and save the modified files back to Dropbox. The idea behind this extension is to be able to work on a project hosted in Dropbox from any computer without having to install and configure Dropbox. The extension uses <a href="https://github.com/dropbox/dropbox-js">dropbox.js</a> to access the Dropbox OAuth and REST APIs. </p>
<p>Watch the video:</p>
<p><iframe width="640" height="360" src="http://www.youtube.com/embed/WzrmGCqC_uE?list=UUa-0FYdNAFp9Fp9dtR1ETXg&amp;hl=en_US" frameborder="0" allowfullscreen></iframe><br />
<span id="more-4476"></span><br />
This extension is a PROOF OF CONCEPT and is not suitable for production use yet. However, the basic functionality is there, and I thought it would be interesting to share it at this stage. Some of the limitations include:</p>
<ol>
<li>It creates a local version of the files. Ideally I&#8217;d like it to work without any local files being created.</li>
<li>It doesn&#8217;t handle subfolders (Brackets Sprint 14 doesn&#8217;t provide an API to create folders)</li>
<li>If you restart Brackets, it doesn&#8217;t reconnect the local project folder with the Dropbox folder. You have to open a new empty folder on your local file system and Open the Dropbox folder again.</li>
</ol>
<h4>Source Code</h4>
<p>The source code is available in <a href="https://github.com/ccoenraets/brackets-dropbox">this</a> GitHub repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://coenraets.org/blog/2012/10/creating-a-dropbox-integration-extension-for-brackets/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
