<?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>ProgrammingWall</title>
	<atom:link href="http://www.ProgrammingWall.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ProgrammingWall.com</link>
	<description></description>
	<lastBuildDate>Thu, 06 Oct 2011 14:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Best WordPress Plugins</title>
		<link>http://www.ProgrammingWall.com/wordpress/best-wordpress-plugins/</link>
		<comments>http://www.ProgrammingWall.com/wordpress/best-wordpress-plugins/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 11:43:55 +0000</pubDate>
		<dc:creator>Pankaj Batra</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ProgrammingWall.com/?p=65</guid>
		<description><![CDATA[There are too many plugins available for WordPress platform, that makes WordPress so powerful. However below are some of the best plugins available out there: Akismet - Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you review the spam it catches under your [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>There are too many plugins available for WordPress platform, that makes WordPress so powerful.<br />
However below are some of the best plugins available out there:</p>
<ol>
<li><strong><a href="http://wordpress.org/extend/plugins/akismet/" target="_blank">Akismet </a>- </strong>Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you review the spam it catches under your blog&#8217;s &#8220;Comments&#8221; admin screen.</li>
<li><strong><a href="http://wordpress.org/extend/plugins/contact-form-7/" target="_blank">Contact Form 7</a> </strong>- Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/google-analytics-for-wordpress/" target="_blank">Google Analytics for WordPress</a> </strong>- The Google Analytics for WordPress plugin automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">Google XML Sitemaps</a> </strong>- This plugin will generate a special XML sitemap which will help search engines like Google, Bing, Yahoo and Ask.com to better index your blog. With such a sitemap, it&#8217;s much easier for the crawlers to see the complete structure of your site and retrieve it more efficiently.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" target="_blank">All in one SEO Pack</a> </strong>- Optimizes your WordPress blog for Search Engines (Search Engine Optimization).</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/my-page-order/" target="_blank">My Page Order</a> </strong>- My Page Order allows you to set the order of pages through a drag and drop interface.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/subscribe2/" target="_blank">Subscribe2 </a></strong>- Subscribe2 provides a comprehensive subscription management and email notification system for WordPress blogs that sends email notifications to a list of subscribers when you publish new content to your blog.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/headspace2/" target="_blank">Headspace2 SEO </a></strong>- HeadSpace2 is an all-in-one meta-data manager that allows you to fine-tune the SEO potential of your site.</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/subscribe-to-comments/" target="_blank">Subscribe to Comments</a> </strong>- Subscribe to Comments is a robust plugin that enables commenters to sign up for e-mail notification of subsequent entries. The plugin includes a full-featured subscription manager that your commenters can use to unsubscribe to certain posts, block all notifications, or even change their notification e-mail address!</li>
<li><strong> <a href="http://wordpress.org/extend/plugins/theme-test-drive/" target="_blank">Theme test drive</a> </strong>- Theme Test Drive WordPress plugin allows you to safely test drive any theme on your blog as administrator, while visitors still use the default one.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/stats/" target="_blank">WordPress.com stats</a></strong> &#8211; Provides statistics about your visitors.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">Wp-DBManager</a></strong> &#8211; Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up and optimizing of database.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-downloadmanager/" target="_blank">Wp-downloadManager</a> </strong>- Adds a simple download manager to your WordPress blog.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-email/" target="_blank">Wp-Email</a></strong> &#8211; Allows people to recommend/send your WordPress blog&#8217;s post/page to a friend.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-postviews/" target="_blank">Wp-PostViews</a> </strong>- Enables you to display how many times a post/page had been viewed.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-ajax-edit-comments/" target="_blank">WP Ajax Edit Comments</a></strong> &#8211; The most powerful comment editing solution for WordPress. Users can edit their own comments for a limited time, while admins can edit all comments.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">Wp Super Cache</a></strong> &#8211; This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.<strong> </strong></li>
<li><strong> <a href="http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/" target="_blank">Yet Another Related Posts Plugin</a> </strong>- Yet Another Related Posts Plugin (YARPP) gives you a list of posts and/or pages related to the current entry, introducing the reader to other relevant content on your site.</li>
<li><strong><a href="http://wordpress.org/extend/plugins/intensedebate/" target="_blank">IntenseDebate Comments</a> </strong>- IntenseDebate Comments enhance and encourage conversation on your blog or website. Custom integration with your WordPress admin panel makes moderation a piece of cake. Comment threading, reply-by-email, user accounts and reputations, comment voting, along with Twitter and friendfeed integrations enrich your readers&#8217; experience and make more of the internet aware of your blog and comments which drives traffic to you!<strong> </strong></li>
<li><strong><a href="http://wordpress.org/extend/plugins/seo-automatic-links/" target="_blank">SEO Smart Links</a> &#8211; </strong>SEO Smart Links provides automatic SEO benefits for your site in addition to custom keyword lists, nofollow and much more.SEO Smart Links can automatically link keywords and phrases in your posts and comments with corresponding posts, pages, categories and tags on your blog.</li>
<li><a href="http://wordpress.org/extend/plugins/seo-image/" target="_blank"><strong>SEO Friendly Images </strong></a>- SEO Friendly Images is a WordPress optimization plugin which automatically updates all images with proper ALT and TITLE attributes. If your images do not have ALT and TITLE already set, SEO Friendly Images will add them according the options you set. Additionally this makes the post W3C/xHTML valid as well.</li>
<li><a href="http://wordpress.org/extend/plugins/seo-super-comments/" target="_blank"><strong>SEO Super Comments</strong></a> <strong>- </strong>For each user comment we will create a new dynamic page on the blog, holding the actual comment information. This page will not actually exist in WordPress database, but we will create it dynamically using a WordPress plugin.</li>
</ol>
<p>You can download all above plugins in a single zip file here, which you can extract in wordpress root/wp-content/plugins directory</p>
Note: There is a file embedded within this post, please visit this post to download the file.
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/wordpress/best-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert between ascii code and char in Ruby</title>
		<link>http://www.ProgrammingWall.com/ruby-on-rails/ruby-char-int-covert-ascii-code/</link>
		<comments>http://www.ProgrammingWall.com/ruby-on-rails/ruby-char-int-covert-ascii-code/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 19:11:26 +0000</pubDate>
		<dc:creator>Adminstrator</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[ascii code]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.ProgrammingWall.com/?p=62</guid>
		<description><![CDATA[For converting integer to character, you can use .chr, like below 97.chr is equivalent to &#8220;a&#8221; Similarly, for converting back from char to ascii code, use ? ?a is equivalent to 97 No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>For converting integer to character, you can use .chr, like below<br />
97.chr is equivalent to &#8220;a&#8221;</p>
<p>Similarly, for converting back from char to ascii code, use ?<br />
?a is equivalent to 97</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/ruby-on-rails/ruby-char-int-covert-ascii-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Email in response to Google Gmail Buzz</title>
		<link>http://www.ProgrammingWall.com/technology/facebook-email-in-response-to-google-gmail-buzz/</link>
		<comments>http://www.ProgrammingWall.com/technology/facebook-email-in-response-to-google-gmail-buzz/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:37:32 +0000</pubDate>
		<dc:creator>Pankaj Batra</dc:creator>
				<category><![CDATA[Fiction]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Facebook versus Google]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://www.pankajbatra.com/?p=841</guid>
		<description><![CDATA[The inevitable has finally happened. The war of Email and Social Networking between Facebook and Google has reached an all time high. Facebook, world&#8217;s no. 1 social networking website has quietly launched its dramatically new email service, the FBMail or the Facebook Mail. Some select Facebook users have reported that were surprised to find that [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/java/sample-java-code-to-read-mails-from-your-gmail-acc/' rel='bookmark' title='Sample java code to read mails from your gmail account'>Sample java code to read mails from your gmail account</a></li>
<li><a href='http://www.ProgrammingWall.com/technology/how-to-send-email-from-oracle-stored-procedure/' rel='bookmark' title='How to send email from oracle stored procedure'>How to send email from oracle stored procedure</a></li>
<li><a href='http://www.ProgrammingWall.com/java/email-marketing-tool-application/' rel='bookmark' title='Email Marketing Tool Application'>Email Marketing Tool Application</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The inevitable has finally happened. The war of Email and Social Networking between Facebook and Google has reached an all time high.  Facebook, world&#8217;s no. 1 social networking website has quietly launched its dramatically new email service, the FBMail or the Facebook Mail. Some select Facebook users have reported that were surprised to find that their Facebook accounts had a new tab called &#8220;email&#8221; which had an entire email application built onto it that Facebook calls FBMail. Their existing friends were already included in the address book. The Facebook email application is said to be in beta phase and it may be possible that it would roll out to more users in the months to come.<br />
<strong><span id="more-841"></span></strong></p>
<p style="text-align: center;"><a href="http://farm3.static.flickr.com/2709/4348804164_68b6cf3b2c.jpg"><img class="aligncenter size-full wp-image-170" title="Facebook Email" src="http://farm3.static.flickr.com/2709/4348804164_68b6cf3b2c.jpg" alt="New Email Service from Facebook FBMail" /></a></p>
<p>It is anticipated that this is in response to Google Buzz, the social networking application that is built right into Gmail and is attracting lot of users. The first hit by the Google Buzz is the traffic on websites like Facebook and Twitter. Many of the Google Buzz users have indicated that Google Buzz built in Gmail has made Twitter and Facebook less tempting to use.</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4063/4348804176_beaa95ea57.jpg"><img class="size-full wp-image-171 aligncenter" title="Google Gmail Buzz" src="http://farm5.static.flickr.com/4063/4348804176_beaa95ea57.jpg" alt="Google Buzz" /></a></p>
<p>The facebook email service has all the usual ajax/javascript features to give it the desktop client like feel (just as it is with Gmail, Yahoo mail and Hotmail). In addition the users also have to option to send alternate forms of messages. From the same compose box users have the option of:</p>
<ul>
<li>Sending Emails</li>
<li>Sending Status Updates</li>
<li>Sending Text Messages</li>
<li>Sending an IM</li>
</ul>
<p>This has been termed as a smart move as it converges every form of communication though it still keeps the distinction intact in order to keep more formal communication like the email with attachments intact while giving users the freedom to make use of social networking features. Although some analysts have hinted that Google Wave was a similar product though it could not take off really well as it was considered geeky by the masses.</p>
<p>It may be interesting to note that Microsoft is particularly happy with the product as it continues to have a share in Facebook. This new email feature in Facebook is expected to make a lot of people especially those in the age group of 12-40 to switch from Gmail to Facebook email which could be a major upset for Google as after the advent of Gmail the war of email was considered nearly over.</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/java/sample-java-code-to-read-mails-from-your-gmail-acc/' rel='bookmark' title='Sample java code to read mails from your gmail account'>Sample java code to read mails from your gmail account</a></li>
<li><a href='http://www.ProgrammingWall.com/technology/how-to-send-email-from-oracle-stored-procedure/' rel='bookmark' title='How to send email from oracle stored procedure'>How to send email from oracle stored procedure</a></li>
<li><a href='http://www.ProgrammingWall.com/java/email-marketing-tool-application/' rel='bookmark' title='Email Marketing Tool Application'>Email Marketing Tool Application</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/technology/facebook-email-in-response-to-google-gmail-buzz/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Caller information in Javascript</title>
		<link>http://www.ProgrammingWall.com/javascript/caller-information-in-javascript/</link>
		<comments>http://www.ProgrammingWall.com/javascript/caller-information-in-javascript/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 01:49:20 +0000</pubDate>
		<dc:creator>Pankaj Batra</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.programmingwall.com/?p=59</guid>
		<description><![CDATA[Caller &#8211; Returns the function that invoked the specified function. Not a standard javascript function but implemented in Mozilla engine and JScript. If the function f was invoked by the top level code, the value of f.caller is null, otherwise it&#8217;s the function that called f. Example: Checking the value of a function&#8217;s caller property [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/opensource-flex-api-actionscript-api/' rel='bookmark' title='Opensource Flex api / Actionscript api'>Opensource Flex api / Actionscript api</a></li>
<li><a href='http://www.ProgrammingWall.com/java/executing-javascript-in-java-code/' rel='bookmark' title='Executing Javascript in Java code'>Executing Javascript in Java code</a></li>
<li><a href='http://www.ProgrammingWall.com/technology/javascript-syntax-validation/' rel='bookmark' title='Javascript syntax validation'>Javascript syntax validation</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Caller &#8211; Returns the function that invoked the specified function.</p>
<p>Not a standard javascript function but implemented in <a class="zem_slink" title="Mozilla" rel="wikipedia" href="http://en.wikipedia.org/wiki/Mozilla">Mozilla</a> engine and <a class="zem_slink" title="JScript" rel="homepage" href="http://msdn.microsoft.com/en-us/library/hbxc2t98%28VS.85%29.aspx">JScript</a>.</p>
<p>If the function f was invoked by the top level code, the value of f.caller is null, otherwise it&#8217;s the function that called f.</p>
<p>Example: Checking the value of a function&#8217;s caller property</p>
<p>The following code checks the value a function&#8217;s caller property.</p>
<pre class="brush: jscript; title: ; notranslate">function myFunc() {
if (myFunc.caller == null)
{
return (&quot;The function was called from the top!&quot;);
}
else return (&quot;This function's caller was &quot; + myFunc.caller);
}</pre>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/opensource-flex-api-actionscript-api/' rel='bookmark' title='Opensource Flex api / Actionscript api'>Opensource Flex api / Actionscript api</a></li>
<li><a href='http://www.ProgrammingWall.com/java/executing-javascript-in-java-code/' rel='bookmark' title='Executing Javascript in Java code'>Executing Javascript in Java code</a></li>
<li><a href='http://www.ProgrammingWall.com/technology/javascript-syntax-validation/' rel='bookmark' title='Javascript syntax validation'>Javascript syntax validation</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/javascript/caller-information-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Interview questions</title>
		<link>http://www.ProgrammingWall.com/java/java-interview-questions/</link>
		<comments>http://www.ProgrammingWall.com/java/java-interview-questions/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 11:01:40 +0000</pubDate>
		<dc:creator>vipuljhawar</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java interview questions]]></category>
		<category><![CDATA[Java questions]]></category>

		<guid isPermaLink="false">http://www.programmingwall.com/?p=55</guid>
		<description><![CDATA[Here a few Java Interview questions. Divided in three different categories:  Basic, Intermediate,  Advanced. Basic Q &#8211; Can a class have it&#8217;s main method declared as private? A &#8211; Yes, the program will compile but fail at runtime. Q &#8211; What if the static modifier is removed from the signature of the main method? A [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/java/java-interview-questions-2/' rel='bookmark' title='Java Interview questions'>Java Interview questions</a></li>
<li><a href='http://www.ProgrammingWall.com/java/class-loading-in-java/' rel='bookmark' title='Class Loading in Java'>Class Loading in Java</a></li>
<li><a href='http://www.ProgrammingWall.com/java/number-of-processors-on-a-machine/' rel='bookmark' title='Number of processors on a machine'>Number of processors on a machine</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here a few Java Interview questions. Divided in three different categories:  Basic, Intermediate,  Advanced.</p>
<p><span style="text-decoration: underline;"><strong>Basic</strong></span></p>
<p><strong>Q &#8211; <strong>Can a class have it&#8217;s main method declared as private?</strong></strong></p>
<p>A &#8211; Yes, the program will compile but fail at runtime.</p>
<p><strong>Q &#8211; <strong>What if the static modifier is removed from the signature of the main method?</strong></strong></p>
<p>A &#8211; Program compiles. But at runtime throws an error “NoSuchMethodError”.</p>
<p><strong>Q &#8211; <strong>How can I swap two variables without using a third variable?</strong></strong></p>
<p>A &#8211; Add two variables and assign the value into First variable. Subtract the Second value with the result  Value. and assign to Second variable. Subtract the Result of First Variable With Result of Second Variable and Assign to First Variable. Example:</p>
<p>int a=5,b=10;a=a+b; b=a-b; a=a-b;</p>
<p><em>Another approach<br />
</em></p>
<p>You use an XOR swap.<strong><br />
</strong><br />
int a = 5; int b = 10;<br />
a = a ^ b;<br />
b = a ^ b;<br />
a = a ^ b;</p>
<p><strong>Q &#8211; <strong>When is static variable loaded?</strong></strong></p>
<p>A &#8211; Static variable are loaded when classloader loads the class in the JVM. Static variables are allocated memory space when they have been loaded. Object creation is not necessary to load the static vars.</p>
<p><strong>Q &#8211; Can an abstract class be declared final?</strong></p>
<p>A &#8211; No an abstract class cannot be declared final as it may not have all the implementation.</p>
<p><strong><span style="text-decoration: underline;">Intermediate</span></strong></p>
<p><strong>Q &#8211; What is the use of instanceOf ?</strong></p>
<p>A &#8211; instanceOf is used to type check an Object to avoid class cast exception mostly.</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/java/java-interview-questions-2/' rel='bookmark' title='Java Interview questions'>Java Interview questions</a></li>
<li><a href='http://www.ProgrammingWall.com/java/class-loading-in-java/' rel='bookmark' title='Class Loading in Java'>Class Loading in Java</a></li>
<li><a href='http://www.ProgrammingWall.com/java/number-of-processors-on-a-machine/' rel='bookmark' title='Number of processors on a machine'>Number of processors on a machine</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/java/java-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript syntax validation</title>
		<link>http://www.ProgrammingWall.com/technology/javascript-syntax-validation/</link>
		<comments>http://www.ProgrammingWall.com/technology/javascript-syntax-validation/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 19:35:27 +0000</pubDate>
		<dc:creator>Pankaj Batra</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[online tool]]></category>
		<category><![CDATA[syntax validation]]></category>

		<guid isPermaLink="false">http://www.pankajbatra.com/?p=118</guid>
		<description><![CDATA[Yesterday, I was stuck on a webpage where javascript validation was not working. I tried putting a debug point on firbug (a firefox extension) but it was not even getting called. There was no javascript errror on firefox/firebug. Finally i doubted the included validation javascript file. At that moment I needed a tool to test [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/javascript/caller-information-in-javascript/' rel='bookmark' title='Caller information in Javascript'>Caller information in Javascript</a></li>
<li><a href='http://www.ProgrammingWall.com/java/executing-javascript-in-java-code/' rel='bookmark' title='Executing Javascript in Java code'>Executing Javascript in Java code</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I was stuck on a webpage where<strong> javascript validation</strong> was not working. I tried putting a <strong>debug </strong>point on <strong>firbug </strong>(a <strong>firefox extension</strong>) but it was not even getting called. There was no <strong>javascript errror</strong> on firefox/firebug. Finally i doubted the included validation javascript file. At that moment I needed a <strong>tool </strong>to test a js for its <strong>sytax validity</strong>. I found an <strong>online tool</strong> to do that on <a href="http://www.javascriptlint.com/online_lint.php" target="_blank">http://www.javascriptlint.com/online_lint.php</a>. And I was right and there was an extra brace( } )in js file.</p>
<p>Once again thanks to <strong>Google </strong>God !</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/javascript/caller-information-in-javascript/' rel='bookmark' title='Caller information in Javascript'>Caller information in Javascript</a></li>
<li><a href='http://www.ProgrammingWall.com/java/executing-javascript-in-java-code/' rel='bookmark' title='Executing Javascript in Java code'>Executing Javascript in Java code</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/technology/javascript-syntax-validation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a dynamic tree in flex</title>
		<link>http://www.ProgrammingWall.com/flex/creating-a-dynamic-tree-in-flex/</link>
		<comments>http://www.ProgrammingWall.com/flex/creating-a-dynamic-tree-in-flex/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 16:41:55 +0000</pubDate>
		<dc:creator>vipuljhawar</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[dynamic tree in flex]]></category>
		<category><![CDATA[Flex Tree control]]></category>
		<category><![CDATA[tree in actionscript]]></category>
		<category><![CDATA[using objects in flex tree]]></category>

		<guid isPermaLink="false">http://vipuljhawar.wordpress.com/?p=41</guid>
		<description><![CDATA[Tree control is one of the most powerful control in Flex. You must have stumbled upon N number of articles explaining the tree control, where they pick up the data from an XML for the tree, but that does not really happen too often if you have a tree which is to be built dynamically [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/expanding-flex-tree-control-tree-in-flex-20/' rel='bookmark' title='Expanding Flex Tree Control / Tree in Flex 2.0'>Expanding Flex Tree Control / Tree in Flex 2.0</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/comparable-datagrid-in-flex/' rel='bookmark' title='Comparable datagrid in flex'>Comparable datagrid in flex</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Tree control is one of the most powerful control in Flex. You must have stumbled upon N number of articles explaining the tree control, where they pick up the data from an XML for the tree, but that does not really happen too often if you have a tree which is to be built dynamically as loading a new XML everytime to build a tree is a costly affair.</p>
<p>So, let&#8217;s create a tree in Flex using actionscript objects which may be serialized version of server side objects or you may want to create a tree using some business logic rather than some plain input text. So, we will create a TreeNode class in Actionscript which will represent each and every node in the tree. The advantage of working with node objects is that you can have different types of objects at different levels and also use the inheritance concept pretty nicely. So a basic node may be a Node with variables &#8211; id, name, type.  A subclass of this node may be a PersonNode with additional variables &#8211; age, sex etc&#8230; and you can go on like this creating trees with the apt information and you can display any kind of data just by clicking on the node by fetching that node from the tree.</p>
<p>The top level class will be TreeNode.</p>
<pre class="brush: java; title: ; notranslate">public class TreeNode {

public var id : int;

public var name : String;

public var type : int;

public var children : ArrayCollection;

public function addChild(node : TreeNode) : void {

if (this.children == null)

this.children = new ArrayCollection();

children.addItem(node);

}
//Similarly you could have getNode();

}</pre>
<p>A sublcass of this could be a DataTreeNode</p>
<pre class="brush: java; title: ; notranslate">public class DataTreeNode extends TreeNode {

public var data : Object;

}</pre>
<p>Now you can simply create a tree in Flex, by creating a RootNode of type DataTreeNode.</p>
<pre class="brush: java; title: ; notranslate">var rootNode : DataTreeNode = new DataTreeNode();

rootNode.id = 0;

rootNode.name = &quot;Root&quot;;

rootNode.type = -1;</pre>
<p>Now you can keep creating nodes of different types and keep adding to the rootNode. Just assign the rootNode to you tree as a dataProvider and there you are, the flex tree will display automatically. I have found this approach much better and easy as it allows easy extension and also allows me to do much more on when i click a treeNode. Also, this way you don&#8217;t solely rely on the Tree api in Flex to do something with your tree, you can manipulate or swift your tree in any manner you want and reap the benefits.</p>
<p>If you have better way of creating dynamic tree in flex do comment, i would be more than pleased to improve or use that for my project, with all the regard definitely <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/expanding-flex-tree-control-tree-in-flex-20/' rel='bookmark' title='Expanding Flex Tree Control / Tree in Flex 2.0'>Expanding Flex Tree Control / Tree in Flex 2.0</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/comparable-datagrid-in-flex/' rel='bookmark' title='Comparable datagrid in flex'>Comparable datagrid in flex</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/flex/creating-a-dynamic-tree-in-flex/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Comparable datagrid in flex</title>
		<link>http://www.ProgrammingWall.com/flex/comparable-datagrid-in-flex/</link>
		<comments>http://www.ProgrammingWall.com/flex/comparable-datagrid-in-flex/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 14:39:09 +0000</pubDate>
		<dc:creator>vipuljhawar</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[columnwise datagrid in flex]]></category>
		<category><![CDATA[compare data in flex]]></category>
		<category><![CDATA[datagrid in flex]]></category>

		<guid isPermaLink="false">http://vipuljhawar.wordpress.com/?p=39</guid>
		<description><![CDATA[Using a datagrid in Flex seems very easy, but it has the inherent problem as ready to eat meal. It may not allow you to do all the modifications and may not allow you to present it in a view you desire. A few months back i had a requirement to create a datagrid, which [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/creating-a-dynamic-tree-in-flex/' rel='bookmark' title='Creating a dynamic tree in flex'>Creating a dynamic tree in flex</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/expanding-flex-tree-control-tree-in-flex-20/' rel='bookmark' title='Expanding Flex Tree Control / Tree in Flex 2.0'>Expanding Flex Tree Control / Tree in Flex 2.0</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/opensource-flex-api-actionscript-api/' rel='bookmark' title='Opensource Flex api / Actionscript api'>Opensource Flex api / Actionscript api</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Using a datagrid in Flex seems very easy, but it has the inherent problem as ready to eat meal. It may not allow you to do all the modifications and may not allow you to present it in a view you desire.</p>
<p>A few months back i had a requirement to create a datagrid, which displayed data column wise instead row wise i.e. the datagrid was suppose to be used for comparing and viewing data across columns rather than rows. So, how do we deal with such a problem in Flex. If you are working on HTML, its easy as you can just alter the logic in the for loop printing the rows. The whole point is using multi dimension arrays.</p>
<p>After finding no easy way to do it in Flex, i had to use to the same programming talent to display data column wise.</p>
<p>As datagrid expects the dataprovider to be in the form of an Array or ArrayCollection of objects and then it iterates over these objects to display a property of these objects in each column when you use the <strong>dataField </strong>property or you can reformat your test using the <strong>labelFunction</strong> property for the column. I used a combination of programming logic and labelFunction to display the list.</p>
<p>Lets say we intend to display Person objects columnWise, as displayed below.<a title="comparable-table.png" href="http://vipuljhawar.files.wordpress.com/2008/03/comparable-table.png"><img src="http://vipuljhawar.files.wordpress.com/2008/03/comparable-table.png" alt="comparable-table.png" /></a></p>
<p>Now we would receive person object from the server to the client and there is no way that you can use labelfield property or the lablefunction straight away to create such a table.</p>
<p>The wrokaround is to keep the person array aside and create an array of indexes equal to the number of rows that each column would have or the max. number of rows that a column could have in the whole table. So we will create an array with numbers {1,2,3,4&#8230;} each number denoting a particular row in the column. Now, iterate through the person object array and keep on adding DataGridColumn objects to the datagrid for as many Person object. So, the dataprovider to the datagrid is an array of indexes and the number of columns is equal to the number of Person objects. Assign a labelFunction to each column such that</p>
<p>
<pre class="brush: java; title: ; notranslate">public function getCompareLabel(item : Object, column : DataGridColumn) : String {
var cIndex : int = int(Number(column.dataField)); //this will give you the column for which you have to get data.
if (cIndex == 0)
return getRowLabel(item, column); //Now in getRowLabel just write a switch function which will give label's for each row, such as &quot;First&quot;, &quot;Last&quot; etc. This gives the first column.
var person : PersonDAO = personArray[cIndex-1] as PersonDAO;
//Now from second column onwards we will get the particular person object from the dataArray and display data for a particular field accordingly.
switch(item) {
case 1 : return getCmpStr(person.firstName);
case 2 : return getCmpStr(person.lastName);
case 3 : return getCmpStr(person.age);
....
.....
}
</pre>
<p>The output will be a table like above. Strange, isn&#8217;t it Flex is suppose to make things easier but i had to swing around the whole place to get this is in place.</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/flex/creating-a-dynamic-tree-in-flex/' rel='bookmark' title='Creating a dynamic tree in flex'>Creating a dynamic tree in flex</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/expanding-flex-tree-control-tree-in-flex-20/' rel='bookmark' title='Expanding Flex Tree Control / Tree in Flex 2.0'>Expanding Flex Tree Control / Tree in Flex 2.0</a></li>
<li><a href='http://www.ProgrammingWall.com/flex/opensource-flex-api-actionscript-api/' rel='bookmark' title='Opensource Flex api / Actionscript api'>Opensource Flex api / Actionscript api</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/flex/comparable-datagrid-in-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone must have apps</title>
		<link>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-must-have-apps/</link>
		<comments>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-must-have-apps/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 16:02:06 +0000</pubDate>
		<dc:creator>vipuljhawar</dc:creator>
				<category><![CDATA[Baby Steps to iPhone]]></category>
		<category><![CDATA[best iPhone apps]]></category>
		<category><![CDATA[hot iPhone apps]]></category>
		<category><![CDATA[iPhone apps]]></category>
		<category><![CDATA[iPhone experience]]></category>
		<category><![CDATA[iPhone must have apps]]></category>

		<guid isPermaLink="false">http://vipuljhawar.wordpress.com/?p=38</guid>
		<description><![CDATA[It&#8217;s time to identify the must have apps on your iPhone. The list would be regularly updated with time as and when you see new apps flowing in but as of now i find the following worth installing. I am having a satisfactory usage experience on 1.1.3 with these apps. 1. WebSearch  &#8211; One stop [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-review-my-first-thoughts/' rel='bookmark' title='iPhone review, my first thoughts'>iPhone review, my first thoughts</a></li>
<li><a href='http://www.ProgrammingWall.com/my-review-on/why-no-iphone-in-india/' rel='bookmark' title='Why no iPhone in India ?'>Why no iPhone in India ?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to identify the must have apps on your iPhone. The list would be regularly updated with time as and when you see new apps flowing in but as of now i find the following worth installing. I am having a satisfactory usage experience on 1.1.3 with these apps.</p>
<p>1. WebSearch  &#8211; One stop app for searching Google, Amazon, Dictionary.com, ebay, wikipedia etc.</p>
<p>2. LocateMe &#8211; Gives your precise location on the planet. Nice to have if you are stuck in a unknown place sometime but would you be connected to the internet that time <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Gotta get Edge activated for that.</p>
<p>3.  SysInfo &#8211; Meta info about your iPhone.</p>
<p>4. Finder &#8211; Nice app to browse the filesystem and manage files and directories.</p>
<p>5. weDict &#8211; dictionaries on your iPhone.</p>
<p>6. Tris &#8211; Tetris for iPhone. One of my favourites, i love Tetris game and install it wherever possible. I even have it on IDE &#8211; IntelliJ <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>7. CameraPro &#8211; iPhone camera software sucks. This is a nice substitute.</p>
<p>8. MxTube &#8211; WOW, you can download youtube videos and persist them on your iPhone forever. It&#8217;s beta now but i think once the final release is out this is going to be one of the most hpt iPhone apps. Job&#8217;s would lose his cents as people wouldn&#8217;t buy videos from iTunes store.</p>
<p>9. FTP daemon &#8211; This is required if you wanna access your iPhone via FTP. One you have installed this, you can FTP files to your iPhone by using any FTP client on any remote machine.</p>
<p>10. Unix Subsystem &#8211; This is required by many apps as a base app.</p>
<p>11. Open SSH &#8211; SSH to your iPhone using Putty if you are using Windows on your PC.</p>
<p>So keep installing and enjoying, if you find another interesting app, do leave a comment.</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-review-my-first-thoughts/' rel='bookmark' title='iPhone review, my first thoughts'>iPhone review, my first thoughts</a></li>
<li><a href='http://www.ProgrammingWall.com/my-review-on/why-no-iphone-in-india/' rel='bookmark' title='Why no iPhone in India ?'>Why no iPhone in India ?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-must-have-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone review, my first thoughts</title>
		<link>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-review-my-first-thoughts/</link>
		<comments>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-review-my-first-thoughts/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 21:38:12 +0000</pubDate>
		<dc:creator>vipuljhawar</dc:creator>
				<category><![CDATA[Baby Steps to iPhone]]></category>
		<category><![CDATA[iPhone apps]]></category>
		<category><![CDATA[iPhone default apps]]></category>
		<category><![CDATA[iPhone in India]]></category>
		<category><![CDATA[iPhone review]]></category>

		<guid isPermaLink="false">http://vipuljhawar.wordpress.com/?p=36</guid>
		<description><![CDATA[Ok It&#8217;s time to start tapping the iPhone icons. Mine is a factory made 1.1.3 16 GB , no upgrades till date. The first things you should not miss on iPhone are the built in apps.Like a gentleman apple expects you to use these apps, and not any other from the so called untrusted sources:- [...]
Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/my-review-on/why-no-iphone-in-india/' rel='bookmark' title='Why no iPhone in India ?'>Why no iPhone in India ?</a></li>
<li><a href='http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-must-have-apps/' rel='bookmark' title='iPhone must have apps'>iPhone must have apps</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="iPhone" href="http://vipuljhawar.files.wordpress.com/2008/03/iphone.gif"><img src="http://vipuljhawar.files.wordpress.com/2008/03/iphone.thumbnail.gif" alt="iPhone" /></a></p>
<p>Ok It&#8217;s time to start tapping the iPhone icons. Mine is a factory made 1.1.3 16 GB <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> , no upgrades till date. The first things you should not miss on iPhone are the built in apps.Like a gentleman apple expects you to use these apps, and not any other from the so called untrusted sources:-</p>
<p>1. Youtube &#8211; Aaah!!! who didnt want youtube on their phone, i wish we had wi-fi everywhere i went in India.</p>
<p>2. iPod &#8211; This is great, I guess now it&#8217;s time for me to get the FM transmitter/adapter for iPhone so that i can use the iPod in my car/home over any speakers. Will have to get it from US now.</p>
<p>3. Google Maps &#8211; Great to see maps of India on your mobile, not pretty precise but considering the mughals never planned Delhi thinking we would tap our phone and use a map, so it&#8217;s kinna ok to get a fair idea. I am sure it will be much better in month&#8217;s to come. No driving instructions though but you can definitely spot the road in front of your house at least if you are in Delhi. The pin drop is great.</p>
<p>4. Safari &#8211; Oh this is killer, but no flash support <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> .</p>
<p>5. Mail &#8211; Looks good, but i would prefer this app to be password protected, what if i lose my phone or someone steals it (it happens too often in India), he enjoys my mail too so this is a security issue according to me.</p>
<p>6. Stocks &#8211; Good if you are into the bourses. The yahoo finance widget a true copy of the kanfabulator desktop widgets but it&#8217;s worth it. By default you see NYSE but can add BSE, NSE scrips too.</p>
<p>7. Photos &#8211; ok, not much impressed.</p>
<p>8. Camera &#8211; The software looks like as if it was developed before someone even thought of iPhone <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>9. Weather &#8211; Good, again the yahoo widget, you can add indian cities too.</p>
<p>10. Itunes &#8211; I never use it because i fear something may get updated and my phone may be bricked.</p>
<p>Some more default apps but these were worth mentioning.</p>
<p>But one things which sucks is the iTunes sync. This is why i hate it, and where they lock you into the apple world. How can ppl so blindly say that only Microsoft blocks other software and plug-ins, I guess iPhone is one the most locked in products.</p>
<p>The negatives as per initial usage:-</p>
<p>1. The phone charger is horrible, two piece device. Maybe guys using iPod wouldn&#8217;t feel so but normal mobile phone user would. It&#8217;s so difficult to carry the charger in pieces. Bad design.</p>
<p>2. The battery life isn&#8217;t so great, but considering it&#8217;s a full fledged mini PC, so there would be battery limitations.</p>
<p>3. The earphones socket is non standard one so you plug any regular male speaker or earphone plugs into the phone, so it becomes useless in your car until i buy a kinna converter now.</p>
<p>4. Ooooops iTunes sync sucks. Steve Job&#8217;s expects you to buy everything from videos to ringtones <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  on the iTunes store.</p>
<p>5. Using the speaker phone is an issue because of the volume.</p>
<p>But, still i must say i am impressed.</p>
<p>Trust me if iPhone could read and write vis-a-vis USB drive, it would have been a hit among the females too <img src='http://www.ProgrammingWall.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  (Am i doubting their geek quotient, nope). I mean iTunes really blocks it&#8217;s use as an external hard disk or USB drive but we will use it that way through FTP, SSH or something else.</p>
<p>Now it&#8217;s time to load the real apps which make this phone rock, yup the servers, the clients, the games and the etc&#8217;s. It wouldn&#8217;t a be mobile anymore now.</p>
<p>Related posts:<ol>
<li><a href='http://www.ProgrammingWall.com/my-review-on/why-no-iphone-in-india/' rel='bookmark' title='Why no iPhone in India ?'>Why no iPhone in India ?</a></li>
<li><a href='http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-must-have-apps/' rel='bookmark' title='iPhone must have apps'>iPhone must have apps</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ProgrammingWall.com/baby-steps-to-iphone/iphone-review-my-first-thoughts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 2832/3035 objects using disk: basic

Served from: www.programmingwall.com @ 2012-02-07 03:56:49 -->
