<?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>Adnan Rashid</title>
	<atom:link href="http://www.adnan-rashid.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adnan-rashid.com</link>
	<description>Web Technologist</description>
	<lastBuildDate>Wed, 23 Jun 2010 20:43:53 +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>WordPress 3.0 &#8220;Thelonious&#8221; release</title>
		<link>http://www.adnan-rashid.com/2010/06/18/wordpress-3-0-thelonious-release/</link>
		<comments>http://www.adnan-rashid.com/2010/06/18/wordpress-3-0-thelonious-release/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 04:00:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=60</guid>
		<description><![CDATA[Thanks to the numerous contributions from the WordPress community, WordPress 3.0 has been released. It boasts of a new theme called 2010, new APIs for easier theme development, merge of MU and WP and nearly 1,217 bug fixes, etc. If you are using WP, or are planning to use it, this version is a must-try. [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to the numerous contributions from the WordPress community, WordPress 3.0 has been released. It boasts of a new theme called 2010, new APIs for easier theme development, merge of MU and WP and nearly 1,217 bug fixes, etc.</p>
<p>If you are using WP, or are planning to use it, this version is a must-try. For more information of whats new and cool, have a look at the video.</p>
<p align="center">
<embed src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" type="application/x-shockwave-flash" width="640" height="360" wmode="transparent" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=BQtfIEY1&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" title="Introducing WordPress 3.0 &quot;Thelonious&quot;"></embed></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/06/18/wordpress-3-0-thelonious-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats your High Score?</title>
		<link>http://www.adnan-rashid.com/2010/05/22/whats-your-high-score/</link>
		<comments>http://www.adnan-rashid.com/2010/05/22/whats-your-high-score/#comments</comments>
		<pubDate>Sat, 22 May 2010 04:00:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=57</guid>
		<description><![CDATA[Google has brought innovation to a whole new level by building the first interactive and playable doodle (Google Logo) as the famous Pac-Man game to celebrate its 30th anniversary. Google has spent a lot of effort to make sure this version had all the original arcade game features. This includes the game crashing after the [...]]]></description>
			<content:encoded><![CDATA[<p>Google has brought innovation to a whole new level by building the first interactive and playable doodle (Google Logo) as the famous Pac-Man game to celebrate its 30<sup>th</sup> anniversary.</p>
<p><a href="http://www.google.com/pacman" target="_blank"><img src="http://blog.wtesolutions.com/wp-content/uploads/2010/06/google_pacman_doodle.png" alt="" title="Google Pacman Doodle" width="458" height="206" class="aligncenter size-full wp-image-58" /></a></p>
<p>Google has spent a lot of effort to make sure this version had all the original arcade game features. This includes the game crashing after the 255<sup>th</sup> level, the hint of which direction they were going to turn by moving their eyes, etc.</p>
<p>For a game that&#8217;s 30 years old, it holds up remarkably well over time, and still has a hold on popular culture. Bring on the fun&#8230;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/05/22/whats-your-high-score/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NOLOCK in LINQ</title>
		<link>http://www.adnan-rashid.com/2010/05/08/nolock-in-linq/</link>
		<comments>http://www.adnan-rashid.com/2010/05/08/nolock-in-linq/#comments</comments>
		<pubDate>Sat, 08 May 2010 04:00:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=55</guid>
		<description><![CDATA[The NOLOCK table hint, also known as READUNCOMITTED, is applicable to SELECT statements only. NOLOCK indicates that no shared locks are issued against the table that would prohibit other transactions from modifying the data in the table. The most recommended way of implementing NOLOCK is to use a TransactionScope to affect the TransactionOptions associated with [...]]]></description>
			<content:encoded><![CDATA[<p>The NOLOCK table hint, also known as READUNCOMITTED, is applicable to SELECT statements only. NOLOCK indicates that no shared locks are issued against the table that would prohibit other transactions from modifying the data in the table.</p>
<p>The most recommended way of implementing NOLOCK is to use a TransactionScope to affect the TransactionOptions associated with the commands of the LINQ context.</p>
<p>Heres a sample code :</p>
<pre name="code" class="csharp">

using (new System.Transactions.TransactionScope(
	System.Transactions.TransactionScopeOption.Required,
	new System.Transactions.TransactionOptions
	{
		IsolationLevel = System.Transactions.IsolationLevel.ReadUncommitted
	}))
{
	// Retreive Data
}
</pre>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/05/08/nolock-in-linq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Row &#8211; Linq to SQL</title>
		<link>http://www.adnan-rashid.com/2010/04/04/random-row-linq-to-sql/</link>
		<comments>http://www.adnan-rashid.com/2010/04/04/random-row-linq-to-sql/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 04:00:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=53</guid>
		<description><![CDATA[You can retrieve a random data record from an SQL database through LINQ using a User Defined Function. We can implement the above in a partial class for the target context. partial class MyTargetContext { [Function(Name="NEWID", IsComposable=true)] public Guid Random() { throw new NotImplementedException(); } } In the above example which returns a uniqe identifier [...]]]></description>
			<content:encoded><![CDATA[<p>You can retrieve a random data record from an SQL database through LINQ using a User Defined Function. We can implement the above in a partial class for the target context.</p>
<pre name="code" class="csharp">
partial class MyTargetContext {
     [Function(Name="NEWID", IsComposable=true)]
     public Guid Random()
     {
         throw new NotImplementedException();
     }
}
</pre>
<p>In the above example which returns a uniqe identifier (GUID), we are mapping the Random method to the NEWID SQL function. The IsComposable boolean property of the Function Attribute, defines if the method is mapped to a function (true) or to a Stored Procedure (false). Also note that since this method is mapped, the C# code is not executed.</p>
<p>We can call the above implementation as &#8230;</p>
<pre name="code" class="csharp">
var posts = (from post in dbContext.Posts
			where post.IsActive &#038;&#038; post.Category.Equals('Linq')
			order by dbContext.Random()
			select post).FirstOrDefault();
</pre>
<p>Although there are better alternative in terms of performance, this approach is much easier and should work fine for small / mid-size tables.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/04/04/random-row-linq-to-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ObjectTrackingEnabled &#8211; LINQ</title>
		<link>http://www.adnan-rashid.com/2010/02/18/objecttrackingenabled-linq/</link>
		<comments>http://www.adnan-rashid.com/2010/02/18/objecttrackingenabled-linq/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 04:00:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[linq]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=51</guid>
		<description><![CDATA[You may come across a requirement, where you will retrieve data only for reading. LINQ monitors the changes, which as you might have guessed is the not the best solution everywhere, especially in the above scenario. Here is a quick tip to increase the performance by disabling object tracking in LINQ using the ObjectTrackingEnabled property. [...]]]></description>
			<content:encoded><![CDATA[<p>You may come across a requirement, where you will retrieve data only for reading. LINQ monitors the changes, which as you might have guessed is the not the best solution everywhere, especially in the above scenario.</p>
<p>Here is a quick tip to increase the performance by disabling object tracking in LINQ using the ObjectTrackingEnabled property. This will turn off the unnecessary identity management of the objects.</p>
<pre name="code" class="csharp">
using (NorthwindDataContext dbContext = new NorthwindDataContext())
{
	dbContext.ObjectTrackingEnabled = false;
}
</pre>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/02/18/objecttrackingenabled-linq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sliding Labels Form</title>
		<link>http://www.adnan-rashid.com/2010/01/23/sliding-labels-form/</link>
		<comments>http://www.adnan-rashid.com/2010/01/23/sliding-labels-form/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 04:00:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=46</guid>
		<description><![CDATA[I came across an interesting article at CSSKarma about form designing. The author explains that form labels need not always be outside the input controls. Using jQuery and pinch of CSS, the article focuses on a creative implementation of designing forms, while retaining the intended User Experience. Check out the article&#8230;]]></description>
			<content:encoded><![CDATA[<p>I came across an interesting article at <a href="http://www.csskarma.com/">CSSKarma</a> about form designing. The author explains that form labels need not always be outside the input controls. Using jQuery and pinch of CSS, the article focuses on a creative implementation of designing forms, while retaining the intended User Experience. Check out the <a href="http://www.csskarma.com/blog/sliding-labels/">article</a>&#8230;</p>
<p><a href="http://www.csskarma.com/blog/sliding-labels/" target="_blank"><img src="http://blog.wtesolutions.com/wp-content/uploads/2010/06/slidinglabel.jpg" alt="" title="SlidingLabel" width="580" height="120" class="aligncenter size-full wp-image-47" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/01/23/sliding-labels-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>14 Days of jQuery</title>
		<link>http://www.adnan-rashid.com/2010/01/10/14-days-of-jquery/</link>
		<comments>http://www.adnan-rashid.com/2010/01/10/14-days-of-jquery/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 04:00:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=44</guid>
		<description><![CDATA[January 14 marks the birth of jQuery. To celebrate the release of jQuery 1.4 (also on January 14), the jQuery team is bringing fourteen consecutive days of new releases. Each day, they will publish videos, tutorials, code releases and other fun stuff. They have already announced the re-design of the jQuery API site. For more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery14.com/pre-release-1/new-jquery-api-site" target="_blank"><img class="alignright size-full wp-image-94" title="jQuery" src="http://blog.wtesolutions.com/wp-content/uploads/2010/01/jquery.jpg" alt="" width="235" height="73" /></a>January 14 marks the birth of jQuery. To celebrate the release of jQuery 1.4 (also on January 14), the jQuery team is bringing fourteen consecutive days of new releases. Each day, they will publish videos, tutorials, code releases and other fun stuff. They have already announced the re-design of the jQuery API site. For more information, about how the new site will help developers embrace one of the most popular JavaScript frameworks, click <a href="http://jquery14.com/pre-release-1/new-jquery-api-site" target="_blank">here</a>.</p>
<p>The event also focuses on sharing videos and tutorials detailing the awesome features of jQuery 1.4. To ensure you don&#8217;t miss out on any of the goodies, subscribe to the email/rss feed or visit the <a href="http://jquery14.com/" target="_blank">site</a>.</p>
<p>I have been using jQuery in most of my projects and am quite excited about the new release. Aren&#8217;t you?</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2010/01/10/14-days-of-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PocketMod</title>
		<link>http://www.adnan-rashid.com/2009/12/17/pocketmod/</link>
		<comments>http://www.adnan-rashid.com/2009/12/17/pocketmod/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 04:00:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=41</guid>
		<description><![CDATA[The PocketMod is a small book with guides on each page. These guides or templates, combined with a unique folding style, enable a normal piece of paper to become the ultimate note card. The application provides templates in various categories like Writing Guides, Calendars, Games, etc. Some of these templates provide options for customization. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The PocketMod is a small book with guides on each page. These guides or templates, combined with a unique folding style, enable a normal piece of paper to become the ultimate note card. The application provides templates in various categories like Writing Guides, Calendars, Games, etc. Some of these templates provide options for customization. It&#8217;s innovative compact size and cost-effective nature makes this free service stand out.</p>
<p><a href="http://www.pocketmod.com/" target="_blank"><img src="http://blog.wtesolutions.com/wp-content/uploads/2010/06/pocketmod.jpg" alt="" title="PocketMod" width="400" height="292" class="aligncenter size-full wp-image-42" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2009/12/17/pocketmod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office 2010 : Free PDF Book</title>
		<link>http://www.adnan-rashid.com/2009/12/11/office-2010-free-pdf-book/</link>
		<comments>http://www.adnan-rashid.com/2009/12/11/office-2010-free-pdf-book/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 04:00:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[freebie]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=39</guid>
		<description><![CDATA[Courtesy of Microsoft Press, SkyDrive is hosting a complimentary eBook titled First Look Microsoft Office 2010 by Katherine Murray. Office 2010 provides a plethora of new features like video editing, saving documents to the cloud directly, photo effects, etc. The Microsoft Office website has a video series showcasing the new features in Office 2010. You [...]]]></description>
			<content:encoded><![CDATA[<p>Courtesy of Microsoft Press, SkyDrive is hosting a complimentary eBook titled <strong>First Look Microsoft Office 2010</strong> by Katherine Murray. Office 2010 provides a plethora of new features like video editing, saving documents to the cloud directly, photo effects, etc. The Microsoft Office website has a video series showcasing the new features in Office 2010. You can check it out <a href="http://www.microsoft.com/video/en/us/details/6fc5abb1-d943-44ec-9b53-934e9b1cca0e" target="_blank">here</a>.</p>
<p><img src="http://blog.wtesolutions.com/wp-content/uploads/2009/12/first_look_office_2010.jpg" alt="" title="First Look Microsoft Office 2010" width="263" height="320" class="aligncenter size-full wp-image-131" /></p>
<p>The book contains the following chapters :</p>
<ul>
<li>Chapter 1: Welcome to Office 2010</li>
<li>Chapter 2: Express Yourself Effectively and Efficiently</li>
<li>Chapter 3: Collaborate in the Office and Around the World</li>
<li>Chapter 4: Create and Share Compelling Documents with Word 2010</li>
<li>Chapter 5: Create Smart Data Insights with Excel 2010</li>
<li>Chapter 6: Manage Rich Communications with Outlook 2010</li>
<li>Chapter 7: Produce Dynamic Presentations with PowerPoint 2010</li>
<li>Chapter 8: Organize, Store, and Share Ideas with OneNote 2010</li>
<li>Chapter 9: Collaborate Effectively with SharePoint Workspace 2010</li>
<li>Chapter 10: Create Effective Marketing Materials with Publisher 2010</li>
<li>Chapter 11: Make Sense of Your Data with Access 2010</li>
<li>Chapter 12: Putting It All Together</li>
<li>Chapter 13: Security in Office 2010</li>
<li>Chapter 14: Training Made Easy</li>
</ul>
<p>Download the eBook at <a href="http://cid-d7229b252a0ad6f2.skydrive.live.com/self.aspx/Public/First%20Look%20Microsoft%20Office%202010/693876ebook.pdf" target="_blank">http://cid-d7229b252a0ad6f2.skydrive.live.com/self.aspx/Public/First%20Look%20Microsoft%20Office%202010/693876ebook.pdf</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2009/12/11/office-2010-free-pdf-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Self-Executing JavaScript functions</title>
		<link>http://www.adnan-rashid.com/2009/10/25/self-executing-javascript-functions/</link>
		<comments>http://www.adnan-rashid.com/2009/10/25/self-executing-javascript-functions/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 04:00:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.wtesolutions.com/?p=37</guid>
		<description><![CDATA[This post explains self-executing functions and its benefits. So lets started by breaking down a normal function and converting it into one &#8230; var myVar = "This is a normal function..."; function ShowAlert(textToAlert) { alert(textToAlert); } ShowAlert(myVar); We all know that functions are also objects in JavaScript. Thus they can be evaluated using the eval() [...]]]></description>
			<content:encoded><![CDATA[<p>This post explains self-executing functions and its benefits. So lets started by breaking down a normal function and converting it into one &#8230;</p>
<pre name="code" class="javascript">
var myVar = "This is a normal function...";

function ShowAlert(textToAlert)
{
	alert(textToAlert);
}

ShowAlert(myVar);
</pre>
<p>We all know that functions are also objects in JavaScript. Thus they can be evaluated using the eval() function and also in the case of setInterval() function you can pass the name of the function as an object. Thus like other objects, we can also use grouping operators like ( and ).</p>
<pre name="code" class="javascript">
var myVar = "This is still a normal function...";

function ShowAlert(textToAlert)
{
	alert(textToAlert);
}

(ShowAlert)(myVar);
</pre>
<p>We are halfway there. Lets replace the name of the function with the function definition and make it a single statement.</p>
<pre name="code" class="javascript">
var myVar = "This is a self-executing function...";

(function ShowAlert(textToAlert)
{
	alert(textToAlert);
})(myVar);
</pre>
<p>Ok. So far so good. Since we are going to run this function as soon as we create it, it doesn&#8217;t need a name. Next step is to make this function an anonymous function.</p>
<pre name="code" class="javascript">
var myVar = "This is an anonymous self-executing function...";

(function (textToAlert)
{
	alert(textToAlert);
})(myVar);
</pre>
<p>And voila&#8230; We have created a self-executing anonymous function.</p>
<p>Although in this example, the advantage might not be obvious, but in real-world, this technique is quite helpful as it encapsulates the functionality and also prevents the cluttering of the global namespace. If you take a peek at the jQuery source code, you will notice that the whole library is wrapped in a single, self-executing function that is assigned to the jQuery global object. It&#8217;s precisely the reason that jQuery doesn&#8217;t pollute the global namespace nearly as much as other libraries.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.adnan-rashid.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.adnan-rashid.com/2009/10/25/self-executing-javascript-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
