<?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>Software Technology Blog &#187; JavaScript</title>
	<atom:link href="http://blog.harbinger-systems.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.harbinger-systems.com</link>
	<description>Technology trends, design, delivery and Harbinger Systems</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:03:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta1</generator>
		<item>
		<title>Web Apps Come of Age with HTML5</title>
		<link>http://blog.harbinger-systems.com/2011/03/web-apps-come-of-age-with-html5/</link>
		<comments>http://blog.harbinger-systems.com/2011/03/web-apps-come-of-age-with-html5/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 14:36:27 +0000</pubDate>
		<dc:creator>Ajay Sachdeo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Application Cache]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MPEG4]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[Web Workers]]></category>

		<guid isPermaLink="false">http://blog.harbinger-systems.com/?p=691</guid>
		<description><![CDATA[It is fast becoming the case that web and windows apps actually have a sliver of a difference between them. I would like to share what I have felt about HTML5 for a while now – that it will change the way we write web apps! The following features will make HTML5 a great web [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2011%2F03%2Fweb-apps-come-of-age-with-html5%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2011%2F03%2Fweb-apps-come-of-age-with-html5%2F&amp;style=normal&amp;hashtags=Application+Cache,Audio,Canvas,CSS,HTML5,JavaScript,MPEG4,Video,Web+Apps,Web+Workers&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It is fast becoming the case that web and windows apps actually have a sliver of a difference between them. I would like to share what I have felt about HTML5 for a while now – that it will change the way we write web apps!</p>
<p>The following features will make HTML5 a great web standard for tomorrow:</p>
<ol>
<li>Video and Audio</li>
<li>Canvas</li>
<li>Web Workers</li>
<li>Application Cache</li>
</ol>
<p><strong>Video and Audio:</strong></p>
<p>Before arrival of HTML5, browsers were dependent on object and embed tags to insert multimedia content. Browsers supported limited formats of audio and video. You had to look out for an external plug-in to support any a new format. With HTML5, various formats are supported by using just a <a href="http://diveintohtml5.org/video.html" target="_blank">&lt;video&gt; tag</a>.  HTML5 video tag supports MPEG4, flv, ogg, WebM and avi.  As for &lt;audio&gt; tag, it supports Ogg vorbis, MP3 and wav. What’s more, you can control video and audio from JavaScript.</p>
<p><strong>Canvas:</strong></p>
<p>This is one of my favorite tags, probably because I started with this tag. <a href="http://diveintohtml5.org/canvas.html" target="_blank">Canvas tag</a> is used to render graphics and images on the fly. If you are thinking of game development, you can easily rely on JavaScript and CSS as the ‘game engines’. Take a look at our <a href="http://www.harbinger-systems.com/project/HTML5-Canvas-Tanker.htm">HTML5 canvas-based game</a> here. All current versions of leading web browsers support canvas tag. There are some interesting tutorials <a href="https://developer.mozilla.org/en/canvas_tutorial" target="_blank">here</a> to get you started on canvas.</p>
<p>Steps to use Canvas:</p>
<ol>
<li>Declare a canvas tag</li>
<li>From JavaScript, call getContext method to get handle to canvas context object</li>
<li>Use canvas context to draw shapes, images and graphics</li>
</ol>
<p><strong>Web Workers:</strong></p>
<p>Web workers are another addition to HTML5 that helps you perform javascript processing using background process. Think of Web Workers as Hyper-Threading for web browsers! You can easily offload any function to background threads and improve application’s responsiveness.  Implementing web workers can be broken into following steps:</p>
<ol>
<li>Create a Web Worker</li>
<li>Post a message to the Web Worker</li>
<li>Handle the notification handler triggered by posting message in  #2</li>
</ol>
<p>For more details, refer to Robert Nyman’s <a href="http://robertnyman.com/2010/03/25/using-html5-web-workers-to-have-background-computational-power/" target="_blank">post on web workers</a>.</p>
<p><strong>Application Cache:</strong></p>
<p>How about an email client designed in HTML5 with offline caching functionality? This will allow a user to browse through cached emails even when he or she is offline. Loading time will be faster as the data will be fetched from cache. <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html">Application Cache</a> in HTML5 is achieved by:</p>
<p style="padding-left: 30px;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">a.<span style="font: 7.0pt &amp;amp;quot;"> </span></span></span>Registering the content type of manifest file as “text/cache-manifest”</p>
<p class="MsoListParagraphCxSpMiddle" style="padding-left: 60px;">For Apache, you can use AddType directive “AddType text/cache-manifest .manifest”</p>
<p class="MsoListParagraphCxSpMiddle" style="padding-left: 60px;">You can add “.manifest” MIME Type to Internet Information Server</p>
<p class="MsoListParagraphCxSpMiddle" style="padding-left: 30px;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">b.<span style="font: 7.0pt &amp;amp;quot;"> </span></span></span>Creating cache manifest file to include/exclude objects that will be cached.</p>
<pre style="margin-left: 0.5in; padding-left: 30px;"><code><span style="font-size: 11.0pt; font-family: &amp;amp;quot; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; color: black;">CACHE MANIFEST</span></code></pre>
<pre style="margin-left: 0.5in; padding-left: 30px;"><code><span style="font-size: 11.0pt; font-family: &amp;amp;quot; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; color: black;">/styles.css</span></code></pre>
<pre style="margin-left: 0.5in; padding-left: 30px;"><code><span style="font-size: 11.0pt; font-family: &amp;amp;quot; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; color: black;">/logic.js</span></code></pre>
<pre style="margin-left: 0.5in; padding-left: 30px;"><code><span style="font-size: 11.0pt; font-family: &amp;amp;quot; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; color: black;">/background.jpg</span></code></pre>
<p class="MsoListParagraphCxSpFirst" style="padding-left: 30px;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;">c.<span style="font: 7.0pt &amp;amp;quot;"> </span></span></span>Adding manifest attribute in the HTML file</p>
<p class="MsoListParagraphCxSpLast" style="padding-left: 60px;">&lt;html manifest=&#8221;/cache.manifest&#8221;&gt;</p>
<p><a href="http://diveintohtml5.org/offline.html">Application cache</a> offers a great amount of flexibility on what can be included / excluded in it. Though there are limitations on the size of data (5mb), this can still be useful feature if you are developing offline apps using HTML5.</p>
<g:plusone href="http://blog.harbinger-systems.com/2011/03/web-apps-come-of-age-with-html5/"  size="standard"   ></g:plusone></script>
<span style=''><g:plusone count="true" size="tall"></g:plusone></span><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.harbinger-systems.com%2F2011%2F03%2Fweb-apps-come-of-age-with-html5%2F&amp;title=Web%20Apps%20Come%20of%20Age%20with%20HTML5" id="wpa2a_2"><img src="http://blog.harbinger-systems.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.harbinger-systems.com/2011/03/web-apps-come-of-age-with-html5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comparing JQuery, Ext JS, Dojo, Prototype and YUI</title>
		<link>http://blog.harbinger-systems.com/2009/07/comparing-jquery-ext-js-dojo-prototype-html/</link>
		<comments>http://blog.harbinger-systems.com/2009/07/comparing-jquery-ext-js-dojo-prototype-html/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 18:18:44 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Dojo]]></category>
		<category><![CDATA[Ext JS]]></category>
		<category><![CDATA[Flex Javascript comparison]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript frameworks]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://192.168.3.81:82/wordpress-2.9/?p=36</guid>
		<description><![CDATA[There are many JavaScript frameworks available today for programming rich client-side interactions in web applications. With many such different options, it is important to choose a framework that not only serves your current requirement, but also serves you in the long run. We drew up a visual comparison between Ext JS and four other popular [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F07%2Fcomparing-jquery-ext-js-dojo-prototype-html%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F07%2Fcomparing-jquery-ext-js-dojo-prototype-html%2F&amp;style=normal&amp;hashtags=Dojo,Ext+JS,Flex+Javascript+comparison,JavaScript,JavaScript+frameworks,JQuery,Prototype,YUI&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><span style="font-family: arial;font-size:100%;" >There are many JavaScript frameworks available today for programming rich client-side interactions in web applications. With many such different options, it is important to choose a framework that not only serves your current requirement, but also serves you in the long run. We drew up a visual comparison between Ext JS and four other popular JavaScript frameworks: Prototype, Dojo, JQuery and YUI. Our detailed comparison spanned 20 different attributes. In addition to feature-set and technical comparisons, we also looked at parameters such as community support, design principles and quality of documentation and samples to provide a sense of the framework’s durability.</p>
<p>Overall, Ext JS and JQuery came out strong with respect to their support of basic technical features. Both are upcoming frameworks that show commitment towards robustness of design and conceptual modeling that is needed for serious web applications. Ext JS has a rich library of widgets, both of them integrate with other JavaScript libraries in some manner, and both can model complex user interactions in their own way. Ext JS is emerging as an “industry-strength” framework and is being increasingly used in the enterprise.</p>
<p>Your initial choice of JavaScript framework is an important one and the differences between these frameworks can be subtle. Being client-side technologies, these frameworks handle multiple priorities like usability, scripting ease, support for browsers, performance and many others, and making an informed choice about these technologies requires thorough analysis.</p>
<p>You can request the full white paper at <a href="http://www.harbinger-systems.com/tech-articles/software-dev-company-info-form.htm?code=HSTW102">http://www.harbinger-systems.com/tech-articles/software-dev-company-info-form.htm?code=HSTW102</a></p>
<p></span></p>
<g:plusone href="http://blog.harbinger-systems.com/2009/07/comparing-jquery-ext-js-dojo-prototype-html/"  size="standard"   ></g:plusone></script>
<span style=''><g:plusone count="true" size="tall"></g:plusone></span><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F07%2Fcomparing-jquery-ext-js-dojo-prototype-html%2F&amp;title=Comparing%20JQuery%2C%20Ext%20JS%2C%20Dojo%2C%20Prototype%20and%20YUI" id="wpa2a_4"><img src="http://blog.harbinger-systems.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.harbinger-systems.com/2009/07/comparing-jquery-ext-js-dojo-prototype-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enterprise Web 2.0: Examples from the real world</title>
		<link>http://blog.harbinger-systems.com/2009/05/enterprise-web-20-examples-from-real-html/</link>
		<comments>http://blog.harbinger-systems.com/2009/05/enterprise-web-20-examples-from-real-html/#comments</comments>
		<pubDate>Sat, 16 May 2009 07:34:18 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[enterprise 2.0]]></category>
		<category><![CDATA[enterprise web]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[rich internet applications]]></category>
		<category><![CDATA[tagging]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://192.168.3.81:82/wordpress-2.9/?p=29</guid>
		<description><![CDATA[We made a presentation earlier this year at the Web 2.0 Expo in San Francisco with real life applications of Web 2.0 inside the enterprise. The presentation covers how Web 2.0 can be used for improving employee productivity and for management visibility within the enterprise. An abridged version of the presentation is available at http://www.slideshare.net/hsplmkting/enterprise-web-20-caught-at-work]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F05%2Fenterprise-web-20-examples-from-real-html%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F05%2Fenterprise-web-20-examples-from-real-html%2F&amp;style=normal&amp;hashtags=collaboration,enterprise+2.0,enterprise+web,JavaScript,RIA,rich+internet+applications,tagging,web+2.0&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><span style=";font-family:arial;font-size:100%;"  >We made a presentation earlier this year at the Web 2.0 Expo in San Francisco with real life applications of Web 2.0 inside the enterprise. The presentation covers how Web 2.0 can be used for improving employee productivity and for management visibility within the enterprise.</p>
<p>An abridged version of the presentation is available at <a href="http://www.slideshare.net/hsplmkting/enterprise-web-20-caught-at-work">http://www.slideshare.net/hsplmkting/enterprise-web-20-caught-at-work</a><br />
</span></p>
<g:plusone href="http://blog.harbinger-systems.com/2009/05/enterprise-web-20-examples-from-real-html/"  size="standard"   ></g:plusone></script>
<span style=''><g:plusone count="true" size="tall"></g:plusone></span><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F05%2Fenterprise-web-20-examples-from-real-html%2F&amp;title=Enterprise%20Web%202.0%3A%20Examples%20from%20the%20real%20world" id="wpa2a_6"><img src="http://blog.harbinger-systems.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.harbinger-systems.com/2009/05/enterprise-web-20-examples-from-real-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presenting at the Web 2.0 Expo, San Francisco</title>
		<link>http://blog.harbinger-systems.com/2009/03/presenting-at-web-20-expo-san-francisco-html/</link>
		<comments>http://blog.harbinger-systems.com/2009/03/presenting-at-web-20-expo-san-francisco-html/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 05:37:04 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[enterprise 2.0]]></category>
		<category><![CDATA[enterprise web]]></category>
		<category><![CDATA[ISV]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[rich internet applications]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[web 2.0 expo]]></category>

		<guid isPermaLink="false">http://192.168.3.81:82/wordpress-2.9/?p=17</guid>
		<description><![CDATA[We are coming to the O&#8217;Reilly Web 2.0 Expo in San Francisco and presenting &#8220;10 Enterprise 2.0 Screens in 10 Minutes&#8221;. Our presentation is at 11:20 AM on April 1. The full presentation schedule is available at: http://www.web2expo.com/webexsf2009/public/content/solutions-showcase And do come and visit us at booth #721!]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F03%2Fpresenting-at-web-20-expo-san-francisco-html%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F03%2Fpresenting-at-web-20-expo-san-francisco-html%2F&amp;style=normal&amp;hashtags=enterprise+2.0,enterprise+web,ISV,JavaScript,reporting,RIA,rich+internet+applications,web+2.0,web+2.0+expo&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><span style="font-family: arial; font-size: 100%;">We are coming to the O&#8217;Reilly Web 2.0 Expo in </span><span style="font-family: arial; font-size: 100%;">San Francisco and presenting &#8220;10 Enterprise 2.0 Screens in 10 Minutes&#8221;. Our presentation is at 11:20 AM </span><span style="font-family: arial; font-size: 100%;">on April 1.</span></p>
<p>The full presentation schedule is available at: <a href="http://www.web2expo.com/webexsf2009/public/content/solutions-showcase">http://www.web2expo.com/webexsf2009/public/content/solutions-showcase</a></p>
<p><span style="font-family: arial; font-size: 100%;">And do come and visit us at booth #721!</span></p>
<g:plusone href="http://blog.harbinger-systems.com/2009/03/presenting-at-web-20-expo-san-francisco-html/"  size="standard"   ></g:plusone></script>
<span style=''><g:plusone count="true" size="tall"></g:plusone></span><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.harbinger-systems.com%2F2009%2F03%2Fpresenting-at-web-20-expo-san-francisco-html%2F&amp;title=Presenting%20at%20the%20Web%202.0%20Expo%2C%20San%20Francisco" id="wpa2a_8"><img src="http://blog.harbinger-systems.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.harbinger-systems.com/2009/03/presenting-at-web-20-expo-san-francisco-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

