<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Programming Index Cards</title>
	<atom:link href="http://programmingindexcards.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingindexcards.wordpress.com</link>
	<description>Interview questions</description>
	<lastBuildDate>Tue, 25 Aug 2009 15:01:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='programmingindexcards.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/530e68eb894cc4d01c74d41d5f87ab3e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Programming Index Cards</title>
		<link>http://programmingindexcards.wordpress.com</link>
	</image>
			<item>
		<title>12 words I never say in the office anyway</title>
		<link>http://programmingindexcards.wordpress.com/2009/08/25/12-words-i-never-say-in-the-office-anyway/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/08/25/12-words-i-never-say-in-the-office-anyway/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:01:21 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[RBOC buzzwords]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=224</guid>
		<description><![CDATA[I liked Network World&#8217;s 12 words you can never say in the office, though I have to admit I have  no idea what an RBOC is.  I&#8217;m glad ASP is put to rest. It used to be so embarrassing when I&#8217;d say I was using ASP (predecessor to ASP.Net) and someone would ask &#8221; you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=224&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I liked Network World&#8217;s <a href="http://www.networkworld.com/news/2009/082409-12-technology-words-office.html?page=3">12 words you can never say in the office</a>, though I have to admit I have  no idea what an RBOC is.  I&#8217;m glad ASP is put to rest. It used to be so embarrassing when I&#8217;d say I was using ASP (predecessor to ASP.Net) and someone would ask &#8221; you mean like application hosting?&#8221;.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=224&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/08/25/12-words-i-never-say-in-the-office-anyway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Write Unmaintainable Code</title>
		<link>http://programmingindexcards.wordpress.com/2009/06/02/how-to-write-unmaintainable-code/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/06/02/how-to-write-unmaintainable-code/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:26:45 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Unmaintainable Code]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=216</guid>
		<description><![CDATA[Obscure film references
Use constant names like LancelotsFavouriteColour instead of blue and assign it hex value of $0204FB.  The          color looks identical to pure blue on the screen, and a maintenance programmer          would have to work out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=216&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h4>Obscure film references</h4>
<p>Use constant names like <strong><span>LancelotsFavouriteColour</span> </strong>instead of <span>blue</span> and assign it hex value of $0204FB.  The          color looks identical to pure blue on the screen, and a maintenance programmer          would have to work out 0204FB (or use some graphic tool) to know what it looks          like. Only someone intimately familiar with <em>Monty Python and the Holy Grail</em> would know that Lancelot&#8217;s favorite color was blue.  If a maintenance programmer          can&#8217;t quote entire Monty Python movies from memory, he or she has <strong>no</strong> business being a programmer.</p>
<p><a href="http://freeworld.thc.org/root/phun/unmaintain.html?repost=forPosterity">http://freeworld.thc.org/root/phun/unmaintain.html?repost=forPosterity</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=216&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/06/02/how-to-write-unmaintainable-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>Transportable Regular Expressions</title>
		<link>http://programmingindexcards.wordpress.com/2009/04/10/transportable-regular-expressions/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/04/10/transportable-regular-expressions/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 21:01:45 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[Regular Expressions]]></category>
		<category><![CDATA[technical interviews]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=211</guid>
		<description><![CDATA[Great entry on Regular expressions at Technical Interview Patterns.
Probably the most popular interview question on regular expressions:
Question #1: Write RegEx which would extract all anchor text from HTML page
Answer:

&#60;a.[^&#62;]*?&#62;(.[^&#62;]*?)&#60;/a&#62;

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=211&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Great entry on Regular expressions at <a class="taggedlink" href="http://interviewpattern.com/post/2009/04/09/Regular-expressions-in-technical-interviews.aspx">Technical Interview Patterns</a>.</p>
<p>Probably the most popular interview question on regular expressions:</p>
<p><strong>Question #1:</strong> Write RegEx which would extract all anchor text from HTML page</p>
<p><strong>Answer:</strong><br />
<code><br />
&lt;a.[^&gt;]*?&gt;(.[^&gt;]*?)&lt;/a&gt;<br />
</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=211&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/04/10/transportable-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.Net Interview Q&#8217;s</title>
		<link>http://programmingindexcards.wordpress.com/2009/03/31/aspnet-interview-qs/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/03/31/aspnet-interview-qs/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 03:11:47 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[interview questions]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=207</guid>
		<description><![CDATA[&#60;!&#8211;[if !mso]&#62; &#60;!  st1\:*{behavior:url(#ieooui) } &#8211;&#62;  
Taken from TechSvr Blog
 
Is it possible to debug JavaScript in .NET IDE? If yes, how? 
Ans. Yes, simply write &#8220;debugger&#8221; statement at the point where the breakpoint needs to be set within the JavaScript code and also enable JavaScript debugging in the browser property settings.
 
How [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=207&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]-->&lt;!&#8211;[if !mso]&gt;<span class="mceItemObject"></span> &lt;!  st1\:*{behavior:url(#ieooui) } &#8211;&gt; <!--[endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">Taken from <a href="http://blog.techsvr.com/?p=18">TechSvr Blog</a></span></strong></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;"> </span></strong></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">Is it possible to debug JavaScript in .NET IDE? If yes, how? </span></strong><span style="font-size:10pt;font-family:Arial;"><br />
Ans. Yes, simply write &#8220;debugger&#8221; statement at the point where the breakpoint needs to be set within the JavaScript code and also enable JavaScript debugging in the browser property settings.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">How many ways can we maintain the state of a page? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. 1. Client Side &#8211; Query string, hidden variables, ViewState, cookies<br />
2. Server side &#8211; application, cache, context, session, database</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is the use of Singleton pattern? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. A Singleton pattern is used to make sure that only one instance of a class exists.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is an .ashx file? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. It is a web handler file that produces output to be consumed by an xml consumer client (rather than a browser).</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is encapsulation? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. Encapsulation is the process of hiding all of the details of an object that do not contribute to its essential characteristics.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is a Delegate? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. A delegate is a strongly typed function pointer object that encapsulates a reference to a method, and so the function that needs to be invoked may be called at runtime.</span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;"> </span></strong></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is the base class of all web forms? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. System.Web.UI.Page</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">How to add a client side event to a server control? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. BtnSubmit.Attributes.Add(&#8220;onclick&#8221;,&#8221;javascript:fnSomeFunctionInJavascript()&#8221;);</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">How to register a client side script from code-behind? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. Use the Page.RegisterClientScriptBlock method in the server side code to register the script that may be built using a StringBuilder.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">Can we put a break statement in a finally block? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. The finally block cannot have the break, continue, return and goto statements.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">How to instruct the garbage collector to collect unreferenced data? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. We may call the garbage collector to collect unreferenced data by executing the System.GC.Collect() method.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What are Partial Classes in Asp.Net 2.0? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. In .NET 2.0, a class definition may be split into multiple physical files but partial classes do not make any difference to the compiler as during compile time, the compiler groups all the partial classes and treats them as a single class.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is Boxing and Unboxing? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. Boxing is the process where any value type can be implicitly converted to a reference type object while Unboxing is the opposite of boxing process where the reference type is converted to a value type.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What does AddressOf in VB.NET operator do? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. The AddressOf operator is used in VB.NET to create a delegate object to a method in order to point to it.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is XmlHttpRequest in Ajax? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. It is an object in JavaScript that allows the browser to communicate to a web server asynchronously without making a postback.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What does the virtual keyword in C# mean? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. The virtual keyword signifies that the method and property may be overridden.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">How to create a new unique ID for a control? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. ControlName.ID = &#8220;ControlName&#8221; + Guid.NewGuid().ToString(); //Make use of the Guid class</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is the use of the dispose() method in .NET? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. The Dispose method in .NET belongs to IDisposable interface and it is best used to release unmanaged objects like File objects, Windows API objects, Database connection objects, COM objects etc from the memory. Its performance is better than the finalize() method.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial;"> </span></p>
<p class="MsoNormal"><strong><span style="font-size:10pt;font-family:Arial;">What is the difference between a session object and an application object? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. A session object can persist information between HTTP requests for a particular user, whereas an application object can be used globally for all the users.</span></p>
<p><strong><span style="font-size:10pt;font-family:Arial;">Controls in order of has performance, DataGrid, Repeater, DataList? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. Repeater, Datalist, DataGrid.</span></p>
<p><strong><span style="font-size:10pt;font-family:Arial;">Is it possible to perform forms authentication with cookies disabled on a browser? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. No, it is not possible.</span></p>
<p><strong><span style="font-size:10pt;font-family:Arial;">What is difference between dataset and datareader in ADO.NET? </span></strong><strong><span style="font-size:10pt;font-family:Arial;"><br />
</span></strong><span style="font-size:10pt;font-family:Arial;">Ans. A DataReader provides a forward-only and read-only access to data, while the DataSet object can carry more than one table and at the same time hold the relationships between the tables. Also note that a DataReader is used in a connected architecture whereas a Dataset is used in a disconnected architecture.</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=207&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/03/31/aspnet-interview-qs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>Notes &#8211; Headhunter Trade Secrets for Finding a New Job During a Recession</title>
		<link>http://programmingindexcards.wordpress.com/2009/03/12/notes-headhunter-trade-secrets-for-finding-a-new-job-during-a-recession/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/03/12/notes-headhunter-trade-secrets-for-finding-a-new-job-during-a-recession/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 02:43:00 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[career]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=204</guid>
		<description><![CDATA[From Stephen Viscusi&#8217;s blog entry Headhunter Trade Secrets for Finding a New Job During a Recession:
It&#8217;s important to humanize who you are&#8230;have your boss know you as &#8220;a person,&#8221; not just an employee.
It is easier to fire an employee who you know nothing about personally, or who you can&#8217;t relate to as a person.
&#8220;Bulletproofing&#8221; yourself [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=204&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From Stephen Viscusi&#8217;s blog entry <a href="http://www.huffingtonpost.com/stephen-viscusi/81-unemployment-rate-now_b_172635.html">Headhunter Trade Secrets for Finding a New Job During a Recession</a>:</p>
<p>It&#8217;s important to humanize who you are&#8230;have your boss know you as &#8220;a person,&#8221; not just an employee.</p>
<p>It is easier to fire an employee who you know nothing about personally, or who you can&#8217;t relate to as a person.</p>
<p>&#8220;Bulletproofing&#8221; yourself requires being a bit Mommy and a bit Machiavelli.</p>
<p>If your boss does approach you about letting you go, and they always use these same line, &#8220;It&#8217;s not personal, it is a numbers thing,&#8221; you should definitely call his/her bluff! Ask your boss, &#8220;What&#8217;s the numbers thing, boss? <strong>What is the number</strong>?&#8221; Tell your boss that you&#8217;re willing to take a pay cut of 20 percent less for a year, or you&#8217;ll work three days instead of five&#8230;It really works!</p>
<p>Employers hire people who they like personally, and they fire people they don&#8217;t know or don&#8217;t like, regardless of performance. During a recession, they can get away with this.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=204&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/03/12/notes-headhunter-trade-secrets-for-finding-a-new-job-during-a-recession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>Building AgiliTrain: Part 1 &#8211; Why ASP.NET MVC</title>
		<link>http://programmingindexcards.wordpress.com/2009/01/28/building-agilitrain-part-1-why-aspnet-mvc/</link>
		<comments>http://programmingindexcards.wordpress.com/2009/01/28/building-agilitrain-part-1-why-aspnet-mvc/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 22:47:52 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=199</guid>
		<description><![CDATA[Shawn Wildermuth recently wrote about his work with ASP.Net MVC.  I&#8217;ve heard promising things about it, and listed are some of his points.

How I would characterize my experience with ASP.Net MVC&#8230; two weeks of a steep learning curve then bliss.
The big [fear] &#8230; is loss of ViewState. I was never a fan of ViewState and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=199&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Shawn Wildermuth recently wrote about his work with <a href="http://wildermuth.com/2009/01/28/Building_AgiliTrain_Part_1_-_Why_ASP_NET_MVC">ASP.Net MVC</a>.  I&#8217;ve heard promising things about it, and listed are some of his points.</p>
<ul>
<li>How I would characterize my experience with ASP.Net MVC&#8230; two weeks of a <strong>steep learning curve</strong> then bliss.</li>
<li>The big [fear] &#8230; is loss of <strong>ViewState</strong>. I was never a fan of ViewState and was always perplexed that most projects used WebControls and not nearly enough HtmlControls. HTTP is stateless so in many many situations remaining stateless makes more sense.  Since the HTML controls were lighter weight I tended to use them much more often. That certainly makes my move to MVC easier as <span style="text-decoration:underline;">I am not bogged down by the loss of ViewState</span>.</li>
<li>MVC allows you to write code more like the web. This means doing a lot of AJAX and using jQuery (or Dojo, or whatever you want) as your UI layer.</li>
<li>Since I was presenting information that is changing somewhat rapidly that I could develop it faster with ASP.Net MVC.  Not faster in the initial implementation (because I had to learn MVC) but faster to add new functionality as it required it.  I am not positive this is true but in the last few days I&#8217;ve been able to add new pieces of functionality to the site pretty easily. It feels a lot more modular than my other sites.</li>
<li>The MVC code was mostly clean HTML (no magic ClientID&#8217;s or controls) so that integrating was simple.</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=199&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2009/01/28/building-agilitrain-part-1-why-aspnet-mvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>Failing Project Checklist</title>
		<link>http://programmingindexcards.wordpress.com/2008/11/03/failing-project-checklist/</link>
		<comments>http://programmingindexcards.wordpress.com/2008/11/03/failing-project-checklist/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:44:23 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[opportunity]]></category>
		<category><![CDATA[project failure]]></category>
		<category><![CDATA[project management]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=186</guid>
		<description><![CDATA[This was posted on cio.com as How to Turn a Failing Project Around? A check list.  It&#8217;s really not a how-to, more of a what-to-determine.
Of course, the real question to ask is do I want to attempt the turn-around, do I want to stay at a company that is experiencing failing projects, and why am [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=186&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This was posted on cio.com as <a href="http://advice.cio.com/samhomer/how_to_turn_a_failing_project_around_a_check_list">How to Turn a Failing Project Around? A check list</a>.  It&#8217;s really not a how-to, more of a what-to-determine.</p>
<p>Of course, the real question to ask is do I want to attempt the turn-around, do I want to stay at a company that is experiencing failing projects, and why am I being given this &#8220;opportunity&#8221;.</p>
<p><strong>How to Turn a Failing Project Around?</strong></p>
<p>Have you ever been asked to takeover a failing project? The reasons for a project going to “code red” are numerous, but can usually be classified into seven areas:</p>
<p>1-Lack of crisp requirements<br />
2-Insufficient resources<br />
3-Unrealistic time-line<br />
4-Lack of a clear business case<br />
5-Poor project planning and/or inexperienced project leadership<br />
6-Technical and/or process issues<br />
7-Lukewarm project sponsorship – insufficient authority for the project leader</p>
<p>When taking over a project at risk, the first thing one can do is ask these questions:</p>
<p>-How compelling is the business case for the project?<br />
-Do you have clear requirements?<br />
-Is there a project plan, and is it up-to-date?<br />
-Is there a change control process in place?<br />
-Is the project’s status reporting reliable and transparent?<br />
-Is the project sponsor supportive and effective?<br />
-What are the top customer’s concerns?<br />
-What is the project’s financial situation?<br />
-Is the project on schedule or not?</p>
<p>Equipped with answers to these questions, the next step is to address these six areas:</p>
<p>1-The Project team:<br />
a.Take inventory of teams’ strengths and weaknesses<br />
b.Address resource sufficiency issues<br />
c.Address morale issues &#8211; make resource changes if necessary<br />
d.Create a sense of urgency (how does this project impact the company and the team?)</p>
<p>2-Customer<br />
a.Manage customer expectations, refuse to be treated like a punching bag<br />
b.Insist on dealing with the decision maker(s)<br />
c.Insist on being given the authority to act. and the resources to succeed<br />
d.Present the solution quickly (within 1-2 weeks)<br />
e.Schedule short summary meetings for each day with the customer<br />
f.Communicate success and challenges with high degree of transparency</p>
<p>3-Technology<br />
a.Address any infrastructure problems<br />
b.Address software and tools needs<br />
c.Resolve implementation and logistical issues</p>
<p>4-Project:<br />
a.Re-establish and assert control over the project<br />
b.Tighten up the requirements<br />
c.Update the project plan and act accordingly<br />
d.Implement a change management process<br />
e.Start project reporting immediately<br />
f.Re-work the project plan and WBS into smaller chunks<br />
g.Aim for quick wins to build credibility</p>
<p>5-Financial:<br />
a.If the project is over budget, secure additional funds, or reduce scope, or increase time to completion</p>
<p>6-Operation:<br />
a.Address logistical barriers</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=186&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2008/11/03/failing-project-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>18 ways to improve your body language</title>
		<link>http://programmingindexcards.wordpress.com/2008/09/15/18-ways-to-improve-your-body-language/</link>
		<comments>http://programmingindexcards.wordpress.com/2008/09/15/18-ways-to-improve-your-body-language/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 19:45:43 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[body language]]></category>
		<category><![CDATA[interview]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=173</guid>
		<description><![CDATA[1. Don’t cross your arms or legs
2. Have eye contact, but don’t stare
3. Don’t be afraid to take up some space
4. Relax your shoulders
5. Nod when they are talking
6. Don’t slouch, sit up straight
7. Lean, but not too much
8. Smile and laugh
9. Don’t touch your face
10. Keep you head up
11. Slow down a bit
12. Don’t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=173&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">1. Don’t cross your arms or legs</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">2. Have eye contact, but don’t stare</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">3. Don’t be afraid to take up some space</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">4. Relax your shoulders</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">5. Nod when they are talking</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">6. Don’t slouch, sit up straight</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">7. Lean, but not too much</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">8. Smile and laugh</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">9. Don’t touch your face</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">10. Keep you head up</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">11. Slow down a bit</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">12. Don’t fidget</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">13. Use your hands more confidently</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">14. Lower your drink</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">15. Realise where your spine ends</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">16. Don’t stand too close</span></strong></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><strong><span style="color:#353535;">17. Mirror</span></strong><span style="color:#353535;"> </span></p>
<p class="MsoNormal" style="line-height:13pt;" align="left"><span lang="EN-GB"> </span></p>
<p><strong><span style="color:#353535;">18. Keep a good attitude</span></strong></p>
<p><sup>1</sup><a href="http://www.positivityblog.com/index.php/2006/10/27/18-ways-to-improve-your-body-language/">18 ways to improve your body language</a><br />
<sup>2</sup><a href="http://www.positivityblog.com/index.php/2007/09/10/how-to-improve-your-social-skills/">How to Improve Your Social Skills</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingindexcards.wordpress.com/173/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingindexcards.wordpress.com/173/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=173&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2008/09/15/18-ways-to-improve-your-body-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>Model View Controller</title>
		<link>http://programmingindexcards.wordpress.com/2008/08/16/model-view-controller/</link>
		<comments>http://programmingindexcards.wordpress.com/2008/08/16/model-view-controller/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 01:38:44 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[design pattern]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=155</guid>
		<description><![CDATA[Model View Contoller &#8211; a &#8230; design pattern often used by applications that need the ability to  maintain multiple views of the same data.1
Model

Encapsulates core application data and functionality Domain Logic/Business Logic.
 Since the model must be independent, it cannot refer to either the view or controller portions of the application.

View

obtains data from the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=155&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Model View Contoller</strong> &#8211; a &#8230; design pattern often used by applications that need the ability to  maintain multiple views of the same data.<sup>1</sup></p>
<p><strong>Model</strong></p>
<ul>
<li>Encapsulates <strong>core application data</strong> and functionality Domain Logic/Business Logic.</li>
<li> Since the model must be independent, it cannot refer to either the view or controller portions of the application.</li>
</ul>
<p><strong>View</strong></p>
<ul>
<li><strong>obtains </strong>data from the model and <strong>presents </strong>it to the user.</li>
</ul>
<p><strong>Controller</strong></p>
<ul>
<li><strong>receives and translates input to requests </strong>on the model or the view.</li>
</ul>
<p><strong>Benefits of MVC</strong></p>
<ul>
<li>Substitutable user interface<br />
Different views and controllers can be substituted to provide alternate user interfaces for the same model.</li>
<li>User interface components</li>
<li>Multiple simultaneous views of the same model</li>
<li>Syncronized views</li>
<li>Easier user interface changes</li>
<li>Easier testing</li>
</ul>
<p><strong>Drawbacks of MVC</strong></p>
<ul>
<li>Increased complexity</li>
<li>Close coupling of views and controllers to model</li>
<li>Potential for excessive updates</li>
<li>Close coupling between view and controller</li>
</ul>
<p>Summary of article by the Web Application Component Toolkit<br />
<a href="http://www.phpwact.org/pattern/model_view_controller?do=show">Source</a></p>
<p class="navHeading"><sup>1</sup>eNode <a href="http://www.enode.com/x/markup/tutorial/mvc.html">Model-View-Controller Pattern</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingindexcards.wordpress.com/155/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingindexcards.wordpress.com/155/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=155&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2008/08/16/model-view-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
		<item>
		<title>OOP Basics</title>
		<link>http://programmingindexcards.wordpress.com/2008/08/11/oop-basics/</link>
		<comments>http://programmingindexcards.wordpress.com/2008/08/11/oop-basics/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 02:20:49 +0000</pubDate>
		<dc:creator>apcig</dc:creator>
				<category><![CDATA[OOP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://programmingindexcards.wordpress.com/?p=142</guid>
		<description><![CDATA[Polymorphism - appropriate method is called depending on the object type
Inheritance
- represents &#8220;Is A&#8221; relationship between classes.   Class A &#8220;is a&#8221; class             B
- the             ability to inherit properties and methods [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=142&subd=programmingindexcards&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Polymorphism </strong>- appropriate method is called depending on the object type</p>
<p><strong>Inheritance<br />
</strong>- represents &#8220;Is A&#8221; relationship between classes.   Class A &#8220;is a&#8221; class             B<br />
- the             ability to inherit properties and methods and extend the functionality of an             existing class in a new one<sup>1</sup></p>
<p><strong>Composition<br />
</strong>- represents<strong> </strong>&#8220;Has a&#8221; relationship between classes.  Class A &#8220;has a&#8221; class             B</p>
<p><strong>Encapsulation </strong>- used to hide information</p>
<p><strong>Immutable </strong>- the data value cannot be changed</p>
<p><strong>Arrays in .Net </strong>- cannot store more than 1 data type</p>
<p><strong>Override </strong>- change behavior method for the derived class</p>
<p><strong>Overload </strong>- having 2 or more methods with the same name in a class</p>
<p><strong>Boxing </strong>- value to reference conversion -&gt; heap</p>
<p><strong>Unboxing </strong>- reference to value conversion -&gt; stack</p>
<p><sup>1</sup><a href="http://www.adobe.com/devnet/actionscript/articles/oop_as3_print.html">Object-oriented programming with ActionScript 3.0</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingindexcards.wordpress.com/142/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingindexcards.wordpress.com/142/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingindexcards.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingindexcards.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingindexcards.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingindexcards.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingindexcards.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingindexcards.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingindexcards.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingindexcards.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingindexcards.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingindexcards.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingindexcards.wordpress.com&blog=4071148&post=142&subd=programmingindexcards&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://programmingindexcards.wordpress.com/2008/08/11/oop-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1253844844e710501eb5d12cfbb911ef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">apcig</media:title>
		</media:content>
	</item>
	</channel>
</rss>