<?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>Mrinal Wadhwa &#187; AJAX</title>
	<atom:link href="http://weblog.mrinalwadhwa.com/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblog.mrinalwadhwa.com</link>
	<description>en route to a richer Internet</description>
	<lastBuildDate>Sat, 29 May 2010 05:48:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adobe BrowserLab: Cross browser testing Nirvana</title>
		<link>http://weblog.mrinalwadhwa.com/2009/06/03/adobe-browserlab/</link>
		<comments>http://weblog.mrinalwadhwa.com/2009/06/03/adobe-browserlab/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 07:14:55 +0000</pubDate>
		<dc:creator>Mrinal Wadhwa</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[browserlab]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://weblog.mrinalwadhwa.com/?p=910</guid>
		<description><![CDATA[<p>Adobe has just released <a href="http://browserlab.adobe.com">BrowserLab</a> (formerly Meer Meer). Quoting their website, the tool lets you .. </p>
<blockquote><p>&#8220;Preview and test your web pages on leading browsers and operating systems &#8211; on demand. Adobe BrowserLab makes it easier and faster than ever before to see how your designs appear to your customers and audience. Get your results in real time, from virtually any computer connected to the web&#8221;</p></blockquote>
<p>This is a snapshot of 2 views of my blog .. one on Firefox 3 &#8211; OSX and other on Firefox 3 &#8211; Windows XP .. <a href="http://en.wikipedia.org/wiki/Onion_skinning">onion skinned</a> on top of each other &#8230;<!--more--></p>
<p><img src="http://weblog.mrinalwadhwa.com/wp-content/uploads/2009/06/browserlab.png" alt="BrowserLab mrinalwadhwa.com" width="100%"/></p>
<p>Anyone who has built and deployed HTML+JavaScript+CSS websites knows that cross browser testing can be a pain. I think <a href="https://browserlab.adobe.com">BrowserLab</a> is a great addition to a web developers toolbox. </p>
]]></description>
		<wfw:commentRss>http://weblog.mrinalwadhwa.com/2009/06/03/adobe-browserlab/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Enhancing Flex applications with Google Gears</title>
		<link>http://weblog.mrinalwadhwa.com/2008/06/27/flex-and-gears/</link>
		<comments>http://weblog.mrinalwadhwa.com/2008/06/27/flex-and-gears/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 18:41:29 +0000</pubDate>
		<dc:creator>Mrinal Wadhwa</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Gears]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[SilverLight]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[google gears]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://weblog.mrinalwadhwa.com/?p=313</guid>
		<description><![CDATA[<p><a href="http://gears.google.com">Google Gears</a> is a very interesting platform.  It&#8217;s a browser plugin that is aimed at extending the abilities of web browsers to satiate the needs of modern day rich web applications. The Gears website defines it as follows ..</p>
<blockquote><p>Gears is an open source project that enables more powerful web applications, by adding new features to your web browser:</p>
<ul>
<li>Let web applications interact naturally with your desktop</li>
<li>Store data locally in a fully-searchable database</li>
<li>Run JavaScript in the background to improve performance</li>
</ul>
</blockquote>
<p>Gears today provides some very <a href="http://code.google.com/apis/gears/api_summary.html">interesting features</a> like a <a href="http://code.google.com/apis/gears/api_workerpool.html">WorkerPool</a> module to run JavaScript code in the background, without blocking the main page&#8217;s script execution, a <a href="http://code.google.com/apis/gears/api_localserver.html">LocalServer</a> module that allows a web application to cache and serve its HTTP resources locally without a network connection, a <a href="http://code.google.com/apis/gears/api_database.html">Database</a> module that provides browser-local relational data storage, a <a href="http://code.google.com/apis/gears/api_desktop.html">Desktop</a> module that allows you to create desktop shortcuts for your web applications and more.</p>
<p>There are some very interesting <a href="http://sites.google.com/site/io/improving-browsers-in-new-ways-gears">features in the works</a> as well like Desktop Notifications from browser apps, Multiple file select, resuming uploads, geolocation support etc.</p>
<p>All the above features have the potential of drastically changing the experience users have when using applications in the browser and that excites me <img src='http://weblog.mrinalwadhwa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
<p>Many of these features can be very useful for applications that run in other plugins like Flash Player or Silverlight Player as well&#8230;<!--more--> while ideally all these abilities should be available within these other plugins natively, but the world of web development isn&#8217;t that ideal, is it?. Both Flash and Silverlight have the ability to communicate with the wrapping html page and hence they could potentially use the abilities that Gears provides via the wrapper. The obvious argument against this approach though would be that your application will become dependent on the availability of two plugins in place of one and that&#8217;s a bad move. However, that does not mean you should not take advantage of Gears in your Flex/Silverlight applications, it only means that you should use Gears in a way that your app does not become dependent on it. One approach, for example, could be to expose Gears dependent functionality to a user only when Gears is available on his machine and if its not available quietly and gracefully degrade the functionality. You could check if gears is present using the following code ..<br />
&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">google</span> <span style="color: #339933;">&amp;&amp;</span> google.<span style="color: #660066;">gears</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
       <span style="color: #006600; font-style: italic;">//gears is installed</span>
<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
     <span style="color: #006600; font-style: italic;">//gears is not installed</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>I&#8217;m sure you could come up with other such approaches, so I&#8217;d love to know your suggestions.</p>
<p>Meanwhile, I cooked up this little <a href="http://experiments.mrinalwadhwa.com/Gears/FlexDesktopShortcut/FlexGears.html">example Flex app</a> that checks to see if Gears is installed and then allows the user to place a shortcut to the app on his desktop.<br />
&nbsp;<br />
<a href='http://experiments.mrinalwadhwa.com/Gears/FlexDesktopShortcut/FlexGears.html'><img src="http://weblog.mrinalwadhwa.com/wp-content/uploads/2008/06/2008-06-26_1602.png" alt="" title="Create Desktop Shortcut from a Flex app" width="500" height="192" class="aligncenter size-full wp-image-316" /></a></p>
<p><a href='http://weblog.mrinalwadhwa.com/wp-content/uploads/2008/06/2008-06-26_1601.png'><img src="http://weblog.mrinalwadhwa.com/wp-content/uploads/2008/06/2008-06-26_1601.png" alt="" title="" width="500" height="129" class="aligncenter size-full wp-image-317" /></a></p>
<p>&nbsp;<br />
Although <a href="http://experiments.mrinalwadhwa.com/Gears/FlexDesktopShortcut/srcview/index.html">the code</a> is well commented and self explanatory here are a few things I would like to point out &#8230;</p>
<ul>
<li>I have used the ExternalInterface class to communicate with the html wapper, you can read more about how this is done <a href="http://livedocs.adobe.com/flex/3/html/passingarguments_1.html">here in the docs. </a>  </li>
<li>The gears api is needed to communicate with Gears, you can read about using the gears api <a href="http://code.google.com/apis/gears/design.html">here</a> </li>
<li>The first thing you will need to do to start communicating with Gears is include the <a href="http://code.google.com/apis/gears/tools.html#gears_init">gears_init.js</a> in the html wrapper. You can do this by downloading the file to your source folder and including the below line of code in the index.template.html file in your Flex project
</li>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;  src=&quot;gears_init.js&quot;&gt;&lt;/script&gt;</pre></div></div>

<li>I have used Abdul&#8217;s very cool <a href="http://www.abdulqabiz.com/blog/archives/macromedia_flex/a_mxml_componen.php">JavaScript MXML component</a> to include all my JavaScript code in my mxml file itself.</li>
</ul>
<h1>
<ul>
<li><a href="http://experiments.mrinalwadhwa.com/Gears/FlexDesktopShortcut/FlexGears.html">Check out the example application</a></li>
<li><a href="http://experiments.mrinalwadhwa.com/Gears/FlexDesktopShortcut/srcview/index.html">View Source </a></li>
</ul>
</h1>
<h2>Known Bug</h2>
<p>The flex app temporarily blanks out when the Gears conformation dialog appears on FireFox 3 on  MacOS. I&#8217;m not sure why this happens but it seems like a bug with FireFox.</p>
<p>Finally, do let me know your views on using Gears to enhance applications already dependent on another plugin like Flash Player or Silverlight Player.</p>
<p>&nbsp;&nbsp;</p>
<h2>Update:</h2>
<p>The above blanking out problem could be an issue with flash player as well so I have submitted the issue as a bug to bugs.adobe.com, <a href="https://bugs.adobe.com/jira/browse/FP-376">please vote it up.</a></p>
]]></description>
		<wfw:commentRss>http://weblog.mrinalwadhwa.com/2008/06/27/flex-and-gears/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upcoming RIA events in Bangalore</title>
		<link>http://weblog.mrinalwadhwa.com/2008/03/16/upcoming-ria-events-in-bangalore/</link>
		<comments>http://weblog.mrinalwadhwa.com/2008/03/16/upcoming-ria-events-in-bangalore/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 20:11:04 +0000</pubDate>
		<dc:creator>Mrinal Wadhwa</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[initRIA]]></category>

		<guid isPermaLink="false">http://weblog.mrinalwadhwa.com/2008/03/16/upcoming-ria-events-in-bangalore/</guid>
		<description><![CDATA[<p>Last year, many of us RIA enthusiasts in India were kinda disappointed with the lack of RIA related events in India, so very close to the end of last year I with some other members from <a href="http://bangalorefx.org">BangaloreFX</a> <a href="http://weblog.mrinalwadhwa.com/category/initria/">helped organize</a> the very first RIA focused event in the country <a href="http://initria.org">initRIA</a> and it was <a href="http://weblog.mrinalwadhwa.com/2007/12/21/initria-round-up/">a big success</a>. </p>
<p>Things are very different this year, from the very beginning of the year I started to feel that RIAs were getting a lot of traction in the local circles and we have a lot of fun in store for India this year. In February all the Flex user groups in the county <a href="http://weblog.mrinalwadhwa.com/2008/02/25/adobe-releases-flex-3-and-air-10/">celebrated the launch of Flex 3 and AIR 1.0</a> and we now have some excellent events lined up already &#8230; here&#8217;s a list of events that have already been announced &#8230; </p>
<ul>
<li><font size=3><a href="http://adoberiarch.eventbrite.com/">Adobe RIA Architects Summit 2008</a></font> &#8211; April 3rd
<p>Notable Attendees:
<ul>
<li>Naresh Gupta, MD, Adobe India</li>
<li>David Wadhwani, VP of the Platform BU, Adobe</li>
<li><a href="http://www.jamesward.org/wordpress/">James Ward</a>, RIA Cowboy</li>
<li><a href="http://www.forta.com/">Ben Forta</a>, the Coldfusion Guru</li>
</ul>
</li>
<p>&nbsp;</p>
<li><font size=3><a href="http://www.adobeas3tour.com/">Colin Moock&#8217;s ActionScript 3.0: From The Ground Up Tour</a></font> &#8211; April 29th
<p><a href="http://moock.org/">Colin Moock</a> is the author of the best ActionScript 3 book there is, <a href="http://moock.org/eas3/">Essential ActionScript 3</a> and a very well renowned expert in the AS3 world.
</li>
<p>&nbsp;</p>
<li><font size=3><a href="http://www.developersummit.com/">Great Indian Developer Summit</a></font> &#8211; May 19th to 23rd
<p>Although this is a broader event and is not free like the above two events, there are two speakers on its speaker list that i would love to listen to:</p>
<ul>
<li><a href="http://blog.jjg.net/">Jesse James Garrett</a>, he coined the term AJAX</li>
<li><a href="http://flexblog.faratasystems.com/">Yakov Fain</a>, a renowned name in the Flex and Java worlds and I love reading his blog</li>
</ul>
</li>
</ul>
<p>&nbsp;<br />
These are the events that have already been announced, I know there are many others that are being planned &#8230;<a href="http://www.onflex.org/ted/2007/11/max-2007-done-max-2008-coming-soon.php"> there&#8217;s word that we might even have an Adobe MAX in Bangalore this year.</a>.<br />
&nbsp;<br />
<font size=3>So lets get ready to party !!</font>&nbsp;<!--more--></p>
]]></description>
		<wfw:commentRss>http://weblog.mrinalwadhwa.com/2008/03/16/upcoming-ria-events-in-bangalore/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Jaxer: the AJAX server</title>
		<link>http://weblog.mrinalwadhwa.com/2008/01/23/jaxer-the-ajax-server/</link>
		<comments>http://weblog.mrinalwadhwa.com/2008/01/23/jaxer-the-ajax-server/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 12:40:09 +0000</pubDate>
		<dc:creator>Mrinal Wadhwa</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://weblog.mrinalwadhwa.com/2008/01/23/jaxer-the-ajax-server/</guid>
		<description><![CDATA[<p><a href="http://www.aptana.com/">Aptana</a> has released <a href="http://www.aptana.com/jaxer">Jaxer</a>, which is an Ajax server, check it out it looks very interesting. According to its homepage Jaxer is &#8230;</p>
<blockquote><p>Jaxer is the world&#8217;s first true Ajax server. HTML, JavaScript, and CSS are native to Jaxer, as are XMLHttpRequests, JSON, DOM scripting, etc. And as a server it offers access to databases, files, and networking, as well as logging, process management, scalability, security, integration APIs, and extensibility.</p></blockquote>
<p>My initial thoughts are around how this can be used with Flash&#8217;s ExternalInterface, I will be spending more time with this.  <!--more--></p>
<p><a href="http://www.aptana.com/jaxer"><img id="image223" src="http://weblog.mrinalwadhwa.com/wp-content/uploads/2008/01/jaxer_001.png" alt="Jaxer: the ajax server" /></a></p>
]]></description>
		<wfw:commentRss>http://weblog.mrinalwadhwa.com/2008/01/23/jaxer-the-ajax-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
