<?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>Bin-Blog &#187; gears</title>
	<atom:link href="http://www.bin-co.com/blog/tag/gears/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Interactive SQL Tutorial</title>
		<link>http://www.bin-co.com/blog/2009/02/interactive-sql-tutorial/</link>
		<comments>http://www.bin-co.com/blog/2009/02/interactive-sql-tutorial/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 19:00:44 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=230</guid>
		<description><![CDATA[I have completed a tutorial that I have been working on for a long time. Its the <a href="http://www.bin-co.com/database/sql_tutorial/">Interactive SQL(Structured Query Language) Tutorial</a> - it teaches you the basics of SQL. SQL, for those of you who are unaware of it, is the language used to access and manipulate data within a database. It is very simple and very powerful.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/02/db.png" alt="Database SQL" title="Database SQL" width="158" height="155" class="alignnone size-full wp-image-231 intro" align="right" /></p>
<p class="intro">I have completed a tutorial that I have been working on for a long time. Its the <a href="http://www.bin-co.com/database/sql_tutorial/">Interactive SQL(Structured Query Language) Tutorial</a> &#8211; it teaches you the basics of SQL. SQL, for those of you who are unaware of it, is the language used to access and manipulate data within a database. It is very simple and very powerful.</p>
<h2>Interactive SQL Query Box</h2>
<p>The cool thing about the tutorial is that it is interactive &#8211; each vistor can have a personal sandboxed database in which they can run any query they want. I call it the interactive query box. You can test almost all the SQL statements in this box without worrying about data loss &#8211; all the data is stored temporarily in this system. But you will have to install an extension called Google Gears in your browser.</p>
<h3>Google Gears</h3>
<p><a href="http://gears.google.com/">Google Gears</a> is an open source browser extension that lets developers create web applications that can run offline. You can install it in Firefox and Internet Explorer. If you want to try out SQL queries as it is presented in the tutorial, you need this extension.</p>
<p>You can view the tutorial without this extension, but you will be missing out the coolest feature of the tutorial.</p>
<h2>Simple Tutorial</h2>
<p>I have tried to make the tutorial as simple as possible. If you have learned about RDBMS, you know there are stuff like Normal Forms and Cardinality and other brain numbing definitions. I have removed all but the <a href="http://www.bin-co.com/database/sql_tutorial/db_terms_meanings.php">most essential definitions in my tutorial</a> &#8211; it makes it easier to understand.</p>
<p>Even after removing the confusing definitions, I have apologized about the rest&#8230;</p>
<blockquote><p>Sorry if you find the definitions here a bit too much. Trust me &#8211; you are much better off here than if you are learning SQL from a database book. They are going to lay definitions on you till your eyes bleed. I have seen brave men die from too much exposure to definitions.</p></blockquote>
<h2>Its Funny</h2>
<p>I have learned a lot of languages and programming techniques by reading books and sites &#8211; and one thing I have noticed is that most of the material is unbelievably dry. Its extremely hard to keep your eyes open when you read them. That is why <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=https%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D23%26ref%255F%3Dnb%255Fss%255F%26y%3D23%26field-keywords%3Dhead%2520first%26url%3Dsearch-alias%253Dstripbooks&amp;tag=binnva-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">head first books</a><img src="https://www.assoc-amazon.com/e/ir?t=binnva-20&amp;l=ur2&amp;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> are so popular &#8211; they made learning fun.</p>
<p>Its been a policy of mine to inject humor into such tutorials &#8211; if you have read any of my earlier tutorials, you would know that&#8230;</p>
<ul>
<li><a href="http://www.openjs.com/tutorials/basic_tutorial/">An Interactive JS Tutorial &#8211; The ABC of JavaScript</a></li>
<li><a href="http://www.openjs.com/tutorials/advanced_tutorial/">Advanced JavaScript Tutorial</a></li>
<li><a href="http://www.bin-co.com/tcl/tutorial/">Tcl/Tk Tutorial &#8211; Create GUI using Tk with Tcl Language</a></li>
<li><a href="http://www.bin-co.com/perl/tutorial/">Beginner&#8217;s Tutorial for CGI Perl Language</a></li>
<li><a href="http://www.bin-co.com/perl/perl_tk_tutorial/">Perl/Tk Tutorial &#8211; Create GUI with Perl&#8217;s Tk Module</a></li>
</ul>
<p>Also, I am a <a href="http://blog.binnyva.com/">humor blogger</a> &#8211; so this stuff comes easily to me.</p>
<p>What I am trying to say is that the new SQL tutorial follows the same pattern &#8211; there is a lot of humor in it. So people can read it easily &#8211; without resorting to caffeine shots.</p>
<h2>I Want Your Help&#8230;</h2>
<p>Now that the writing part is over, I am proof-reading it. I have corrected a fair amount of stupid mistakes so far &#8211; but I am sure that there are many still left. I was hoping that a few of you would head over to my <a href="http://www.bin-co.com/database/sql_tutorial/">SQL Tutorial</a> and go through it. If you notice any mistakes, just put it in the comment field at the end of each page. Once I fix an error, I&#8217;ll remove the comment &#8211; that way, when I launch the tutorial, people will think that there were no errors in my tutorial. Devious, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/02/interactive-sql-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Gears &#8211; Offline Functionality for Web Apps</title>
		<link>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</link>
		<comments>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/#comments</comments>
		<pubDate>Thu, 31 May 2007 07:20:30 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</guid>
		<description><![CDATA[There has been many ideas about a offline storage mechanism for web applications. Dojo implemented this in its Library. Firefox 3 promises this. Now we have a new arrival in this area &#8211; Google Gears. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work. Google Gears is an open source browser extension that [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/google-gears-logo/' rel='attachment wp-att-28' title='Google Gears Logo'><img class="intro" align="right" src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/google_gears_logo.png' alt='Google Gears Logo' /></a></p>
<p class="intro">There has been many ideas about a offline storage mechanism for web applications. <a href="http://www.sitepen.com/blog/2007/01/23/the-dojo-offline-api/">Dojo implemented this</a> in its Library. <a href="http://www.readwriteweb.com/archives/firefox_3_offline_apps.php">Firefox 3 promises this</a>. Now we have a new arrival in this area &#8211; <a href="http://gears.google.com/">Google Gears</a>. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work.</p>
<blockquote cite="http://code.google.com/apis/gears/"><p>Google Gears is an open source browser extension that lets developers create web applications that can run offline.</p>
</blockquote>
<h2>See Gears In Action</h2>
<p>To see Gears in action, first install the extension&#8230;</p>
<p><a href="http://gears.google.com/">Google Gears</a></p>
<p>Then go to Google Reader &#8211; you will see a &#8216;Offline&#8217; mode button in the top right corner. If you click on that the script will download 2000 entries into your local database(<a href="http://binnyva.blogspot.com/2006/10/sqlite.html">SQLite</a>).</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/downloading.png' alt='Downloading Online Entries using Google Gears' /></p>
<p>To see this database, open up the <a href="http://kb.mozillazine.org/Profile_folder">Firefox Profile folder</a> and enter the &#8216;Google Gears for Firefox&#8217; folder. You will find many Database files there. Just open any of these in a SQLite V3 supporting viewer.</p>
<p>After the download is complete, you can use the Reader without a net connection.</p>
<p>When you get the connection back, just click on the same button &#8211; all the changes will be send to the online server.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/syncing.png' alt='Syncing Local DB changes with online server in Google Gears' /></p>
<h2>Advantages of the Google Gears</h2>
<ul>
<li>Once the extension is installed, the script will work across all the supported browser. No JavaScript hacks required.</li>
<li>Full featured Database support &#8211; this makes it much easier to work with.</li>
<li>Supported by Google</li>
<li><a href="http://code.google.com/p/google-gears/source">Open Source</a></li>
</ul>
<h2>Disadvantages of Google Gears</h2>
<ul>
<li>The user must install an extension for this to work.</li>
<li>Requires user action before going offline. If your connection breaks suddenly(as it often happens here in India), you are left with nothing.</li>
<li>All browsers are not supported(yet)</li>
<li>Beta software &#8211; some bugs are to be expected. But, this will be solved in time.</li>
</ul>
<p>I am still exploring the code &#8211; expect a new post with working <a href="http://www.openjs.com/">javascript</a> examples soon.</p>
<h2>Google Gear Links</h2>
<ul>
<li><a href="http://gears.google.com/">Google Gears</a></li>
<li><a href="http://code.google.com/apis/gears/design.html">Getting Started</a></li>
<li><a href="http://code.google.com/apis/gears/tutorial.html">Tutorial</a></li>
<li><a href="http://code.google.com/apis/gears/">Developer site</a></li>
<li><a href="http://code.google.com/support/bin/topic.py?topic=11628">Frequently asked questions</a></li>
<li><a href="http://groups.google.com/group/google-gears">Developer Forum</a></li>
<li><a href="http://gearsblog.blogspot.com/">Gears API Blog</a></li>
<li><a href="http://erik.eae.net/archives/2007/05/30/19.06.10/">erik&#8217;s weblog</a></li>
<li><a href="http://ifacethoughts.net/2007/05/31/gear-for-offline/">Gears for Offline</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

