<?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>Remus Stratulat - On the Stre@m &#187; JSEclipse</title>
	<atom:link href="http://www.stratulat.com/blog/category/jseclipse/feed" rel="self" type="application/rss+xml" />
	<link>http://www.stratulat.com/blog</link>
	<description>This is my personal blog</description>
	<lastBuildDate>Sat, 10 Jul 2010 07:07:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Use Flex Builder 3 to create a JavaScript AIR application.</title>
		<link>http://www.stratulat.com/blog/use-flex-builder-3-to-create-a-javascript-air-application</link>
		<comments>http://www.stratulat.com/blog/use-flex-builder-3-to-create-a-javascript-air-application#comments</comments>
		<pubDate>Wed, 04 Jun 2008 20:38:15 +0000</pubDate>
		<dc:creator>Remus Stratulat</dc:creator>
				<category><![CDATA[JSEclipse]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.stratulat.com/blog/?p=108</guid>
		<description><![CDATA[I have tried today to create an AIR application. My tool of choice was Flex Builder 3 as I knew you can create AIR applications using it. So let&#8217;s see what I have done. Of course, first I have created the AIR project: From the beginning I have spotted a problem in this picture: there [...]]]></description>
			<content:encoded><![CDATA[<p>I have tried today to create an AIR application. My tool of choice was Flex Builder 3 as I knew you can create AIR applications using it.</p>
<p>So let&#8217;s see what I have done.</p>
<p>Of course, first I have created the AIR project:</p>
<p><img class="alignnone size-medium wp-image-109" title="nfp_myairapp" src="http://www.stratulat.com/blog/wp-content/nfp_myairapp.jpg" alt="New Flex Project - MyAirApp" /></p>
<p>From the beginning I have spotted a problem in this picture: there was no mention to HTML or JavaScript or anything. Adobe AIR has the capabilities to render HTML and one of the strongest points of this framework is that a web developer can basicaly hit the ground running and just program his way into the desktop world using HTML and JavaScript.</p>
<p>Going forward, I have search resources to see what is the tooling support for this and I found in Adobe&#8217;s documentation an entry about this: <a title="AIR development tools" href="http://livedocs.adobe.com/air/1/devappshtml/">AIR development tools</a>. Obviously, even if is not mentioned in that chapter of documentation, Flex Builder 3 has suppor for creating AIR applications so let&#8217;s persue this further and set up the environment.</p>
<p>If we run the application right now, MyAirApp window shows up as a Flex AIR application. We need to change that so MyAirApp to render html.</p>
<p>First let&#8217;s create <em>index.html</em> and set it up to be used by the AIR application. To do that the <em>bin-degug/MyAirApp-app.xml</em> file should be edited and change two tags: <strong>content </strong>and <strong>visible</strong>. Yes I now, is not a very elegant thing to do. Is just the first thing that helped me. I&#8217;ll try to find a less hackish way to this. If you already know one please share it with us.</p>
<p><img class="alignnone size-full wp-image-112" title="set_myairapp1" src="http://www.stratulat.com/blog/wp-content/set_myairapp1.jpg" alt="" /></p>
<p>Running now the application will render:</p>
<p><img class="alignnone size-full wp-image-110" title="html_myairapp" src="http://www.stratulat.com/blog/wp-content/html_myairapp.jpg" alt="" width="313" height="206" /></p>
<p>So here is my first HTML AIR application. OK, I said JavaScript AIR application into the title. This is only the first step to get there. More will come soon.</p>
<p>Have fun coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stratulat.com/blog/use-flex-builder-3-to-create-a-javascript-air-application/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>JSEclipse on Adobe Labs</title>
		<link>http://www.stratulat.com/blog/jseclipse-on-adobe-labs</link>
		<comments>http://www.stratulat.com/blog/jseclipse-on-adobe-labs#comments</comments>
		<pubDate>Fri, 15 Dec 2006 21:33:27 +0000</pubDate>
		<dc:creator>Remus Stratulat</dc:creator>
				<category><![CDATA[JSEclipse]]></category>

		<guid isPermaLink="false">http://www.stratulat.com/wordpress/?p=28</guid>
		<description><![CDATA[JSEclipse has make it on Adobe labs. After InterAKT was acquired by Adobe, JSEclipse was one of the products that caught their attention and after a long period of review it landed on the Labs. JSEclipse is a new plugin for the Eclipse environment that helps developers code JavaScript faster and with no errors. With [...]]]></description>
			<content:encoded><![CDATA[<p>JSEclipse has make it on Adobe labs. After InterAKT was acquired by Adobe, JSEclipse was one of the products that caught their attention and after a long period of review it landed on the Labs.</p>
<p><ins>JSEclipse is a new plugin for the Eclipse environment that helps developers code JavaScript faster and with no errors. With JSEclipse, you can complete a variety of tasks, from editing small sections of code to working with the next big AJAX library or developing plug-ins for a product that embeds JavaScript snippets.</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stratulat.com/blog/jseclipse-on-adobe-labs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>prototype.js, script.aculo.us and Yahoo! User Interface Library</title>
		<link>http://www.stratulat.com/blog/prototypejs-scriptaculous-and-yahoo-user-interface-library</link>
		<comments>http://www.stratulat.com/blog/prototypejs-scriptaculous-and-yahoo-user-interface-library#comments</comments>
		<pubDate>Mon, 22 May 2006 07:59:53 +0000</pubDate>
		<dc:creator>Remus Stratulat</dc:creator>
				<category><![CDATA[JSEclipse]]></category>

		<guid isPermaLink="false">http://www.stratulat.com/wordpress/?p=44</guid>
		<description><![CDATA[What all this Ajax frameworks have in common? JSEclipse 1.5.2 that has the capability to understand all their idioms and propose all the classes for code completion.]]></description>
			<content:encoded><![CDATA[<p>What all this Ajax frameworks have in common? <a href="http://www.interaktonline.com/Products/Eclipse/JSEclipse/Whats-new/">JSEclipse 1.5.2</a> that has the capability to understand all their idioms and propose all the classes for code completion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stratulat.com/blog/prototypejs-scriptaculous-and-yahoo-user-interface-library/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JSEclipse 1.5 :: Hidden Treasures :: templates</title>
		<link>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-templates</link>
		<comments>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-templates#comments</comments>
		<pubDate>Mon, 08 May 2006 21:43:13 +0000</pubDate>
		<dc:creator>Remus Stratulat</dc:creator>
				<category><![CDATA[JSEclipse]]></category>

		<guid isPermaLink="false">http://www.stratulat.com/wordpress/?p=45</guid>
		<description><![CDATA[JSEclipse 1.5 includes a new feature, pretty common in other editors: code templates (also known as code snipets). JSElispe comes with a set of predefined templates. I am proposing here to add a new and useful template for the AJAX developers, particularly for the ones that are using prototype.js. The template is for creating and [...]]]></description>
			<content:encoded><![CDATA[<p>JSEclipse 1.5 includes a new feature, pretty common in other editors: code templates (also known as code snipets).</p>
<p>JSElispe comes with a set of predefined templates. <br />
<img src="http://www.stratulat.com/blogs/media/prop.png" width="500" height="381" alt="JSEclipse templates" /></p>
<p>I am proposing here to add a new and useful template for the AJAX developers, particularly for the ones that are using <strong>prototype.js</strong>. The template is for creating and extending a class. The code (straight from prototype.js source code) looks like this:</p>
<p><code><ins><br />
Form.Observer = Class.create();<br />
Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {<br />
&nbsp;&nbsp;getValue: function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;return Form.serialize(this.element);<br />
&nbsp;&nbsp;}<br />
});<br />
</ins><br />
</code></p>
<p>To add a new template just go to <strong>Window/Preferences..</strong> and then <strong>JSEclipse/Templates</strong>. The <strong>New&#8230;</strong> button will open the dialog for adding a new template. </p>
<p><img src="http://www.stratulat.com/blogs/media/prottmp.png" width="400" height="239" alt="New prototype.js Object.extends() template." /></p>
<p>After pasting the code inside the <strong>Pattern</strong> text area all that remain is to replace parts of the code with template variables: The next image is showing the result.</p>
<p><img src="http://www.stratulat.com/blogs/media/newtmp_01.png" width="400" height="243" alt="prototype.js template" /></p>
<p>Now there is only one thing. Test the template into a JavaScript page:<br />
<img src="http://www.stratulat.com/blogs/media/tmpwork.png" width="450" height="166" alt="Insert the prototype.js extends template." /></p>
<p>After selecting the template and typing <em>MyClass</em> in the first box this is how the editor looks like:</p>
<p><img src="http://www.stratulat.com/blogs/media/tmpfinal.png" width="449" height="162" alt="Editing the inserted template." /></p>
<p>It can be noticed one thing: typing MyClass in the first box also changes the value of the first box from the next row. These two boxes were created with ${ClassName} and their values are bound. To move to the next box to be edited just hit Tab. </p>
<p>So, if you are using prototype.js this little template will be quite useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-templates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSEclipse 1.5 :: Hidden Treasures :: code completion and comments</title>
		<link>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-code-completion-and-comments</link>
		<comments>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-code-completion-and-comments#comments</comments>
		<pubDate>Mon, 20 Mar 2006 21:00:24 +0000</pubDate>
		<dc:creator>Remus Stratulat</dc:creator>
				<category><![CDATA[JSEclipse]]></category>

		<guid isPermaLink="false">http://www.stratulat.com/wordpress/?p=48</guid>
		<description><![CDATA[In all programming languages writing comments is a good practice. In JSEclipse, writing comments is not just a good practice is a best practice. JSEclipse takes into account code comments in many ways. First let&#8217;s take a look at a situation: If we add now a comment to the initialize method, that comment will be [...]]]></description>
			<content:encoded><![CDATA[<p>In all programming languages writing comments is a good practice. In JSEclipse, writing comments is not just a good practice is a best practice.</p>
<p>JSEclipse takes into account code comments in many ways. First let&#8217;s take a look at a situation:</p>
<p><img src="http://www.stratulat.com/blogs/media/JSEclipse2.png" width="469" height="274" border="1" alt="Basic code completion" /></p>
<p>If we add now a comment to the initialize method, that comment will be displayed along with the proposed completions.</p>
<p><img src="http://www.stratulat.com/blogs/media/JSEclipse3_01.png" width="462" height="262" alt="Commented method" /></p>
<p>We can go further in specifying our comments, we can use JSDoc comments. Let&#8217;s specify a type for our parameters and try code completion on them inside the method: </p>
<p><img src="http://www.stratulat.com/blogs/media/JSEclipse4.png" width="486" height="274" alt="Code completion from JSDoc" /></p>
<p>Another method to specify parameter types is the following: </p>
<p><img src="http://www.stratulat.com/blogs/media/JSEclipse5.png" width="486" height="271" alt="Code completion from inline comments" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stratulat.com/blog/jseclipse-15-hidden-treasures-code-completion-and-comments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
