<?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"
	>

<channel>
	<title>Developer Tutorials' Webmaster Blog &#187; 2008 &#187; February</title>
	<atom:link href="http://www.developertutorials.com/blog/date/2008/02/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Tue, 02 Sep 2008 14:59:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Debugging PHP code using debug_backtrace</title>
		<link>http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/</link>
		<comments>http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 15:32:40 +0000</pubDate>
		<dc:creator>Hasin Hayder</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/</guid>
		<description><![CDATA[Most of the PHP developers debug php code in their local machine just by trial and error using &#8220;print_r&#8221;,&#8221;var_dump&#8221; and &#8220;echo&#8221;. They dont write unit tests or follow any advanced debugger like xdebug. But the problem of using these methods is you cannot fool proof your code and their might be some bugs still present [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the PHP developers debug php code in their local machine just by trial and error using &#8220;print_r&#8221;,&#8221;var_dump&#8221; and &#8220;echo&#8221;. They dont write unit tests or follow any advanced debugger like xdebug. But the problem of using these methods is you cannot fool proof your code and their might be some bugs still present in your code. Lets see how can we debug our code more effectively getting more information from the php interpreter itself.  There is a nice function called debug_backtrace() is available in PHP to trace the root of an error. As the name implies, you can trace the execution of you code which produces the error. Have a look at the following code. </p>
<p><code><br />
&lt;?php<br />
function processUserInput($a, $b)<br />
{<br />
	echo divide($a,$b);<br />
}<br />
function divide($c, $d)<br />
{<br />
	print_r(debug_backtrace());<br />
}<br />
echo processUserInput(4,0);<br />
?&gt;<br />
</code></p>
<p>This will output the following one</p>
<p><code></p>
<pre>
Array
(
    [0] =&gt; Array
        (
            [file] =&gt; PHPDocument1
            [line] =&gt; 5
            [function] =&gt; divide
            [args] =&gt; Array
                (
                    [0] =&gt; 4
                    [1] =&gt; 0
                )

        )

    [1] =&gt; Array
        (
            [file] =&gt; PHPDocument1
            [line] =&gt; 14
            [function] =&gt; processUserInput
            [args] =&gt; Array
                (
                    [0] =&gt; 4
                    [1] =&gt; 0
                )

        )

    [2] =&gt; Array
        (
            [file] =&gt; /home/hasin/Zend/ZendStudio-5.5.0/bin/php5/dummy.php
            [line] =&gt; 1
            [args] =&gt; Array
                (
                    [0] =&gt; PHPDocument1
                )

            [function] =&gt; include
        )

)
</pre>
<p></code></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d58" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/&amp;title=Debugging+PHP+code+using+debug_backtrace" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/&amp;title=Debugging+PHP+code+using+debug_backtrace" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/&amp;title=Debugging+PHP+code+using+debug_backtrace" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/debugging-php-code-using-debug_backtrace-58/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting Dell BCM4328 Wifi Card Working on Ubuntu 7.10</title>
		<link>http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/</link>
		<comments>http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 17:36:57 +0000</pubDate>
		<dc:creator>Hasin Hayder</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/</guid>
		<description><![CDATA[After trying,searching and crying for more than one month, I finally get it working today in my laptop (Dell Inspiron 6400)  - I am one of the happiest ever in this world right now :D. here&#8217;s how to. All the credit goes to &#8220;kayvortex&#8221; 
Model of my wifi card is &#8220;Broadcom BCM4328 802.11a/b/g/n (rev [...]]]></description>
			<content:encoded><![CDATA[<p>After trying,searching and crying for more than one month, I finally get it working today in my laptop (Dell Inspiron 6400) <img src='http://www.developertutorials.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> - I am one of the happiest ever in this world right now :D. here&#8217;s how to. All the credit goes to &#8220;<a href="http://ubuntuforums.org/archive/index.php/t-336654.html">kayvortex</a>&#8221; </p>
<p>Model of my wifi card is &#8220;Broadcom BCM4328 802.11a/b/g/n (rev 01)&#8221;</p>
<p>Steps</p>
<p>1. Install Ndiswrapper Common and Ndiswrapper Utils (You can do it using synaptic)<br />
2. Download The Driver from ftp://ftp.dell.com/network/R151517.EXE and unzip it somewhere. You will see a folder named DRIVER<br />
3. Execute the following commands</p>
<p><code><br />
sudo ndiswrapper -i /download_directory/DRIVER/bcmwl5.inf<br />
sudo ndiswrapper -l<br />
sudo modprobe ndiswrapper<br />
</code></p>
<p>4. Then, set ndiswrapper to load on startup:<br />
<code><br />
sudo ndiswrapper -m<br />
gksudo gedit /etc/modules<br />
</code></p>
<p>and add the following module to the list</p>
<p><code><br />
ndiswrapper<br />
</code></p>
<p>5. Restart (This is a must)</p>
<p>Now you can use Fn+F2 to turn on your wifi <img src='http://www.developertutorials.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> )</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d57" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/&amp;title=Getting+Dell+BCM4328+Wifi+Card+Working+on+Ubuntu+7.10" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/&amp;title=Getting+Dell+BCM4328+Wifi+Card+Working+on+Ubuntu+7.10" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/&amp;title=Getting+Dell+BCM4328+Wifi+Card+Working+on+Ubuntu+7.10" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/general/getting-dell-bcm4328-wifi-card-working-on-ubuntu-710-57/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to Measure SEO Success</title>
		<link>http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/</link>
		<comments>http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 13:54:16 +0000</pubDate>
		<dc:creator>Scout</dc:creator>
		
		<category><![CDATA[Website Promotion]]></category>

		<category><![CDATA[metrics]]></category>

		<category><![CDATA[search engine]]></category>

		<category><![CDATA[search engine optimization]]></category>

		<category><![CDATA[searching]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[seo metrics]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/</guid>
		<description><![CDATA[If you&#8217;ve just completed the first steps of your SEO campaign, you&#8217;re probably sitting there thinking &#8220;There&#8217;s no way my SEO campaign can fail!&#8221;
Really? Then again, how does one measure success with SEO? Do you have to be #1 in search results for ALL the keywords you want?  But that sounds impossible!  How [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve just completed the first steps of your SEO campaign, you&#8217;re probably sitting there thinking &#8220;There&#8217;s no way my SEO campaign can fail!&#8221;</p>
<p>Really? Then again, how does one measure success with SEO? Do you have to be #1 in search results for ALL the keywords you want?  But that sounds impossible!  How then do you measure if your campaign is successful?</p>
<p><span id="more-47"></span></p>
<p>In a nutshell: metrics. Sure, being number one in the rankings rocks, but metrics gives you a realistic peek at more important figures and numbers to let you know whether or not you are successful in your SEO endeavors. Are you ready to wallow in other numbers? Then read on.</p>
<p><strong>Traffic</strong> – Though traffic is one way to check on the success of your endeavors, it is not the only way. Not only should you check how much traffic you have gained, also you must check the quality of these visitors. Do they just enter and leave? Do they explore the site? Knowing the quality of the visitors can give you an over-all insight how others see your site.</p>
<p><strong>Keywords</strong> – “What?! But keywords aren’t numbers!” What you should take note is the way your keywords are performing. You should take note of the keywords that are directing traffic in your site. Are these the keywords you intended to use? Or are other keywords scoring more? Depending on the result, you can adjust your future keyword choices as you see fit.</p>
<p><strong>Conversion Rate</strong> – This is the true test of an SEO campaign’s success. See how many people filled up the form you offer, or signed up for your newsletter, the results from this gives you the most concrete proof that SEO is working for you.</p>
<p>Free web analytics tools are available in the Internet. The things I have outlined above are just some of the basic metric information that you can glean from web analytics tools. With these tools, you can generate reports where you could check for improvement. Once you have done the optimization correctly, it won’t be long before you can really say that you’re SEO is successful. Only this time, you have numbers to back you up.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d47" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/&amp;title=How+to+Measure+SEO+Success" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/&amp;title=How+to+Measure+SEO+Success" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/&amp;title=How+to+Measure+SEO+Success" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/website-promotion/how-to-measure-seo-success-47/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend Framework: The Best Framework for Use With Other Frameworks</title>
		<link>http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/</link>
		<comments>http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 10:13:58 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[php frameworks]]></category>

		<category><![CDATA[php tips]]></category>

		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/</guid>
		<description><![CDATA[Here&#8217;s an interesting sales pitch. Using a PHP Framework? Cool. Just make sure you add Zend.
The Zend Framework is a fairly standard, (optionally) MVC PHP application framework. It comes with all the usual functionality; request routing, database access, templates (through view files) etc. It also comes with a lot of extra functionality that you might [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an interesting sales pitch. <em>Using a PHP Framework? Cool. Just make sure you add Zend.</em></p>
<p>The Zend Framework is a fairly standard, (optionally) MVC PHP application framework. It comes with all the usual functionality; request routing, database access, templates (through view files) etc. It also comes with a lot of extra functionality that you might find useful in your application, including some of the best web services libraries available, especially when working with Google&#8217;s APIs.</p>
<p><span id="more-56"></span></p>
<p>But here&#8217;s the kicker: it works entirely standalone. The classes and their methods can, generally, be used statically in any context, or at least independently of the framework. You can use the Zend Framework&#8217;s libraries to manipulate dates and times, work with RSS feeds, interact with Google&#8217;s Gdata APIs, even generate PDF files (although the functionality isn&#8217;t as mature as FPDF).</p>
<p>Fred Wu recently <a href="http://thislab.com/2008/02/21/using-zend-framework-with-codeigniter/">blogged about using Zend Framework with CodeIgniter</a>. It&#8217;s a fantastic way to make use of the efforts of all ZF contributors, as well as speed up development significantly. Chances are, if there&#8217;s something you&#8217;re trying to do in your web application, the Zend Framework can help.</p>
<p>So <a href="http://framework.zend.com/">check it out</a>. It might just make your day.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d56" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/&amp;title=Zend+Framework%3A+The+Best+Framework+for+Use+With+Other+Frameworks" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/&amp;title=Zend+Framework%3A+The+Best+Framework+for+Use+With+Other+Frameworks" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/&amp;title=Zend+Framework%3A+The+Best+Framework+for+Use+With+Other+Frameworks" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/zend-framework-use-with-other-frameworks-56/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subversion Hook</title>
		<link>http://www.developertutorials.com/blog/general/subversion-hook-55/</link>
		<comments>http://www.developertutorials.com/blog/general/subversion-hook-55/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 17:02:33 +0000</pubDate>
		<dc:creator>Hasin Hayder</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/general/subversion-hook-55/</guid>
		<description><![CDATA[Subversion hooks allow you to do some interesting stuffs at specific svn events which you can not do otherwise.  For example consider the followings
1. Inform all users of that repository right after any commit
2. If some one locks a file, inform the admin after a successful unlock
3. Keeping track of commits made by any [...]]]></description>
			<content:encoded><![CDATA[<p>Subversion hooks allow you to do some interesting stuffs at specific svn events which you can not do otherwise.  For example consider the followings</p>
<p>1. Inform all users of that repository right after any commit<br />
2. If some one locks a file, inform the admin after a successful unlock<br />
3. Keeping track of commits made by any user<br />
4. Do anything after the following event occurs<br />
<code><br />
Start Commit<br />
Pre Commit<br />
Post Commit<br />
Pre Lock<br />
Post Lock<br />
Pre Unlock<br />
Post Unlock<br />
Pre Revision Property Change<br />
Post Revision Property Change<br />
</code></p>
<p>So how to do it? open the hooks folder under your repository folder and find there are files identical to these events. So if you want to do something, for example, after any commit then open post-commit.tmpl file and write code inside it. Write code in python, php, perl, bash or whatever and make that file executable using &#8220;chmod&#8221; and you are done. Subversion server will take care of the rest. </p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d55" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/general/subversion-hook-55/&amp;title=Subversion+Hook" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/general/subversion-hook-55/&amp;title=Subversion+Hook" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/general/subversion-hook-55/&amp;title=Subversion+Hook" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/general/subversion-hook-55/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Checking leap year - the JS way</title>
		<link>http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/</link>
		<comments>http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 18:38:42 +0000</pubDate>
		<dc:creator>Hasin Hayder</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/</guid>
		<description><![CDATA[The algorithm for checking leap year is like the one below
1. if the year modulo 400 is 0 , its a leap year
2. else if the year modulo 100 is 0, then its not a leap year
3. else if the year modulo 4 is 0, its a leap year
4. else its not leap year
In plain [...]]]></description>
			<content:encoded><![CDATA[<p>The algorithm for checking leap year is like the one below</p>
<p>1. if the year modulo 400 is 0 , its a leap year<br />
2. else if the year modulo 100 is 0, then its not a leap year<br />
3. else if the year modulo 4 is 0, its a leap year<br />
4. else its not leap year</p>
<p>In plain JS, it will look something like the following one</p>
<p><code><br />
function checkleapyear(year)<br />
{<br />
	year = parseInt(year);</p>
<p>	if(year%4 == 0)<br />
	{<br />
		if(year%100 != 0)<br />
		{<br />
			return true;<br />
		}<br />
		else<br />
		{<br />
			if(year%400 == 0)<br />
				return true;<br />
			else<br />
				return false;<br />
		}<br />
	}<br />
return false;<br />
}<br />
</code></p>
<p>I have seen this in numbers of web sites who are dealing with dates. But why bother when you can do it in the &#8220;Javascript way&#8221; - yes, take advantage of this fantastic language - heh heh. The following piece of code will do it for you</p>
<p><code><br />
var dt = new Date(year+"/02/29");<br />
if ("1"==dt.getMonth()) alert("leap year");<br />
else alert("not leap year");<br />
</code></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d53" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/&amp;title=Checking+leap+year+-+the+JS+way" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/&amp;title=Checking+leap+year+-+the+JS+way" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/&amp;title=Checking+leap+year+-+the+JS+way" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/javascript/checking-leap-year-the-js-way-53/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Art of Linkbaiting</title>
		<link>http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/</link>
		<comments>http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:49:19 +0000</pubDate>
		<dc:creator>Scout</dc:creator>
		
		<category><![CDATA[Content &amp; Blogging]]></category>

		<category><![CDATA[backlinks]]></category>

		<category><![CDATA[blogging]]></category>

		<category><![CDATA[link bait]]></category>

		<category><![CDATA[link baiting]]></category>

		<category><![CDATA[linkbait]]></category>

		<category><![CDATA[linkbaiting]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/</guid>
		<description><![CDATA[People who are involved in SEO know the importance of links. They want and need links, lots of links. Some buy them, some plead for them while some submit them to directories for those coveted one-way links.
While others, they bait them. Linkbait them, that is.
Don’t be put off by the name. Though it sounds nasty, [...]]]></description>
			<content:encoded><![CDATA[<p>People who are involved in SEO know the importance of links. They want and need links, lots of links. Some buy them, some plead for them while some submit them to directories for those coveted one-way links.</p>
<p>While others, they bait them. Linkbait them, that is.</p>
<p>Don’t be put off by the name. Though it sounds nasty, Linkbaiting is a kind of a misnomer. In a sense, you “bait” people with something that they would want to link to. The result: you get to reel-in more traffic and an increase in popularity. But of course, just like in real fishing, you can’t catch fish with rubber as bait. The bait must be something that the people would want. So what can you use as linkbait?</p>
<p><span id="more-46"></span></p>
<p><strong>It’s A Scoop!</strong> – No, you don’t need to shout “Extra! Extra! Read All About It!” with this kind of bait. If you have breaking news, share it! Couple it with an in-depth commentary and watch as the school of users flock your site. The tip: pick your own fishing spot. Be the first to cover news on a specific niche and avoid being too broad.  It also helps to check if other bloggers have covered the topic in the past.</p>
<p><strong>Hear, Hear! Shame, Shame!</strong> – One of the best ways to get attention: be different. When they say ‘yes’ to a topic, say ‘no’ instead. With luck, this can spark a lively debate and those who think so can link to you. Be careful though. Make sure that when you take a side, you defend it with facts; otherwise people will just dump you like the trash you put in your site. The tip: research, research, and more research.</p>
<p><strong>Laughter is Still the Best Medicine</strong> – Funny pictures, hilarious posts, tickling stories, these things easily catch juicy links. People love them for that moment of amusement everyone needs.  Apart from being great linkbait, this has a lot of potential for social bookmarking sites such as StumbleUpon or Digg.</p>
<p>These are just a few of the many ways to bait links. Once you get the hang of it, get ready for the steady increase in traffic and, hopefully, a great catch of links. Happy Fishing!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d46" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/&amp;title=The+Art+of+Linkbaiting" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/&amp;title=The+Art+of+Linkbaiting" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/&amp;title=The+Art+of+Linkbaiting" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/content-blogging/the-art-of-linkbaiting-46/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Head to php&#124;tek!</title>
		<link>http://www.developertutorials.com/blog/php/head-to-phptek-52/</link>
		<comments>http://www.developertutorials.com/blog/php/head-to-phptek-52/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 09:18:19 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[php conference]]></category>

		<category><![CDATA[professional development]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/head-to-phptek-52/</guid>
		<description><![CDATA[In my post on professional development for PHPers, I discussed the value of attending conferences. Well, php&#124;tek in Chicago is coming up, and you should be there! The php&#124;architect team has reported more than 40% of seats have been reserved already, so get in quickly.
If Chicago isn&#8217;t an option for you, try PHP Quebec, php [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.developertutorials.com/blog/php/4-php-professional-development-paths-17/" target="_blank">my post on professional development for PHPers</a>, I discussed the value of attending conferences. Well, <a href="http://tek.phparch.com/" target="_blank">php|tek</a> in Chicago is coming up, and you should be there! The php|architect team has reported more than 40% of seats have been reserved already, so get in quickly.</p>
<p>If Chicago isn&#8217;t an option for you, try <a href="http://conf.phpquebec.com/" target="_blank">PHP Quebec</a>, <a href="http://www.phpconference.co.uk/">php london</a> or the <a href="http://dcphpconference.com/">DC PHP Conference</a>.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d52" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/head-to-phptek-52/&amp;title=Head+to+php%7Ctek%21" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/head-to-phptek-52/&amp;title=Head+to+php%7Ctek%21" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/head-to-phptek-52/&amp;title=Head+to+php%7Ctek%21" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/head-to-phptek-52/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Paul Reinheimer&#8217;s PHP Contest</title>
		<link>http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/</link>
		<comments>http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 00:10:05 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[c7y]]></category>

		<category><![CDATA[php contest]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/</guid>
		<description><![CDATA[Paul Reinheimer, a senior trainer for php&#124;architect, is running another PHP contest. And you should enter.

Given an arbitrary (but valid) HTML file, retrieve all the links that would be displayed as hyper links and display them sequentially, having removed any duplicates. You may use any built in function, the phpinfo() of the server used for [...]]]></description>
			<content:encoded><![CDATA[<p>Paul Reinheimer, a senior trainer for php|architect, is <a href="http://c7y-bb.phparchitect.com/viewtopic.php?f=2&#038;t=1108">running another PHP contest</a>. And you should enter.</p>
<blockquote><p>
Given an arbitrary (but valid) HTML file, retrieve all the links that would be displayed as hyper links and display them sequentially, having removed any duplicates. You may use any built in function, the phpinfo() of the server used for testing will be attached. You just need to retrieve the links, you don&#8217;t need to worry about them being relative or absolute.
</p>
</blockquote>
<p>Very straightforward, no? The trick is doing it well, and Paul intends to thoroughly test your entry.</p>
<p>So, why should you enter? First, it gives you a chance to test your PHP skills in a new environment - experimentation. You not only have to build the script, you have to build it well, and quality isn&#8217;t always a criteria in your day-to-day development. You might also learn something new, especially if you don&#8217;t often work with the string functions or regular expressions.</p>
<p>Head over to <a href="http://c7y-bb.phparchitect.com/viewtopic.php?f=2&#038;t=1108">his post on the c7y boards</a> and give it a go.</p>
<p>By the way, you might find <a href="http://www.developertutorials.com/tutorials/php/scraping-links-with-php-8-01-05/page1.html">this tutorial on link scraping</a> useful.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d51" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/&amp;title=Paul+Reinheimer%26%238217%3Bs+PHP+Contest" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/&amp;title=Paul+Reinheimer%26%238217%3Bs+PHP+Contest" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/&amp;title=Paul+Reinheimer%26%238217%3Bs+PHP+Contest" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/paul-reinheimers-php-contest-51/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Delphi for PHP - the lost RAD IDE</title>
		<link>http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/</link>
		<comments>http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 13:41:51 +0000</pubDate>
		<dc:creator>Akash Mehta</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[delphiforphp]]></category>

		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/</guid>
		<description><![CDATA[Google Trends graph for &#8220;Delphi for PHP&#8221;:

Is it time to start preparing our Delphi for PHP eulogy? 
Anyone remember Delphi for PHP, the much discussed RAD IDE for PHP? Its RAD features (think visual web page design, only not Frontpage style but VB style) were pretty cool. The idea of a common interface to open [...]]]></description>
			<content:encoded><![CDATA[<p>Google Trends graph for &#8220;Delphi for PHP&#8221;:</p>
<p><img src="http://google.com/trends/viz?q=delphi+for+php&#038;graph=weekly_img&#038;sa=N" /></p>
<p>Is it time to start preparing our Delphi for PHP eulogy? <span id="more-50"></span></p>
<p>Anyone remember <a href="http://www.codegear.com/products/delphi/php">Delphi for PHP</a>, the much discussed RAD IDE for PHP? Its RAD features (think visual web page design, only not Frontpage style but VB style) were pretty cool. The idea of a common interface to open source components was also pretty awesome. And the product itself was decent, despite being somewhat buggy - hey, it was a version 1 release, can you blame them?</p>
<p>I had the pleasure of getting a pre-release copy for review purposes and found that, barring a problem with the licensing system, it was really quite good.</p>
<p>Of course, nobody I&#8217;d talked to about it managed to get it working for anything. I couldn&#8217;t achieve much with it either. It took me <a href="http://adug.org.au/meetings/bris/past_meetings.htm">presenting at a Delphi User Group about the product</a> and trying to work it out with a room full of Delphi developers before I managed to even fetch records from a database.</p>
<p>So maybe it wasn&#8217;t the next killer product for PHP developers. But it was the next killer product for Delphi developers. They sure seemed to understand it, and my crash course in PHP syntax was enough for them to understand its inner workings - after all, it was exactly what they&#8217;d been doing for years with pure Delphi, only with a different language underneath.</p>
<p>Some suggested it would create a massive dilution in quality of PHP developers, as developers working with Delphi for PHP would not really understand PHP application development. But where has this fantastic product, doomsayer predictions and all, gone?</p>
<p>Since its initial release, the product has been updated but in general is still in its buggy version 1 state. There is some private beta testing of the next major release, but we haven&#8217;t yet heard anything and the product has long lost its momentum in the community.</p>
<p>Where is the product headed now? If you are reading this, chances are you hadn&#8217;t heard of D4PHP before. It never really gained much traction, it lost what little it had, and now it&#8217;s sort of hanging in limbo. CodeGear will have to really impress us with version 2 if they want this project to make it.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark" style="float:left;">
<div class="d50" style="overflow:hidden">
<div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/&amp;title=Delphi+for+PHP+-+the+lost+RAD+IDE" title="Add to&nbsp;Del.icio.us">Del.icio.us</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/&amp;title=Delphi+for+PHP+-+the+lost+RAD+IDE" title="Add to&nbsp;Digg This">Digg This</a></div><div id="socialstyles"><a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/&amp;title=Delphi+for+PHP+-+the+lost+RAD+IDE" title="Add to&nbsp;Stumble">Stumble</a></div></div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.developertutorials.com/blog/php/delphi-for-php-the-lost-rad-ide-50/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
