<?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"
	>

<channel>
	<title>developersnippets.com &#187; Databases</title>
	<atom:link href="http://developersnippets.com/category/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://developersnippets.com</link>
	<description>developersnippets</description>
	<pubDate>Tue, 02 Dec 2008 17:17:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Free JavaScript database for your browser, Taffy DB</title>
		<link>http://developersnippets.com/2008/10/19/free-javascript-database-for-your-browser-taffy-db/</link>
		<comments>http://developersnippets.com/2008/10/19/free-javascript-database-for-your-browser-taffy-db/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 11:33:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[Databases]]></category>

		<category><![CDATA[Ext JS]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[API]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=332</guid>
		<description><![CDATA[Taffy DB, which is well known JavaScript database for your browser, and which is a free and opensource JavaScript Library which acts as a thin layer inside Web 2.0 and Ajax applications.
Unique features are:

* Under 10K!
* Simple, JavaScript Centric Syntax
* Fast
* Easy to include in any web application
* Compatible with major Ajax libraries: YUI, JQuery, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://taffydb.com/" title="Taffy DB">Taffy DB</a>, which is well known JavaScript database for your browser, and which is a free and opensource JavaScript Library which acts as a thin layer inside Web 2.0 and <a href="http://developersnippets.com/2007/05/19/snippet-code-for-simple-ajax-tabs-with-cool-css-styles/" title="Snippet Code for Simple Ajax Tabs with cool CSS Styles">Ajax applications</a>.<span id="more-332"></span><br />
<strong>Unique features are:</strong></p>
<blockquote><p>
* Under 10K!<br />
* Simple, JavaScript Centric Syntax<br />
* Fast<br />
* Easy to include in any web application<br />
* Compatible with major Ajax libraries: YUI, JQuery, Dojo, Prototype, EXT, etc<br />
* CRUD Interface (Create, Read, Update, Delete)<br />
* Sorting<br />
* Looping<br />
* Advanced Queries
</p>
</blockquote>
<p>We can think this as a SQL database in our web browser. If you would like to know more about the same then please do have a look at here - <a href="http://taffydb.com/index.cfm?oa=gettingstarted" title="Getting Started">Getting Started</a><br />
Below are the few example snippets on how we are going to implement and utilize the same:<br />
<strong>Example #1: </strong><br />
Let&#8217;s say you have a collection of products and you want to find every product that costs less $10 and is a book. Simple, just write some JavaScript:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;">products.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>price<span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span>lessthan<span style="color: #339933;">:</span><span style="color: #CC0000;">10</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>type<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Book&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p><strong>Example #2:</strong><br />
Let&#8217;s say you want to update every product from XZYDesign and set the status to not available:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;">products.<span style="color: #660066;">update</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #000066;">status</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>manufacturer<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;XZYDesign&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p><strong>Example #3:</strong><br />
Let&#8217;s say you want to sort your products based on type, price descending, and quantity descending:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;">products.<span style="color: #660066;">orderBy</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;type&quot;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;price&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;desc&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;quantity&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;desc&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p>If you would like to know more about the same then please do have a look at here - <a href="http://taffydb.com/index.cfm?oa=gettingstarted" title="Getting Started">Getting Started</a></p>
<p><a href="http://taffydb.com/index.cfm?oa=download" title="Download Taffy DB">Download Taffy DB</a><br />
<a href="http://taffydb.com/index.cfm?oa=feedback" title="Feedback/Bugs">Feedback/Bugs</a><br />
<a href="http://taffydb.com/index.cfm?oa=faq" title="FAQ">FAQ</a></p>
<p>Articles which you would like to read:<br />
<a href="http://developersnippets.com/2008/08/31/system-error-1072896658-in-ie/" title="System Error: -1072896658 in IE">System Error: -1072896658 in IE</a><br />
<a href="http://developersnippets.com/2008/08/16/simple-steps-to-develop-ajax-website-%e2%80%93-developersnippets/" title="Simple steps to develop AJAX Website – DeveloperSnippets">Simple steps to develop AJAX Website – DeveloperSnippets</a><br />
<a href="http://developersnippets.com/2007/05/19/snippet-code-for-simple-ajax-tabs-with-cool-css-styles/" title="Snippet Code for Simple Ajax Tabs with cool CSS Styles">Snippet Code for Simple Ajax Tabs with cool CSS Styles</a><br />
<a href="http://developersnippets.com/2007/05/14/a-simple-snippet-code-to-learn-basics-of-ajax/" title="A simple snippet code to learn basics of Ajax">A simple snippet code to learn basics of Ajax</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/10/19/free-javascript-database-for-your-browser-taffy-db/feed/</wfw:commentRss>
		</item>
		<item>
		<title>We the Team won in Truveo Developer Challenge Contest - TechVideoBytes</title>
		<link>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/</link>
		<comments>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 19:51:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Accessibility]]></category>

		<category><![CDATA[Action Scripting]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[Apollo]]></category>

		<category><![CDATA[Blogroll]]></category>

		<category><![CDATA[C++]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Databases]]></category>

		<category><![CDATA[Designing]]></category>

		<category><![CDATA[Featured]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[Gfx]]></category>

		<category><![CDATA[HTML]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[LightBox]]></category>

		<category><![CDATA[Maya]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Mootools]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[ProtoType]]></category>

		<category><![CDATA[Reg Exp]]></category>

		<category><![CDATA[Safari Browser]]></category>

		<category><![CDATA[Technology News]]></category>

		<category><![CDATA[ThickBox]]></category>

		<category><![CDATA[Thoughts to Think about]]></category>

		<category><![CDATA[YUI]]></category>

		<category><![CDATA[Yahoo]]></category>

		<category><![CDATA[jQuery]]></category>

		<category><![CDATA[xml]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[Ext JS]]></category>

		<category><![CDATA[Flash CS3]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://developersnippets.com/?p=230</guid>
		<description><![CDATA[We are glad to announce that, we the Team (Developers Snippets - TechVideoBytes ) won a prize gift in Truveo Developer Challenge Contest and in this contest we stand in top 4th place. We would like to thank the Truveo Team for conducting this contest, this indeed helps us in developing good web applications and [...]]]></description>
			<content:encoded><![CDATA[<p>We are glad to announce that, we the Team (<a title="Developer Snippets" href="http://www.developersnippets.com" title="Developer Snippets">Developers Snippets</a> - <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> ) won a prize gift in Truveo Developer Challenge Contest and in this contest we stand in top 4th place. We would like to thank the Truveo Team for conducting this contest, this indeed helps us in developing good web applications and can show case the same to the entire Web World. We the Team is striving hard to showcase some useful stuff to the developer to develop their career in technology.<span id="more-230"></span></p>
<p>If you see, <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> is completely a technology based website, which depicts the ease of highlighting video tutorials on various software tools and various programming languages. You can learn tools online without paying anything, yes! its absolutely free bucks. Just select your favorite keyword and on a click you can view the respective video playing on the other page, and on the page we are consolidating all the relative videos in respect to your keyword selected, if you would like know more about the <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> just crawl into the website – <a title="Tech Video Bytes" href="http://www.developersnippets.com/techvideobytes" title="Tech Video Bytes">TechVideoBytes</a> .</p>
<p><strong>About the contest:</strong><br />
Here in this contest there are nine $10,000 first place winners, and the 20 $500 second place winners which are determined by the 5 categories of TopCoder Community Favorite. If you guys want to know more about this contest just jump into <a title="TopCoder" href="http://www.topcoder.com/truveo" title="TopCoder">TopCoder</a></p>
<p>In the first place winners we stand in 4th place, and the categories includes <strong>Usage</strong> – 90, <strong>Innovation</strong> – 80, <strong>API</strong> – 80, <strong>AOL</strong> – 62, <strong>TC Rank</strong> – 94 and coming to over all <strong>Weighted Score</strong> is – 81.2</p>
<p>We are glad to bags this prize gift, and will strive hard to come up with other innovative web applications in coming future.</p>
<p><a href="http://www.developersnippets.com/techvideobytes/?tags=Flash+CS3"><img style="border: 1px solid #b6b6b6; padding: 2px;" src="http://developersnippets.com/wp-content/uploads/2008/08/techvideobytes_contest.jpg" border="0" alt="TechVideoBytes" /> </a></p>
<p>We had a crawl to all the websites which are listed in the prize winning list, we have many favorites websites which we liked the most is  <a title="MapOfVideo" href="http://mapofvideo.com/" title="MapOfVideo">MapOfVideo</a> , <a title="SVid" href="http://cyb3r.in/svid/" title="SVid">SVid</a> , <a title="VideoBuzz" href="http://www.wittysparks.com/searchvideos/" title="VideoBuzz">VideoBuzz</a> the network of <a title="WittySparks" href="http://www.wittysparks.com" title="WittySparks">Wittysparks</a> , <a title="VideoSearchBot" href="http://sites.google.com/a/i2r.a-star.edu.sg/video-search-bot/" title="VideoSearchBot">VideoSearchBot</a> .<a title="MapOfVideo" href="http://mapofvideo.com/" title="MapOfVideo"> MapOfVideo</a> has also got good features in the application which provided has got many other options by clicking on the respective spot and stands in 1st Position, <a title="SVid" href="http://cyb3r.in/svid/" title="SVid">SVid</a> it has got featured all the categories in all aspects, which is awesome enough to see and stands in 2nd place, <a title="VideoBuzz" href="http://www.wittysparks.com/searchvideos/" title="VideoBuzz">VideoBuzz</a> has bagged in 14th position in the contest. This site has got good look and feel providing all the respective top videos, featured videos and upcoming videos related to Hollywood, Bollywood, Tollywood, Kollywood and more. <a title="VideoSearchBot" href="http://sites.google.com/a/i2r.a-star.edu.sg/video-search-bot/" title="VideoSearchBot">VideoSearchBot</a> is an AIM bot for video search based on Truveo Video Search API. Just type the query and he will give you the video list with integrated links, which stands in 3rd position in $500 prize winner.</p>
<p>Finally! Kudos to all people who won prize gifts from Truveo.</p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2008/08/01/we-the-team-won-in-truveo-developer-challenge-contest-techvideobytes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cannot connect to MySQL server on localhost?</title>
		<link>http://developersnippets.com/2007/07/15/cannot-connect-to-mysql-server-on-localhost/</link>
		<comments>http://developersnippets.com/2007/07/15/cannot-connect-to-mysql-server-on-localhost/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 17:48:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Databases]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Database]]></category>

		<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://www.developersnippets.com/2007/07/15/cannot-connect-to-mysql-server-on-localhost/</guid>
		<description><![CDATA[Hi developers, are you working on any project where in which you have used MySQL as a backend (Database), and have you gone through DOS and tried to run mysql: C:\mysql\bin\mysql.exe, got an error right? don&#8217;t worry guys here is the solution with me&#8230;

While running mysql have you got an error like the below:
ERROR 2003: [...]]]></description>
			<content:encoded><![CDATA[<p>Hi developers, are you working on any project where in which you have used MySQL as a backend (Database), and have you gone through DOS and tried to run mysql: <span class="value">C:\mysql\bin\mysql.exe, got an error right? don&#8217;t worry guys here is the solution with me&#8230;</span><span id="more-83"></span></p>
<p><img title="MySQL" src="http://www.mysql.com/common/logos/mysql_100x52-64.gif" alt="MySQL" width="100" height="52" align="middle" /></p>
<p>While running mysql have you got an error like the below:</p>
<p><strong><span class="value">ERROR 2003: Can&#8217;t connect to MySQL server on &#8216;localhost&#8217; (10061)</span> </strong></p>
<p>no worries, firstly check whether mysql service is working or it is in automatic / disable mode, if it in disable mode then just start the service in your local machine - again not working, no worries&#8230;.  now goto <span id="intelliTxt"><strong> c:\mysql\bin</strong> folder find out mysqld.exe in that folder and right click on that file and choose run as (Choose the first option like current user&#8230;. / administrator) and hit ok&#8230;.</span></p>
<p>now try again going to DOS prompt:  <span class="value"><strong>C:\mysql\bin\mysql.exe</strong>, I think it should work now by viewing mysql prompt as <strong>mysql&gt;</strong></span></p>
<p>Hope this helps you everyone&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://developersnippets.com/2007/07/15/cannot-connect-to-mysql-server-on-localhost/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
