<?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>vijay khambalkar's blog</title>
	<atom:link href="http://vijayk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vijayk.wordpress.com</link>
	<description>Its about technology</description>
	<lastBuildDate>Wed, 18 Jul 2007 04:22:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vijayk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>vijay khambalkar's blog</title>
		<link>http://vijayk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vijayk.wordpress.com/osd.xml" title="vijay khambalkar&#039;s blog" />
	<atom:link rel='hub' href='http://vijayk.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using sharedObject to store data at the client machine</title>
		<link>http://vijayk.wordpress.com/2007/07/18/using-sharedobject-to-store-data-at-the-client-machine/</link>
		<comments>http://vijayk.wordpress.com/2007/07/18/using-sharedobject-to-store-data-at-the-client-machine/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 04:22:23 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/07/18/using-sharedobject-to-store-data-at-the-client-machine/</guid>
		<description><![CDATA[The sharedObject class is used to store and read data on user&#8217;s computer or on a server. Local shared objects can be used as browser cookies. You can also store custome object into the sharedObject, this problem I got resolved with the help of google flex_india group. Thanks for their quick help on this matter. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=63&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The sharedObject class is used to store and read data on user&#8217;s computer or on a server. Local shared objects can be used as browser cookies. You can also store custome object into the sharedObject, this problem I got resolved with the help of google flex_india group. Thanks for their quick help on this matter.</p>
<p>Follow the thread for discuss issue about storing the custome object in the sharedObject</p>
<p><a href="http://groups.google.com/group/flex_india/browse_thread/thread/92362f8ee4df6c1a/23d620ed37d81503">http://groups.google.com/group/flex_india/browse_thread/thread/92362f8ee4df6c1a/23d620ed37d81503</a></p>
<p>You can create the local shared object with following syntax:<br />
//Create &#8220;testLocalSharedObject&#8221;<br />
var testSO:SharedObject = SharedObject.getLocal(&#8220;testLocalSharedObject&#8221;);</p>
<p>To store any data into the sharedObject use data property.</p>
<p>//This will store the  myname value, the same can be retrieved from it.<br />
testSO.data.myname =&#8221;vijay khambalkar&#8221;;</p>
<p>//To store the this data into the local file, use flush method. This method writes the content immediately to the local file.<br />
testSO.flush();</p>
<p>//To destroy object from the local file, use clear method. This method clears all the data from the sharedObject and deletes the sharedObject from the disk<br />
testSO.clear()</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=63&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/07/18/using-sharedobject-to-store-data-at-the-client-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Cairngorm Auto Code template generator</title>
		<link>http://vijayk.wordpress.com/2007/07/12/cairngorm-auto-code-template-generator/</link>
		<comments>http://vijayk.wordpress.com/2007/07/12/cairngorm-auto-code-template-generator/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 06:02:24 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Cairngorm]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/07/12/cairngorm-auto-code-template-generator/</guid>
		<description><![CDATA[I know there are such tools available but building one is nice experience and then using it We are using cairngorm framework in our project. I found generating the cairngorm module classes is repeatative and time consuming. To make my life easier, I written a small utility with PHP which allows me to generate this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=62&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know there are such tools available but building one is nice experience and then using it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>We are using cairngorm framework in our project. I found generating the cairngorm module classes is repeatative and time consuming. To make my life easier, I written a small utility with PHP which allows me to generate this classes by specifying the package and module name. This one I had done for my project. This can be utilize to generate module classes for any project. Generated files needs very few modification that may differ from the personal preferences.</p>
<p>It help me saving the lots of copy paste time.</p>
<p><a target="_blank" href="http://vkhambalkar.my-php.net/phptests/generate.htm" title="Cairngorm Code Generator">Click here to generate the cairngorm classes.</a></p>
<p>suggest me if anyway I can make it better.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=62&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/07/12/cairngorm-auto-code-template-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding the Nth Highest Salary from table</title>
		<link>http://vijayk.wordpress.com/2007/06/02/finding-the-nth-highest-salary-from-table/</link>
		<comments>http://vijayk.wordpress.com/2007/06/02/finding-the-nth-highest-salary-from-table/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 05:41:24 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/06/02/finding-the-nth-highest-salary-from-table/</guid>
		<description><![CDATA[This is the most common question asked in every interview for the database. As I am more familiar with mysql , Its so simple with the following query SELECT * FROM employee ORDER BY salary DESC LIMIT 2,1 This query will bring the second highest salary from the table employee. But Query should work with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=61&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the most common question asked in every interview for the database. As I am more familiar with mysql , Its so simple with the following query</p>
<p>SELECT * FROM employee ORDER BY salary DESC LIMIT 2,1</p>
<p>This query will bring the second highest salary from the table employee.</p>
<p>But Query should work with every database so here is the correct query and its details explaination which will bring specified highest salary from the table</p>
<p>select * from employee emp where 3 = (select count(*) from employee emp where a.salary &lt;= b.salary) ;</p>
<p>I made a details comparision set about the operations of query.</p>
<p>Table employee is having the 6 record with salary ranging from 1000 to 6000</p>
<p>Query:<br />
====<br />
<strong>SELECT * FROM employee emp WHERE 3 = (SELECT COUNT(*) FROM employee emp WHERE a.salary &lt;= b.salary) ;</strong></p>
<p>Detail Record Condition Check<br />
=====================<br />
1)a &lt;= b<br />
1000&lt;=1000<br />
1000&lt;=2000<br />
1000&lt;=3000<br />
1000&lt;=4000<br />
1000&lt;=5000<br />
1000&lt;=6000<br />
[count=6]</p>
<p>2)a &lt;= b<br />
2000&lt;=1000<br />
2000&lt;=2000<br />
2000&lt;=3000<br />
2000&lt;=4000<br />
2000&lt;=5000<br />
2000&lt;=6000<br />
[count=5]</p>
<p>3)a &lt;= b<br />
3000&lt;=1000<br />
3000&lt;=2000<br />
3000&lt;=3000<br />
3000&lt;=4000<br />
3000&lt;=5000<br />
3000&lt;=6000<br />
[count=4]</p>
<p>4)a &lt;= b<br />
4000&lt;=1000<br />
4000&lt;=2000<br />
4000&lt;=3000<br />
4000&lt;=4000<br />
4000&lt;=5000<br />
4000&lt;=6000<br />
[count=3]</p>
<p>5)a &lt;= b<br />
5000&lt;=1000<br />
5000&lt;=2000<br />
5000&lt;=3000<br />
5000&lt;=4000<br />
5000&lt;=5000<br />
5000&lt;=6000<br />
[count=2]</p>
<p>6)a &lt;= b<br />
6000&lt;=1000<br />
6000&lt;=2000<br />
6000&lt;=3000<br />
6000&lt;=4000<br />
6000&lt;=5000<br />
6000&lt;=6000<br />
[count=1]</p>
<p>Result : 4000 as its count is matching the condition ie. 3</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/61/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/61/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=61&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/06/02/finding-the-nth-highest-salary-from-table/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Autosuggest the Textbox in Flex</title>
		<link>http://vijayk.wordpress.com/2007/04/20/autosuggest-the-textbox-in-flex/</link>
		<comments>http://vijayk.wordpress.com/2007/04/20/autosuggest-the-textbox-in-flex/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 14:03:14 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/04/20/autosuggest-the-textbox-in-flex/</guid>
		<description><![CDATA[After a very long time I got time to code something. I thought what to write, various technology which one to go with PHP, Coldfusion, flex, javascript. After thinking for a min, I started with Flex. What to create? Autosuggest TextBox!. So I created a autosuggest textbox, I quickly thought what all I need Textbox, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=60&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a very long time I got time to code something. I thought what to write, various technology which one to go with PHP, Coldfusion, flex, javascript. After thinking for a min, I started with Flex. What to create? Autosuggest TextBox!.</p>
<p>So I created a autosuggest textbox, I quickly thought what all I need</p>
<p>Textbox, Allow user input.<br />
Listbox, To hold the list the matched list from the textbox.<br />
Tweening, Which will give a feel of panel movement comig out of the textbox with matched value.</p>
<p>Algorithm<br />
=========<br />
1.Track keyUp event on the textbox which in turn filter the main array which is holding the entire values.<br />
2.Apply regExp which will hold the format to look for.<br />
eg. typing A, should give me all the values starting from the &#8216;A&#8217; character.<br />
3.test the regular expression against the main array by looping over each value.<br />
4.If test successful then hold these value into the new array which in turn binded with the list box.<br />
5.Animate the list box with resize event if filteredArray has more values into it from the step 4.</p>
<p>Notes<br />
=====<br />
We can supply the list to main array from database, or keep it hardcoded.</p>
<p>You are ready with your autosuggest box.</p>
<p><a href="http://k.1asphost.com/vkhambalkar/flex/autosuggestsample.html" title="Autosuggest Box created in flex" target="_blank">Click here to view the Working sample</a></p>
<p>Happy coding <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=60&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/04/20/autosuggest-the-textbox-in-flex/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Restricting the character entry into the TextInput</title>
		<link>http://vijayk.wordpress.com/2007/04/13/restricting-the-character-entry-into-the-textinput/</link>
		<comments>http://vijayk.wordpress.com/2007/04/13/restricting-the-character-entry-into-the-textinput/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 04:04:35 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/04/13/restricting-the-character-entry-into-the-textinput/</guid>
		<description><![CDATA[We were struggling from last several days about how to restrict some special character entry into TextInput field. We tried applying our own logic for implementing this functionality by tracking the keydown event and checking the ascill/regular expression but did not succeeded into this. Finally I thought to look into the help and suprisingly we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=59&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We were struggling from last several days about how to restrict some special character entry into TextInput field. We tried applying our own logic for implementing this functionality by tracking the keydown event and checking the ascill/regular expression but did not succeeded into this.</p>
<p>Finally I thought to look into the help and suprisingly we find that TextInput has restrict property to which we can supply the range of character that the TextInput should accept.</p>
<p>&lt;mx:TextInput x=&#8221;104&#8243; y=&#8221;151&#8243; width=&#8221;190&#8243; id=&#8221;charInput&#8221; restrict=&#8221;a-z A-Z&#8221;/&gt;</p>
<p>Complex problem always has very simple solution <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/59/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/59/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=59&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/04/13/restricting-the-character-entry-into-the-textinput/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Scrolling div with Javascript</title>
		<link>http://vijayk.wordpress.com/2007/03/05/scrolling-div-with-javascript/</link>
		<comments>http://vijayk.wordpress.com/2007/03/05/scrolling-div-with-javascript/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 13:33:07 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[DHTML, HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/03/05/scrolling-div-with-javascript/</guid>
		<description><![CDATA[You can scroll div with javascript. You need to have one mainContainer which will contain the child for it. eg. I will have mainArea div with child div myReport. &#60;div id=&#8221;mainArea&#8221;&#62; &#60;div id=&#8221;myReport&#8221;&#62; &#60;/div&#62; &#60;/div&#62; You need to fixed the height for the mainArea div with style &#60;div id=&#8221;mainArea&#8221; style=&#8221;height:400px;overflow:auto&#8221;&#62; &#60;div id=&#8221;myReport&#8221;&#62; &#60;/div&#62; &#60;/div&#62; Now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=58&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can scroll div with javascript. You need to have one mainContainer which will contain the child for it. eg.</p>
<p>I will have mainArea div with child div myReport.</p>
<p>&lt;div id=&#8221;mainArea&#8221;&gt;<br />
&lt;div id=&#8221;myReport&#8221;&gt;</p>
<p>&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>You need to fixed the height for the mainArea div with style</p>
<p>&lt;div id=&#8221;mainArea&#8221; style=&#8221;height:400px;overflow:auto&#8221;&gt;<br />
&lt;div id=&#8221;myReport&#8221;&gt;</p>
<p>&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>Now your div can scroll, You now need to write one line code in any javascript function</p>
<p>function scrollMainArea()<br />
{<br />
document.getElementById(&#8220;mainArea&#8221;).scrollTop = 0;<br />
}</p>
<p>This will move your myReport div to show the top portion of your division.</p>
<p>I am using this codes in my chat application to scroll the messages automatically.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=58&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/03/05/scrolling-div-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP base Chat Application is Up and running</title>
		<link>http://vijayk.wordpress.com/2007/02/28/php-base-chat-application-is-up-and-running/</link>
		<comments>http://vijayk.wordpress.com/2007/02/28/php-base-chat-application-is-up-and-running/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 12:07:17 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[DHTML, HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/02/28/php-base-chat-application-is-up-and-running/</guid>
		<description><![CDATA[I am very excited today, I have finally my chat app ready and working. I have shown my application to all my collegues they throughly enjoyed it. Soon I will be writing the article about the entire development of this chat application. PHP and Power of Javascript make this application possible for me. UI is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=57&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am very excited today, I have finally my chat app ready and working. I have shown my application to all my collegues they throughly enjoyed it.</p>
<p>Soon I will be writing the article about the entire development of this chat application.</p>
<p>PHP and Power of Javascript make this application possible for me. UI is not that good, the application is about functionality. I will work on UI someday Later.</p>
<p>I have created three user for the test.</p>
<p>user:tom, password:tom<br />
user:dick, password:dick<br />
user:harry, password:harry</p>
<p>After logging inside you will find a list of User on the left panel, click on the user and start sending messages to them.</p>
<p>So lets have a real feel of the application. <a href="http://vkhambalkar.1gb.cc/chat/login.php" title="My Chat Application" target="_blank">Click here to start</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=57&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/02/28/php-base-chat-application-is-up-and-running/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Posting Flash Form values to Server Side</title>
		<link>http://vijayk.wordpress.com/2007/02/16/posting-flash-form-values-to-server-side/</link>
		<comments>http://vijayk.wordpress.com/2007/02/16/posting-flash-form-values-to-server-side/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 13:04:22 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/02/16/posting-flash-form-values-to-server-side/</guid>
		<description><![CDATA[After trying for some half an hour I finally solved the problem of posting values from flash to PHP. I used LoadVars Object for this purpose. LoadVars object is used for transffering values between Flash and Server. It has various properties, methods and events which also helps in determining the successful data loading and communication [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=56&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After trying for some half an hour I finally solved the problem of posting values from flash to PHP. I used LoadVars Object for this purpose. LoadVars object is used for transffering values between Flash and Server. It has various properties, methods and events which also helps in determining the successful data loading and communication between server.</p>
<p>In flash you can create LoadVars in following way</p>
<p>var loadVarObj = new LoadVars();<br />
loadVarObj.firstName = &#8220;Vijay&#8221;;<br />
loadVarObj.lastName = &#8220;Khambalkar&#8221;;<br />
loadVarObj.skills = &#8220;PHP, ASP, Coldfusion, Flex, Javascript&#8221;;<br />
loadVarObj.send(URL,loadVarObj,&#8221;POST&#8221;);</p>
<p>This is how your typical loadvars code will look like in case when you need to post values to server side. I found it interesting and thought to share.</p>
<p>One more thing I noticed about the loadVarObj documentation<br />
public send(url:String, target:String, [method:String]) : Boolean</p>
<p>But this part didnt work, you need to event pass object itself as a second parameter. Only then your values is get posted. This is problem where I stuck initially.</p>
<p>Hope this much information will help you.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=56&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/02/16/posting-flash-form-values-to-server-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP Method Call via URL</title>
		<link>http://vijayk.wordpress.com/2007/02/15/php-method-call-via-url/</link>
		<comments>http://vijayk.wordpress.com/2007/02/15/php-method-call-via-url/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 06:23:47 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/02/15/php-method-call-via-url/</guid>
		<description><![CDATA[We are developing a Flex Application with PHP as a middleware. Flex Httpservice component we are using to communicate with the PHP. We have several developers who are doing separate modules. They doing both Flex as well as PHP code. I thought its not proper and need to have a solution where our code will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=54&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We are developing a Flex Application with PHP as a middleware. Flex Httpservice component we are using to communicate with the PHP. We have several developers who are doing separate modules. They doing both Flex as well as PHP code. I thought its not proper and need to have a solution where our code will reside on the single url.</p>
<p>How we achieve this?</p>
<p>I thought of developing a architecture which will take a className and methodName from URL and call methods and the supplied object dynamically.</p>
<p>eg. http://localhost/PHP/Flex/index.php?className=MyClass&amp;methodName=getUser</p>
<p>This above url calls getUser method on MyClass Object. I used call_user_method function of PHP which allows me to achieve this.</p>
<p>One trick for this part is also instantiating the object dynamically. I coded like this</p>
<p>function getObject($class)<br />
{<br />
static $instance ;</p>
<p>if(!isset($instance))<br />
{<br />
$instance =&amp; new $class;<br />
}</p>
<p>return $instance;<br />
}</p>
<p>getObject method accepts className and checks wheather that object exists or not. If object is not set then it creates a object and just return it.</p>
<p>It was a great experience while building something which allows my developers to simplify their code integration. Now every developers is working on their respective classes and using this method.</p>
<p>Cheers <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=54&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/02/15/php-method-call-via-url/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
		<item>
		<title>Making your application with dynamic debug options</title>
		<link>http://vijayk.wordpress.com/2007/02/12/making-your-application-with-dynamic-debug-options/</link>
		<comments>http://vijayk.wordpress.com/2007/02/12/making-your-application-with-dynamic-debug-options/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 11:17:29 +0000</pubDate>
		<dc:creator>Vijay Khambalkar</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://vijayk.wordpress.com/2007/02/12/making-your-application-with-dynamic-debug-options/</guid>
		<description><![CDATA[Many times our client report that you had debug string into an application. This debug string could be printed array, values echo from database, database queries and many other things. Even in flex/javascript application client report that their are unnecessary alert that is coming in between. These are not actually a errors these are the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=53&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times our client report that you had debug string into an application. This debug string could be printed array, values echo from database, database queries and many other things. Even in flex/javascript application client report that their are unnecessary alert that is coming in between. These are not actually a errors these are the development level debug messages which we mistaken unable to comment.</p>
<p><strong>What is the solution to this common problem?</strong></p>
<p>The day I realized that I can control this, I started using the concept. Thanks to my previous boss Kaushik Chatterjee who bring this forward for me. Concept is fairly very simple. Define a global level debug variable with default value 0. Following code will explain what I am trying to convince.</p>
<p>&lt;script language=&#8221;javascript&#8221;&gt;</p>
<p>var debug = 0;<br />
function debugMessages(message)<br />
{<br />
if(debug)alert(message);<br />
}<br />
function getUserName()<br />
{<br />
debugMessages(&#8220;I am in this function&#8221;);<br />
}<br />
&lt;/script&gt;</p>
<p>Above code is pretty simple to understand the concept.</p>
<p>First line of code defines debug variable with value 0  i.e 0 disable/ 1 enable</p>
<p>function debugMessages is responsible for all debugging messages. All messages will route through this function. Inside this its checking whats the value of debug variable. If its true then show alert message or simply discard it. So you can kept the value of debug variable always true as and when working on the development version. At production level simply turn off this variable and there will be no extra debug alert/message in the application.</p>
<p>Applying smart use of this technique, we can achieve alot and stop client from complaining these silly points which we really dont mean too. Atleast it will remove one bug from your system as entered by client as a bug.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijayk.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijayk.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijayk.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijayk.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijayk.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijayk.wordpress.com&amp;blog=28776&amp;post=53&amp;subd=vijayk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijayk.wordpress.com/2007/02/12/making-your-application-with-dynamic-debug-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b61ed65f48915d07f5e085944516c2eb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijayk</media:title>
		</media:content>
	</item>
	</channel>
</rss>
