<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Technical Blog @ http://php-talk.blogspot.com</title>
	<atom:link href="http://uttamkumar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://uttamkumar.wordpress.com</link>
	<description>A BLOG by    "UTTAM KUMAR"</description>
	<lastBuildDate>Fri, 12 Sep 2008 11:24:46 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='uttamkumar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4ec9cf374bef41e6cde8e29e7ad6007e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Technical Blog @ http://php-talk.blogspot.com</title>
		<link>http://uttamkumar.wordpress.com</link>
	</image>
			<item>
		<title>web usability</title>
		<link>http://uttamkumar.wordpress.com/2008/09/12/web-usability/</link>
		<comments>http://uttamkumar.wordpress.com/2008/09/12/web-usability/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 11:24:46 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=58</guid>
		<description><![CDATA[Usability has it&#8217;s own importance in a website.Some dos and don&#8217;t s to achieve a good usability are as follows.

Do:

 Use ALT tags for all graphics, especially navigation graphics.
 Use black text on white background whenever possible for optimal legibility.
 Use either plain-color backgrounds or extremely subtle background patterns.
 Make sure text is in a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=58&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Usability has it&#8217;s own importance in a website.Some dos and don&#8217;t s to achieve a good usability are as follows.</p>
<ul>
<li><strong>Do:</strong>
<ul type="circle">
<li> Use ALT tags for all graphics, especially navigation graphics.</li>
<li> Use black text on white background whenever possible for optimal legibility.</li>
<li> Use either plain-color backgrounds or extremely subtle background patterns.</li>
<li> Make sure text is in a printable color (not white).</li>
<li> Place navigation in a consistent location on each page of your website.</li>
<li> Use a familiar location for navigation bars.</li>
<li> Keep the design from scrolling horizontally.</li>
<li> Use one axis of symmetry for centered text on a page.</li>
<li> Encourage scrolling by splitting an image at the fold.</li>
</ul>
</li>
<li><strong>Don&#8217;t:</strong>
<ul type="circle">
<li> Allow ALT tags to get clipped (especially an issue for small, fixed width    			  images).</li>
<li> Display static text in blue or underlined.</li>
<li> Use <strong>boldface</strong> or ALL CAPS for long pieces of text. These slow down   			   reading.</li>
<li> Leave too much white space&#8211;reduces scannability.</li>
<li> Make the user scroll to find critical information, especially transaction    			  buttons and navigation links.</li>
<li> Use horizontal rules to separate chunks of content.</li>
<li> Alternate too frequently between centered text and left-aligned text. Most     			 text should be left-aligned.</li>
<li> Fix pages at larger than 800 x 600 pixels. Larger pages may force users     			 to scroll horizontally.</li>
</ul>
</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=58&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/09/12/web-usability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Technical Documentation</title>
		<link>http://uttamkumar.wordpress.com/2008/07/30/technical-documentation/</link>
		<comments>http://uttamkumar.wordpress.com/2008/07/30/technical-documentation/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 07:06:37 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Interview]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[technical documentation]]></category>
		<category><![CDATA[website documentation]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=53</guid>
		<description><![CDATA[Writing convention


Are you referring to the reader and author correctly                 in your document?
In technical writing, there are only two valid subjects:

&#8220;You&#8221; (the reader)
 The subject (the software, hardware, function etc.)

For example:

 When the CD is inserted, a Windows dialog [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=53&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><span style="text-decoration:underline;">Writing convention</span></strong></p>
<ol>
<li>
<h4>Are you referring to the reader and author correctly                 in your document?</h4>
<p>In technical writing, there are only two valid subjects:</p>
<ul>
<li>&#8220;You&#8221; (the reader)</li>
<li> The subject (the software, hardware, function etc.)</li>
</ul>
<p>For example:</p>
<blockquote><dl class="bad">
<dd> When the CD is inserted, a Windows dialog will be shown.</dd>
</dl>
<dl class="good">
<dd> When you insert a CD, Windows shows a dialog.</dd>
</dl>
</blockquote>
<p>The first example is bad because it is not addressing the reader or writing from                 the point of the subject (the software in this case), ie. using the passive voice.It is occasionally acceptable to use the first person, &#8220;we&#8221;, &#8220;I&#8221;, &#8220;us&#8221;, &#8220;our&#8221; etc.                 An example of an acceptable use of first person is, &#8220;We recommend that you                 backup your database first.&#8221; However, you must <strong>never use the first person to                     refer to the reader</strong>:</p>
<blockquote><dl class="bad">
<dd> We will now open a web browser and go to the home page.</dd>
</dl>
<dl class="good">
<dd> You can now open a web browser and go to the home page.</dd>
</dl>
</blockquote>
<p>The first example is bad because it is unclear to the reader as to who &#8220;we&#8221; is.</li>
<li><a name="Instructions"></a><br />
<h4>Do you use the correct symbols when documenting instructions?</h4>
<p>An important area which Microsoft does not apply strict standards to, is documenting                 instructions. This is often a confusing dilemma for many people, as the way in which                 instructions are worded and arranged is very important in helping the user understand                 the instructions. Therefore, the instructions should be minimalistic, clear and                 concise.</p>
<p>In Ken Getzs words you MUST ALWAYS list the items in the order the user selects                 them. I often see Microsoft documentation say: Select All Programs from the Start                 menu. That&#8217;s inexecusable.?</p>
<dl class="greyBox"> Click Start, then All Programs, then Accessories, then Calculator. </dl>
<dl class="bad">
<dd> Figure: Bad Example &#8211; No visual cue is given for separate steps.</dd>
</dl>
<dl class="greyBox"> Start &#8211; All Programs &#8211; Accessories &#8211; Calculator </dl>
<dl class="bad">
<dd> Figure: Bad Example &#8211; Dashes are easy to glance over </dd>
</dl>
<dl class="greyBox"> Start &#8211;&gt; All Programs &#8211;&gt; Accessories &#8211;&gt; Calculator </dl>
<dl class="bad">
<dd> Figure: Bad Example &#8211; This is better but looks unprofessional </dd>
</dl>
<dl class="greyBox"> Start | All Programs | Accessories | Calculator </dl>
<dl class="good">
<dd> Figure: Good Example </dd>
</dl>
</li>
<li>
<h4><a name="InstructionsOrder"></a>Do you use the right order of instructions?</h4>
<p>When writing the instructions for a series of operations, be sure of the right order                 of them. With the clear order of operations, users won&#8217;t be confused anymore.</p>
<dl class="greyBox"> Select Options from the Tools Menu. </dl>
<dl class="bad">
<dd> Figure: Bad Example &#8211; See how it is in a reversed menu order than the one the user                         will do it in.</dd>
</dl>
<dl class="greyBox"> Select Tools | Options </dl>
<dl class="good">
<dd> Figure: Good Example </dd>
</dl>
</li>
<li><a name="Highlighting"></a><br />
<h4>Do you highlight items correctly in your document?</h4>
<p>When highlighting items (file names, user commands etc.) be sure to:</p>
<ol>
<li>Distinguish the items from the rest of the surrounding text; and</li>
<li>Be consistent.</li>
</ol>
<p>Use the following rules to highlight items in your document.</p>
<table class="clsSSWTable" border="0" width="70%">
<tbody>
<tr>
<th valign="top"> Style</th>
<th valign="top"> Use this style on</th>
<th valign="top"> Example</th>
</tr>
<tr>
<td valign="top"><strong>Bold text </strong></td>
<td valign="top">Menus, commands, dialog box options, file names and paths</td>
<td valign="top">To access the application, click <strong>Start | Programs | Accessories | System Tools |                                         Disk Defragmenter</strong></td>
</tr>
<tr>
<td valign="top">UPPERCASE</td>
<td valign="top">Code keywords and database elements</td>
<td valign="top">Use the INNER JOIN clause in SQL Server to join one table to another.</td>
</tr>
<tr>
<td valign="top"><strong>Initial Capitals +  Bold</strong></td>
<td valign="top">File paths and file names</td>
<td valign="top">Now open <strong>C:\My Documents\Invoice.doc</strong>.</td>
</tr>
<tr>
<td valign="top"><span style="font-family:Courier New;">Monospace (Courier New font)</span></td>
<td valign="top">Code samples, error messages</td>
<td valign="top">You will see the following error: <span style="font-family:Courier New;">error opening                                         database: database is currently in use</span>.</td>
</tr>
</tbody>
</table>
</li>
<li><a name="VersionNumber"></a><br />
<h4>Do you include version numbers in your file names?</h4>
<p>It is a good practice to include a version number in the name of the file. Every                 time you make a significant change to the file you should increment the version                 number. This helps us to navigate through the old and the new versions. It makes                 it easy if we decide to roll back any changes and use an older version.</p>
<p>For example:</p>
<dl class="greyBox">
<dt>extreme_email_file</dt>
<dt>extreme_email_new_file</dt>
<dt>extreme_email_latest</dt>
</dl>
<dl class="bad">
<dd> Bad file naming conventions :</dd>
</dl>
<dl class="greyBox">
<dt>Extreme_Emails_v1</dt>
<dt>Extreme_Emails_v2</dt>
<dt>CodeAuditor_Ver1</dt>
<dt>CodeAuditor_Ver2</dt>
</dl>
<dl class="good">
<dd> Good file naming conventions :</dd>
</dl>
</li>
<li><a name="Consistent"></a><br />
<h4>Are you referring to the reader and author consistently throughout your document?</h4>
<p>When writing technical documentation, one of your primary objectives is to ensure                 the document is written consistently to ensure a flowing reading experience. Ensure                 the reader and author are correctly referenced throughout your document, for example:</p>
<blockquote><dl class="bad">
<dd> When one wants to scan for viruses, you can open the antivirus software.</dd>
</dl>
<dl class="good">
<dd> When you want to scan for viruses, you can open the antivirus software.</dd>
</dl>
</blockquote>
<p>The first example is bad because it confuses the reader as to whom the author is                 referring.</li>
<li><a name="FigureCaption"></a><br />
<h4>Do you add a useful figure caption in bold below all images?</h4>
<p>When you add an image to a website or application, follow the Microsoft Word standard                 and use <strong>&#8220;Figure: Description&#8221;</strong> to describe your images. Read more                 about this rule on our <a href="http://www.ssw.com.au/ssw/Standards/Rules/RulestoBetterWebsitesLayout.aspx#AlwaysAddFiguretoImages"> Rules to Better Websites &#8211; Layout</a>.</li>
<li><a name="FewWords"></a><br />
<h4>Do you avoid using unnecessary words?</h4>
<p>When writing any documentation it is vital that you avoid using unnecessary words                 to keep the reader interested and focussed on the content. This is especially true                 in technical documentation, as most of the content is factual.</p>
<dl class="greyBox">
<dt> <span style="color:red;"> Click on the &#8220;Select&#8221; button</span></dt>
</dl>
<dl class="bad">
<dd> Bad Example</dd>
</dl>
<dl class="greyBox">
<dt> <span style="color:#339966;"> Click &#8220;Select&#8221;</span></dt>
</dl>
<dl class="good">
<dd> Good Example</dd>
</dl>
<p>It is less wordy, and still gets the message across. Look through your document                 now &#8211; where else can you get rid of words that don&#8217;t add any value to the sentence?</li>
<li><a name="WillNotShould"></a><br />
<h4>Do you use &#8220;will&#8221;, not &#8220;should&#8221;?</h4>
<p>When explaining steps in a process, e.g. Printing a file, make sure to say something                 &#8220;will&#8221; happen or is happening. This is especially important when describing                 your own software, because saying something &#8220;should&#8221; happen implies that                 it may or may not happen, i.e. there could be bugs!</p>
<dl class="greyBox">
<dt>To print your document:</p>
<ol>
<li>Select <strong>File | Print</strong>. The Print dialog should now show.</li>
<li>Select the number of copies and click <strong>Print</strong> . The file should now                                 print.</li>
</ol>
</dt>
</dl>
<dl class="bad">
<dd> Bad example: Using &#8220;should&#8221; implies uncertainty</dd>
</dl>
<dl class="greyBox">
<dt>To print your document:</p>
<ol>
<li>Select <strong>File | Print</strong>. The Print dialog is shown.</li>
<li>Select the number of copies and click <strong>Print</strong>. The file will now                                 print.</li>
</ol>
</dt>
</dl>
<dl class="good">
<dd> Good example: Using present or future tense implies confidence</dd>
</dl>
</li>
<li><a name="Setup"></a><br />
<h4>Do you use &#8220;setup&#8221; and &#8220;set up&#8221; correctly?</h4>
<p>Often when writing technical documents, you will instruct the reader to &#8220;set                 up&#8221; his PC or run a &#8220;setup&#8221; file. Remember that &#8220;set up&#8221;                 is a verb, and &#8220;setup&#8221; is a noun.</p>
<p><span style="color:#339966;">Correct use of &#8220;setup&#8221;</span>: Verify that                 your network setup is correct before attempting to connect to the Internet.</p>
<p><span style="color:#339966;">Correct use of &#8220;set up&#8221;</span>: Click <strong> Go</strong> to set up your database</p>
<p>&#8220;Set up&#8221; is a verb with many meanings, most commonly &#8220;to establish                 something.&#8221; &#8220;He is going to set up shop.&#8221; The single word &#8220;setup&#8221;                 is a noun, basically meaning an &#8220;arrangement.&#8221; &#8220;The setup was all                 wrong.&#8221;  How can you remember this? Mentally replace &#8220;setup&#8221;                 or &#8220;set up&#8221; with &#8220;setting up.&#8221; If the sentence still basically                 makes sense, use two words. If it doesn&#8217;t, use the single word. For example, the                 sentence &#8220;he is setting up shop&#8221; makes sense. &#8220;The settingup was                 all wrong&#8221; does not.</li>
<li><a name="Email"></a><br />
<h4>Do you know email should be email without the hyphen?</h4>
<p>Yes Microsoft Word spell checker is wrong.<br />
Good &#8211; &#8220;email&#8221;<br />
Bad &#8211; &#8220;e-mail&#8221;</p>
<p>I do prefer to see email as email as the hyphen is really an extra thing that serves                 no purpose anymore.<br />
What if you wanted to say &#8220;Re-email this report please&#8221;&#8230; surely you would not                 say &#8220;Re-e-mail this report&#8221;&#8230; sounds like you have a stutter.</p>
<table id="table13" class="clsSSWProductTable" border="0" cellspacing="2" cellpadding="2" summary="Code Auditor">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
<h4>Do you know commas and full stops always need to have &#8220;one&#8221; space after it ?</h4>
<p>When writing any documentation it is important to put only <strong>&#8220;one&#8221;</strong> space after commas or other punctuation. This makes the document easy to read and                 looks more professional.</p>
<p>For example:</p>
<dl class="greyBox"> Looking for your sent emails through a searching tool is simple.By using Windows                     Desktop search,you can search your relevant emails by recipient and/or by subject.</dl>
<dl class="bad">
<dd> Bad Example- No space after comma and full stop </dd>
</dl>
<dl class="greyBox"> Looking for your sent emails through a searching tool is simple.   By using                     Windows Desktop search,   you can search your relevant emails by recipient                     and/or by subject. </dl>
<dl class="bad">
<dd> Bad Example- Two spaces after comma and full stop </dd>
</dl>
<dl class="greyBox"> Looking for your sent emails through a searching tool is simple. By using Windows                     Desktop search, you can search your relevant emails by recipient and/or by subject.</dl>
<dl class="good">
<dd> Good Example- One space after full stop and comma </dd>
</dl>
<p><strong>Original Source<br />
</strong></p>
<address><span style="font-size:11.5pt;"><a class="alignleft" title="Original source" href="http://www.ssw.com.au/ssw/standards/rules/RulesToBetterTechnicalDocumentation.aspx" target="_blank">rules to better technical documentation</a></span></address>
</li>
<li><span style="font-size:11.5pt;"><br />
</span></li>
</ol>
<p><span style="text-decoration:underline;"><strong>Documentation chapters</strong></span></p>
<p>Index</p>
<p>Breif Description</p>
<p>Timeline</p>
<p>Flow Diagram</p>
<p>Tables and Database used</p>
<p>External Libraries &amp; Modules used</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=53&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/07/30/technical-documentation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>coding standered &amp; convention</title>
		<link>http://uttamkumar.wordpress.com/2008/07/25/coding-standered-convention/</link>
		<comments>http://uttamkumar.wordpress.com/2008/07/25/coding-standered-convention/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 07:47:22 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Interview]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[coding standered]]></category>
		<category><![CDATA[conventions]]></category>
		<category><![CDATA[guide]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=44</guid>
		<description><![CDATA[or a team to work effectively and to share ownership of all the code, all the programmers within the team need to write the code in the same way or same programming style.These programming style refers to a set of guidelines,rules that one should follow in the team.programming style used in a particular program may [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=44&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>or a team to work effectively and to share ownership of all the code, all the programmers within the team need to write the code in the same way or same programming style.These programming style refers to a set of guidelines,rules that one should follow in the team.programming style used in a particular program may be derived from the <strong>coding standards</strong> or <strong>code convention</strong> of a company/organization<strong>.</strong></p>
<p>Good coding standards are important in any development project, particularly when multiple developers are working on the same project. Having coding standards helps to ensure that the code is of high quality, has fewer bugs, and is easily maintained.here are coding standered and convention that one should follow while developing a PHP program.</p>
<h5><span style="text-decoration:underline;">Comments convention</span></h5>
<ul>
<li>each php file should have <strong>Header comment block.</strong>This block should contains short description of file,category,package,auther,coyright etc.</li>
<li>each function block should have <strong>Function comment block.</strong>This bloc contains brief description about task perform by function,parameter passed and data type n identifier which function returns.</li>
<li>Inline comment can be helpful in case of complex logical block of code.</li>
</ul>
<h5><span style="text-decoration:underline;">Naming convention</span></h5>
<ul>
<li>Identifier names should be explanatory, and should be in word-case. Also the first letter of the variable or parameter or IDs must tell the nature thereof.</li>
</ul>
<ul>
<li>
<ul>
<li> For Example<br />
Class: <em>ClassName</em><br />
Object: <em>oObjectName<br />
</em>Function Name: <em>functionName()<br />
</em>Private Method:<em> _MethodName()<br />
</em>Constants: <em>CONSTANTNAME<br />
</em>String Variable:<em> </em><em>sVariableName<br />
</em>Array Variable:<em> </em><em>aVariableName<br />
</em>Integer Variable:$<em> iVariableName<br />
</em>Float Variable: <em>fVariableName<br />
</em>Boolean Variable: <em>bVariableName</em></li>
</ul>
</li>
</ul>
<ul>
<li> Global variable should contain package name in uppercase followed by 1 underscore and identifier name.<br />
<blockquote><p>For Example</p>
<blockquote><p><a name="AEN612">PEAR_destructor</a></p></blockquote>
</blockquote>
</li>
<li>
<blockquote>
<blockquote><p><a name="AEN612"></a></p></blockquote>
</blockquote>
</li>
</ul>
<ul>
<li><a name="AEN683"><tt class="literal">true</tt>, <tt class="literal">false</tt> and        <tt class="literal">null should be in the lower case.</tt></a></li>
</ul>
<h5><span style="text-decoration:underline;">Coding convention</span></h5>
<ul>
<li> Use an indent of 4 spaces, with no tabs.This helps to avoid problems     with diffs, patches, SVN history.</li>
<li>lines at approximately 75-85 characters long for better code readability.</li>
</ul>
<ul>
<li> Control statements should have one space between the control keyword     and opening parenthesis, to distinguish them from function calls.<a name="standards.funcalls"></a></li>
<li><a name="standards.funcalls">Functions should be called with no spaces between the function     name, the opening parenthesis, and the first parameter; spaces     between commas and each parameter, and no space between the last     parameter, the closing parenthesis, and the semicolon.</a></li>
<li>For readability  <a name="standards.funcalls">there should be one space on either side of an     equals sign used to assign the return value of a function to a     variable.</a><a name="standards.funcalls"></a></li>
<li>Always use <span class="insideText">&lt;?php ?&gt;</span> to delimit PHP code, not the <span class="insideText">&lt;? ?&gt;</span> shorthand.</li>
<li>Argument in the function with default values go at the end of the argument list.</li>
<li>Use include_once &#8216;path/of/php/file.php&#8217; since it&#8217;s language construct it should not contains parentheses.</li>
<li>While writing MYSql queries use UPPERCASE for keywords of query,back ticks for fieldnames.
<ul>
<li>For Example
<ul>
<li>$sQery = &#8216;SELECT `LeadId`,`name` FROM tblLeads WHERE `id`=4267534</li>
</ul>
</li>
</ul>
</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=44&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/07/25/coding-standered-convention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP Optimization tips.</title>
		<link>http://uttamkumar.wordpress.com/2008/07/09/php-optimization-tips/</link>
		<comments>http://uttamkumar.wordpress.com/2008/07/09/php-optimization-tips/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 13:50:48 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Interview]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Optimzation]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=43</guid>
		<description><![CDATA[Art to tune a system to perform more  efficiently.
Improving Speed
Using less resources
Less memory uses     [In computing]
Disk Space             [In computing]
Bandwidth             [In computing]
When to Optimize code
After UI, since in the process of optimization UI can be screwed up.
Here is a good example to explain code optimization.Suppose I need to calculate sum of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=43&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Art to tune a system to perform more  efficiently.<br />
Improving Speed<br />
Using less resources<br />
Less memory uses     [In computing]<br />
Disk Space             [In computing]<br />
Bandwidth             [In computing]</p>
<p>When to Optimize code<br />
After UI, since in the process of optimization UI can be screwed up.</p>
<p>Here is a good example to explain code optimization.Suppose I need to calculate sum of the numbers from 1-25.A normal code can be as follows.</p>
<address>int i, sum=0,N=25;</address>
<address>for (i = 1; i &lt;= N; i++)‏</address>
<address> sum += i;</address>
<address>printf (&#8220;sum: %d\n&#8221;, sum);</address>
<p>But if you think wisely you can optimized this code.Here is the optimized code.</p>
<address>int sum = (N * (N+1)) / 2;<br />
printf (&#8220;sum: %d\n&#8221;, sum);</address>
<p>So overall idea to present this exercise is let you know that several time code can be optimized by applying formula  and logic.I prefer  to plan  and build logic before actually  you start the code.Try for  2-3  different-2 logic  and  implement  the best one.Here is some tips to optimize your PHP code.</p>
<pre>Set the max value for your for-loops before and not in the loop.

str_replace is faster than preg_replace, but strtr is faster than str_replace by a factor of 4

Error messages are expensive . Error suppressing is slow

Pre increment is faster than post increment.

Incrementing an undefined local variable is 9-10 times slower than a pre-initialized one

$row[’id’] is 7 times faster than $row[id]
Use foreach in case of iterating array in the loop.

Use single quotes instead of double quotes.

Incrementing a global variable is 2 times slow than a local var. Incrementing an object property (eg. $this-&gt;prop++) is 3 times slower

Don't go on creating class,object,methods randomly.often it is too much overhead, each method and object call consumes a lot of memory

Don't split methods too much, think, which code you will really re-use.

Try to use cache for your application.

Try comparing constant on the left side of the operand.eg. if(5==$five).will handle logical error

use isset for checking length of string which is faster than strlen() as it's language construct.
 eg. if (!isset($foo{5})) { echo "Foo is too short"; }
Avoid using regular expression.
eg.
preg_match("![0-9]+!", $foo);
vs
ctype_digit($foo);
ctype_digit is faster.</pre>
<p>There are lot more to add will be followed in the next release.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=43&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/07/09/php-optimization-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting CronJob from web-browser.</title>
		<link>http://uttamkumar.wordpress.com/2008/05/28/setting-cronjob-from-web-browser/</link>
		<comments>http://uttamkumar.wordpress.com/2008/05/28/setting-cronjob-from-web-browser/#comments</comments>
		<pubDate>Wed, 28 May 2008 07:54:58 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[setting cron using script]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=42</guid>
		<description><![CDATA[In order to set a cronjob from a site/webpage using follow the following steps.
1. Write a script which will create/append a file with a cron task
2. call cron command of shell prompt using exce/system function from php and specify the filename from where task to be read.The file name will be the same file name [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=42&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In order to set a cronjob from a site/webpage using follow the following steps.</p>
<p>1. Write a script which will create/append a file with a cron task</p>
<p>2. call cron command of shell prompt using exce/system function from php and specify the filename from where task to be read.The file name will be the same file name where cron task has been written using script.Command will be as follows.</p>
<p>exec(&#8220;crontab UserName path/of/the/file&#8221;);</p>
<p>make sure that cron.allow file in the directory /etc has username specified for which cron has been set up.</p>
<p>you can check username for webbrowser using phpinfo() function of php.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=42&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/05/28/setting-cronjob-from-web-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenSocial &#8211; A API for social website</title>
		<link>http://uttamkumar.wordpress.com/2008/04/10/opensocial-a-api-for-social-website/</link>
		<comments>http://uttamkumar.wordpress.com/2008/04/10/opensocial-a-api-for-social-website/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 09:32:04 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[social site]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=41</guid>
		<description><![CDATA[OpenSocial is a common API that can be used for developing social application which can interact with the people. OpenSocial has a common API for social applications across multiple websites.Using JavaScript and HTML one can develop which can access social network website.
here is the link http://code.google.com/apis/opensocial/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=41&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>OpenSocial is a common API that can be used for developing social application which can interact with the people. OpenSocial has a common API for social applications across multiple websites.Using JavaScript and HTML one can develop which can access social network website.</p>
<p>here is the link http://code.google.com/apis/opensocial/</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=41&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/04/10/opensocial-a-api-for-social-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Using .htaccess</title>
		<link>http://uttamkumar.wordpress.com/2008/03/25/enabling-ssi-with-htaccess/</link>
		<comments>http://uttamkumar.wordpress.com/2008/03/25/enabling-ssi-with-htaccess/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 07:18:36 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=40</guid>
		<description><![CDATA[Enabling SSI with .htaccess
Another common use of .htaccess files is to enable     Server Side Includes for a particular directory. This may be done with     the following configuration directives, placed in a     .htaccess file in the desired directory:
       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=40&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3><u><b>Enabling SSI with .htaccess</b></u></h3>
<p>Another common use of <code>.htaccess</code> files is to enable     Server Side Includes for a particular directory. This may be done with     the following configuration directives, placed in a     <code>.htaccess</code> file in the desired directory:</p>
<div class="example"><code>        Options +Includes<br />
AddType text/html shtml<br />
AddHandler server-parsed shtml     </code></div>
<p>Note that <code>AllowOverride Options</code> and <code>AllowOverride     FileInfo</code> must both be in effect for these directives to have any     effect.</p>
<h3><u><b>Executing CGI script using .htaccess file</b></u></h3>
<p><code>.htaccess</code> file to permit     the execution of CGI programs in a particular directory. following lines needed.</p>
<div class="example"><code>        Options +ExecCGI<br />
AddHandler cgi-script cgi pl     </code></div>
<p>Alternately,  all files in the given directory be     considered to be CGI programs, this may be done with the following     configuration:</p>
<div class="example"><code>        Options +ExecCGI<br />
SetHandler cgi-script     </code></div>
<p>Note that <code>AllowOverride Options</code> and <code>AllowOverride     FileInfo</code> must both be in effect for these directives to have any     effect.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=40&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/03/25/enabling-ssi-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>About .htaccess</title>
		<link>http://uttamkumar.wordpress.com/2008/03/25/about-htaccess/</link>
		<comments>http://uttamkumar.wordpress.com/2008/03/25/about-htaccess/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 07:06:06 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/?p=39</guid>
		<description><![CDATA[.htaccess files provide a way to make configuration changes on a per-directory basis.It&#8217;s a file which contains one or more configuration directives, placed in a perticular directory.The directives written in .htaccess is applies to the directory it is placed and to the subdirectory.
 General use of .htaccess file
Authentication
mod re-write
SSI and executing CGI scripts.
Caution:-   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=39&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><code>.htaccess</code> files provide a way to make configuration changes on a per-directory basis.It&#8217;s a file which contains one or more configuration directives, placed in a perticular directory.The directives written in .htaccess is applies to the directory it is placed and to the subdirectory.</p>
<p><b> General use of .htaccess file</b></p>
<p><a href="http://uttamkumar.wordpress.com/2007/12/27/authentication-using-htaccess/" title="Authentication using .htaccess">Authentication</a></p>
<p><a href="http://uttamkumar.wordpress.com/2007/05/15/mod-rewrite/" title="Using mod re-write">mod re-write</a></p>
<p><a href="http://uttamkumar.wordpress.com/2008/03/25/enabling-ssi-with-htaccess/" title="using htaccess">SSI and executing CGI scripts.</a></p>
<p>Caution:-    <i>in order to use .htaccess file check <b>AllowOverride directive is not set to none</b> in the main configuration file.</i></p>
<p>Drawback of using .htaccess file.</p>
<p><u><b>Performance :-</b></u><b> </b>enabling .htaccess files makes server request slow since it check for each and every directory for the .htacces file.</p>
<p><u><b>Security :-</b></u> it allow users to change configuration which has no control.Specify exactly what should be allowed in AllowOverride directive.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=39&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2008/03/25/about-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>Authentication using .htaccess</title>
		<link>http://uttamkumar.wordpress.com/2007/12/27/authentication-using-htaccess/</link>
		<comments>http://uttamkumar.wordpress.com/2007/12/27/authentication-using-htaccess/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 06:56:56 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/2007/12/27/authentication-using-htaccess/</guid>
		<description><![CDATA[The folder or the page on the sever can be prevented from the unauthenticated user using .htacess and .htpasswd files.
The .htaccess will look like this.
AuthName &#8220;Restricted Area&#8221;
AuthType Basic
AuthUserFile /path/of/your/folder/to/be/protected/.htpasswd
AuthGroupFile /dev/null
require valid-user
you should keep .htpasswd and .htaccess file under the directory/parent folder of the file  which you want to protect from the unauthorized users.
.htpasswd file will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=36&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The folder or the page on the sever can be prevented from the unauthenticated user using .htacess and .htpasswd files.</p>
<p>The .htaccess will look like this.</p>
<p><font color="#1f88a2">AuthName &#8220;Restricted Area&#8221;<br />
AuthType Basic<br />
AuthUserFile /path/of/your/folder/to/be/protected/.htpasswd<br />
AuthGroupFile /dev/null<br />
require valid-user</font></p>
<p>you should keep .htpasswd and .htaccess file <b>under the directory/parent folder of the file</b>  which you want to protect from the unauthorized users.</p>
<p>.htpasswd file will contain username and password in the following format.</p>
<p><font color="#1f88a2">userName:password</font></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=36&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2007/12/27/authentication-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Designer</title>
		<link>http://uttamkumar.wordpress.com/2007/08/24/sql-designer/</link>
		<comments>http://uttamkumar.wordpress.com/2007/08/24/sql-designer/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 07:27:53 +0000</pubDate>
		<dc:creator>uttamkumar</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://uttamkumar.wordpress.com/2007/08/24/sql-designer/</guid>
		<description><![CDATA[SQL Designer is the tool available to generate schema for  any database for mysql,postgresql, oracle and many more..It shows you pictorial presentation of how tables are related to each others in the database so that you can easily design a database with team discussion on the fly.Having design your database you can generate DDL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=32&subd=uttamkumar&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>SQL Designer is the tool available to generate schema for  any database for mysql,postgresql, oracle and many more..It shows you pictorial presentation of how tables are related to each others in the database so that you can easily design a database with team discussion on the fly.Having design your database you can generate DDL statements.Demo of the tool can be found by following the link <a href="http://ondras.zarovi.cz/sql/demo/" title="Sql Designer" target="_blank">http://ondras.zarovi.cz/sql/demo/.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/uttamkumar.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/uttamkumar.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/uttamkumar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/uttamkumar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/uttamkumar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/uttamkumar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/uttamkumar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/uttamkumar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/uttamkumar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/uttamkumar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/uttamkumar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/uttamkumar.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=uttamkumar.wordpress.com&blog=1024688&post=32&subd=uttamkumar&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://uttamkumar.wordpress.com/2007/08/24/sql-designer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641cb3d8e78575da862bc2c4163dd480?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">uttamkumar</media:title>
		</media:content>
	</item>
	</channel>
</rss>