<?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>vijayjoshi.org &#187; browser</title>
	<atom:link href="http://www.vijayjoshi.org/tag/browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vijayjoshi.org</link>
	<description>php &#124; javascript &#124; ajax &#124; and all things web</description>
	<lastBuildDate>Sun, 20 Nov 2011 15:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Why you MUST use client side validation</title>
		<link>http://www.vijayjoshi.org/2010/12/30/why-you-must-use-client-side-validation/</link>
		<comments>http://www.vijayjoshi.org/2010/12/30/why-you-must-use-client-side-validation/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 06:03:48 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[browser]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=931</guid>
		<description><![CDATA[
			
				
			
		

Client side validation is checking the values against the desired format before sending them to server side for further processing. Javascript is used for validations on browser. Lately, with the popularity of jQuery, a large number of validation plugins are available which make it even more easy to implement validations on forms.
A word of caution before beginning. Though client side ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F30%2Fwhy-you-must-use-client-side-validation%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F30%2Fwhy-you-must-use-client-side-validation%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="aligncenter size-full wp-image-947" title="validation" src="http://www.vijayjoshi.org/wp-content/uploads/validation.png" alt="validation" /></p>
<p>Client side validation is checking the values against the desired format before sending them to server side for further processing. Javascript is used for validations on browser. Lately, with the popularity of jQuery, a large number of validation plugins are available which make it even more easy to implement validations on forms.</p>
<p>A word of caution before beginning. Though client side validation is very useful and simple to implement, it should <strong>NEVER </strong>be thought of as a replacement for server side validations. If the javascript is turned off on the browser or user bypasses it and no server side validation is placed, your application then is at the mercy of users solely.</p>
<p><del datetime="2010-12-30T05:11:22+00:00">Read Why you must use server side validation?</del></p>
<p>So, here is why you should use client side validation.</p>
<h3>Easy to implement</h3>
<p>Although you can write your own validation for forms, there are multiple <a title="Javascript validation plugin" href="http://www.validationplugin.com/">javascript</a> and <a title="jQuery Validation" href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery</a> plugins available that require developers to write minimal amount of code to implement validation. These plugins also provide several options for customized validation like strings, numbers, dates, email addresses etc.</p>
<h3>No waiting time for users</h3>
<p>Since javascript executes on users browser itself, client side validation provides instant feedback. Plugins like <a title="Live Validation" href="http://livevalidation.com/">live validation</a> provide helpful messages to users as they type. Besides saving time, this pattern makes data entry less error prone.</p>
<h3>Less server trips</h3>
<p>Without javascript validation, each time a value needs to be checked, the form should be submitted and server would then process it and show the result. Take for example a text box which asks for email. Possible validations for it could be blank value and a valid email address. With javascript validations in place we can save these trips to server.</p>
<h3>Interactive and Fun</h3>
<p>Have a look at <a title="jQuery inline form validator" href="http://www.position-relative.net/creation/formValidator/">jQuery inline formValidator</a>. Gone are the days of ugly alert boxes (those were really irritating). With javascript running in browser, you can unleash your creativity and make validation an interactive and fun process by combining html and css with javascript. You can use tooltips and fancy effects to guide your users.</p>
<h3>Users love it</h3>
<p>Waiting for full page load only to see one error message is no good. Users like instant feedback and helpful error messages. Javascript allows you to create a rich visual experience that is a major trait of rich internet applications.</p>
<p>That&#8217;s it for now.</p>
<p>It is worth mentioning again that alone client side validation is no good. Always, I repeat, <strong>always use server side validation along with client side validation</strong>. This way, in case the javascript validation fails, you can always rely on the server.</p>
<p><a title="Form validation best practices" href="http://www.smashingmagazine.com/2009/07/07/web-form-validation-best-practices-and-tutorials/">Click here</a> to read more about best practices of form validation</p>
<div class="shr-publisher-931"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F12%2F30%2Fwhy-you-must-use-client-side-validation%2F' data-shr_title='Why+you+MUST+use+client+side+validation'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2010/12/30/why-you-must-use-client-side-validation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>5 must have firefox addons for every web developer</title>
		<link>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/</link>
		<comments>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:24:58 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=509</guid>
		<description><![CDATA[
			
				
			
		
Being a web developer there are some tools which I need and use on daily basis. Here are 5 such addons I think every web developer should install on their firefox.
1- Web developer toolbar

Home: http://chrispederick.com/work/web-developer/
Install: https://addons.mozilla.org/en-US/firefox/addon/60


 


This addon adds a toolbar and a menu to firefox. The toolbar contains several mini tools in it to perform various tasks. It has ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p class="mceTemp mceIEcenter" style="text-align: left;">Being a web developer there are some tools which I need and use on daily basis. Here are 5 such addons I think every web developer should install on their firefox.</p>
<h3 class="mceTemp mceIEcenter" style="text-align: left;">1- Web developer toolbar</h3>
<p class="mceTemp mceIEcenter" style="text-align: left;">
<p class="mceTemp mceIEcenter" style="text-align: left;"><strong>Home: </strong><a href="http://chrispederick.com/work/web-developer/" target="_self">http://chrispederick.com/work/web-developer/</a></p>
<p class="mceTemp mceIEcenter" style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_self">https://addons.mozilla.org/en-US/firefox/addon/60</a></p>
<p><img class="size-full wp-image-505 " style="border: 1px solid black;" title="web-developer" src="http://www.vijayjoshi.org/wp-content/uploads/web-developer.png" alt="Web Developer Toolbar" width="545" height="381" /></p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_505" class="wp-caption aligncenter" style="width: 555px;"> </dl>
</div>
<p style="text-align: left;">
<p style="text-align: left;">This addon adds a toolbar and a menu to firefox. The toolbar contains several mini tools in it to perform various tasks. It has 11 built in menus for different tasks like cookies, css, forms, html, images and many others. You can read a review of web developer toolbar <a href="http://tips.webdesign10.com/web-developer-toolbar.htm" target="_self">here</a>.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<h3 style="text-align: left;">2- JSONView<strong> </strong></h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://benhollis.net/blog/2009/02/24/jsonview-view-json-documents-in-firefox/" target="_self">http://benhollis.net/blog/2009/02/24/jsonview-view-json-documents-in-firefox/</a></p>
<p><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/10869" target="_self">https://addons.mozilla.org/en-US/firefox/addon/10869</a></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-508" style="border: 1px solid black;" title="jsonview" src="http://www.vijayjoshi.org/wp-content/uploads/jsonview.png" alt="" width="315" height="375" /></p>
<p style="text-align: left;">JSON is becoming more popular day by day as a data exchange format. JSONView allows you to view json documents in the browser itself without having to open in any text editor and format it. Local files can also be seen if they have .json extension. It formats the document nicely and also provides options to collapse/expand nodes too (just like XML).<br />
In case of invalid json it reports an error.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<h3>3- Fireftp</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong> Home: </strong><a href="http://fireftp.mozdev.org/" target="_self">http://fireftp.mozdev.org/</a></p>
<p style="text-align: left;"><strong> Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/684" target="_self">https://addons.mozilla.org/en-US/firefox/addon/684</a></p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-507" title="fireftp" src="http://www.vijayjoshi.org/wp-content/uploads/fireftp.png" alt="" width="590" height="420" /></p>
<p style="text-align: left;">You will not have to open a separate ftp client if you use this. To open Fire FTP, go to <strong>Tools -&gt; Fire FTP</strong> on firefox menu bar. It opens an easy to use interface in a new tab. You can create multiple accounts and you will get all the features that you expect from a ftp client.</p>
<p style="text-align: left;"><strong>From the site: </strong>&#8220;Along with transferring your files quickly and efficiently, FireFTP also includes more advanced features such as: directory comparison, syncing directories while navigating, SFTP, SSL encryption, search/filtering, integrity checks, remote editing, drag &amp; drop, file hashing, and much more!&#8221;</p>
<p style="text-align: left;"><strong><span id="more-509"></span></strong></p>
<p style="text-align: left;">
<h3>4- IE Tab</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://ietab.mozdev.org/" target="_self">http://ietab.mozdev.org/</a></p>
<p style="text-align: left;"><strong> Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1419" target="_self">https://addons.mozilla.org/en-US/firefox/addon/1419</a></p>
<p style="text-align: left;">
<p style="text-align: left;">Use IE tab if you want to check display of your web pages in Internet explorer. Instead of opening IE separately, it will open a tab in firefox which will display your page using the IE engine installed on your machine.  It will put an icon on your status bar using which you can switch engines.</p>
<p style="text-align: center;">
<h3>5- Firebug</h3>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Home: </strong><a href="http://getfirebug.com/" target="_self">http://getfirebug.com/</a></p>
<p style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_self">https://addons.mozilla.org/en-US/firefox/addon/1843</a></p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-506" title="firebug" src="http://www.vijayjoshi.org/wp-content/uploads/firebug.png" alt="firebug" width="590" height="280" /></p>
<p style="text-align: left;">
<p style="text-align: left;">How can a firefox addons list be complete without Firebug. <strong> </strong></p>
<p style="text-align: left;"><strong>From the site:</strong> &#8220;Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.&#8221;</p>
<p style="text-align: left;">Firebug needs no inroduction to web developers. It reduces the development time to a great extent, specially if your application relies on javascript/ajax too much. It provides rock solid debugging for javascript where you can add/remove breakpoints, watch variables in real time and much more.</p>
<p style="text-align: left;">Want more? You can inspect and edit html/css on the fly to change the look and feel of a page. You can also check the download time for your css files,scripts, images and html pages using the net tab which are helpful for optimizations.</p>
<p style="text-align: left;">Firbug has a number of addons too (yes! addons for an addon). I recommend both the addons given below.</p>
<p><strong>Page Speed </strong>: It is an addon from Google which is used to analyze the loading performance of a page. It tests a page against Web Performance Best Practices which you can <a href="http://code.google.com/speed/page-speed/docs/rules_intro.html" target="_self">read here</a>. After this a score out of 100 is provided. Greater score means faster page load. Install it from <a href="http://code.google.com/speed/page-speed/download.html" target="_self">this link</a>.</p>
<p><strong>YSlow: </strong>YSlow is a addon similar to Page Speed. It is created by Yahoo. YSlow measures a web page&#8217;s performance against a set of rules for high performance pages created by Yahoo. You can <a href="https://addons.mozilla.org/en-US/firefox/addon/5369" target="_self">download it from</a> here and <a href="http://developer.yahoo.com/performance/rules.html" target="_self">read the performance criteria here</a>.</p>
<p style="text-align: left;">
<h3>Bonus:  Colorzilla<strong> </strong></h3>
<p><strong>Home: </strong><a href="http://www.colorzilla.com/firefox/" target="_self">http://www.colorzilla.com/firefox/</a></p>
<p style="text-align: left;"><strong>Install: </strong><a href="https://addons.mozilla.org/en-US/firefox/addon/271" target="_self">https://addons.mozilla.org/en-US/firefox/addon/271</a></p>
<p style="text-align: left;">Need to pick a color from any web page, text or image within browser? Just click colorzilla, which sits at extreme left of your status bar, and point to that location. Now right click on colorzilla and you can copy rgb and hex color codes for that color.</p>
<p style="text-align: left;">It comes with a built in Color Picker and Palette Browser.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div class="shr-publisher-509"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2010%2F01%2F21%2F5-must-have-firefox-addons-for-every-web-developer%2F' data-shr_title='5+must+have+firefox+addons+for+every+web+developer'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2010/01/21/5-must-have-firefox-addons-for-every-web-developer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Another flaw in IE : 10,000 sites compromised</title>
		<link>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/</link>
		<comments>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 08:22:14 +0000</pubDate>
		<dc:creator>Vijay Joshi</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=221</guid>
		<description><![CDATA[
			
				
			
		
In my previous post I discussed about the security flaws and other shortcomings in IE. Incidentally, the same day a news article appeared on BBC News which reported about a new security vulnerability found in IE7. ( Thanks to Jyotsna for passing this news).
The article describes about a new security hole found in IE7 exploiting which hackers can steal the ...]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F&amp;source=v08i&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In my <a title="Stop using IE" href="http://www.vijayjoshi.org/2008/12/16/when-will-you-stop-using-ie/" target="_blank">previous post</a> I discussed about the security flaws and other shortcomings in IE. Incidentally, the same day a news article appeared on BBC News which reported about a new security vulnerability found in IE7. ( Thanks to <a title="Jyotsna's blog" href="http://jyotsna.philogy.com/" target="_blank">Jyotsna</a> for passing this news).</p>
<p>The article describes about a new security hole found in IE7 exploiting which hackers can steal the passwords of users. In my opinion this is not a new news. Many more problems were already there with IE6. It is when users come across such a  problem, MS people, in haste, prepare a patch and fix it.</p>
<p>Since this new flaw has been found, 2 million users have been attacked and 10,000 websites has been compromised.</p>
<p>Although Microsoft <a href="http://www.microsoft.com/protect/computer/updates/bulletins/200812_oob.mspx">released a patch</a> for the same on the very next day,17th Dec, it will be a mammoth task to reinstall the trust of users, given the number of safer and better browsers available.</p>
<p>Still thinking IE users? Its time to switch now to safer, faster and better. I said earlier too, there are too many options. Choose whatever suits you.</p>
<p>Personally , I will say : Get Firefox</p>
<p style="text-align: center;"><a href="http://www.mozilla.com/firefox?from=sfx&#038;uid=0&#038;t=305"><img border="0" alt="Spreadfirefox Affiliate Button" src="http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/110x32_best-yet.png" /></a></p>
<p style="text-align: center;"><a title="BBC News about flaw in IE" href="http://news.bbc.co.uk/2/hi/technology/7784908.stm" target="_blank">Read the full article on BBC News</a></p>
<div class="shr-publisher-221"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.vijayjoshi.org%2F2008%2F12%2F20%2Fanother-flaw-in-ie-10000-sites-compromised%2F' data-shr_title='Another+flaw+in+IE+%3A+10%2C000+sites+compromised'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://www.vijayjoshi.org/2008/12/20/another-flaw-in-ie-10000-sites-compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

