<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP Developer Blog</title>
	<atom:link href="http://www.abyaas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abyaas.com</link>
	<description>A source of imagination</description>
	<lastBuildDate>Sun, 11 Apr 2010 22:55:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Coding standards</title>
		<link>http://www.abyaas.com/php-coding-standards/</link>
		<comments>http://www.abyaas.com/php-coding-standards/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 22:25:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abyaas.com/?p=72</guid>
		<description><![CDATA[         Ever wondered why a developer is taking so much time to fix the code bugs ? Let me tell you as a coder who worked for a few years into this.
         A project worked without any kind of [...]]]></description>
			<content:encoded><![CDATA[<p>         Ever wondered why a developer is taking so much time to fix the code bugs ? Let me tell you as a coder who worked for a few years into this.<br />
         A project worked without any kind of standards, makes a developer sick to understand what business logic the code is following. The code has to be written in such a way that any other developer, should be able to take over the code at any point of time, relentlessly. There by making the code easier to maintain.<br />
To cut-short this difficulties every language follows certain coding standards. Likewise PHP has some coding standards that are practiced widely. </p>
<ul>
<li><a href="http://pear.php.net/manual/en/standards.php">PEAR Coding Standards (Most standard Practice) </a></li>
<li><a href="http://framework.zend.com/manual/en/coding-standard.html"> Zend Coding Standards  (My Favourite)</a></li>
</ul>
<p>PEAR standards can be used for those code, which is written for backward compatibility with PHP4<br />
while Zend standards are written for PHP5 standards.  If a code written in following these standards can be easily used to generate the code api documentation through code document software like <a href="phpdoc.org">phpDocumentor</a>. </p>
<p>Having known to the above coding standards, make sure either when you start a project or move your project from one team to another,  you announce to all developers who are involved in the project about the coding standards to be followed. There by it makes any developer to go in and out of the project easily. This makes a any new developer more comfortable to code than to sit and rather than sit and figure out what the code is written. </p>
<p>Also by make sure by doing a code review randomly, keeps the developer attentive towards the coding standards. This is not be taken in the negative sense to test the coder&#8217;s ability, but to make sure, your project goes right way, thereby leaving no chance of loop hole of getting permanently dependent on the one coder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abyaas.com/php-coding-standards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP PEAR based Calendar</title>
		<link>http://www.abyaas.com/calendar-a-good-start-program/</link>
		<comments>http://www.abyaas.com/calendar-a-good-start-program/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 06:47:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[calendar with xtemplate]]></category>
		<category><![CDATA[pear calendar]]></category>
		<category><![CDATA[php calendar]]></category>

		<guid isPermaLink="false">http://www.abyaas.com/?p=6</guid>
		<description><![CDATA[Calendar is a good program to start with. I know there are many, but  it is always good to start with one small program such as calendar
The Features we want.
1. PHP Calendar with innumerous years i.e. countless lets start computer start date to 2008 and to future  and
more&#8230;&#8230;&#8230;&#8230;&#8230;.
12345678910111213141516171819202122232425262728if &#40; !@include 'Calendar/Calendar.php' &#41; &#123;
define&#40;'CALENDAR_ROOT','../../'&#41;;
&#125;

require_once [...]]]></description>
			<content:encoded><![CDATA[<p>Calendar is a good program to start with. I know there are many, but  it is always good to start with one small program such as calendar</p>
<p>The Features we want.</p>
<p>1. PHP Calendar with innumerous years i.e. countless lets start computer start date to 2008 and to future  and</p>
<p>more&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!@</span><span style="color: #b1b100;">include</span> <span style="color: #0000ff;">'Calendar/Calendar.php'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'CALENDAR_ROOT'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'../../'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #b1b100;">require_once</span> CALENDAR_ROOT<span style="color: #339933;">.</span><span style="color: #0000ff;">'Month/Weeks.php'</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">require_once</span> CALENDAR_ROOT<span style="color: #339933;">.</span><span style="color: #0000ff;">'Day.php'</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'y'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'y'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$month</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Calendar_Month_Weeks<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'y'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$current_month_year</span> <span style="color: #339933;">=</span>  <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'F Y'</span><span style="color: #339933;">,</span><span style="color: #000088;">$month</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTimeStamp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$nextyear</span> <span style="color: #339933;">=</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #339933;">,</span><span style="color: #000088;">$month</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTimeStamp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$prevyear</span> <span style="color: #339933;">=</span> <span style="color: #990000;">intval</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #339933;">,</span><span style="color: #000088;">$month</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getTimeStamp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// Create an array of days which are &quot;selected&quot;</span><br />
<span style="color: #666666; font-style: italic;">// Used for Week::build() below</span><br />
<br />
<span style="color: #000088;">$selectedDays</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><br />
<span style="color: #000000; font-weight: bold;">new</span> Calendar_Day<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'y'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
<span style="color: #000000; font-weight: bold;">new</span> Calendar_Day<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'y'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">12</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">25</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Instruct month to build Week objects</span><br />
<span style="color: #000088;">$month</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>build<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #339933;">&lt;</span>code<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abyaas.com/calendar-a-good-start-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to Abyaas</title>
		<link>http://www.abyaas.com/hello-world/</link>
		<comments>http://www.abyaas.com/hello-world/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 17:37:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Trivia]]></category>
		<category><![CDATA[abyaas]]></category>
		<category><![CDATA[php blog]]></category>
		<category><![CDATA[php developer]]></category>
		<category><![CDATA[php video]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://www.abyaas.com/?p=1</guid>
		<description><![CDATA[Abyaas a word derived from sanskrit(an old language) which means practice.
After working as a PHP  developer from a longtime, I finally got a little bit of time to make my  own web site.
What actually I intend to do on this is, something that I like  to do at any point of time, but [...]]]></description>
			<content:encoded><![CDATA[<p>Abyaas a word derived from sanskrit(an old language) which means practice.</p>
<p>After working as a PHP  developer from a longtime, I finally got a little bit of time to make my  own web site.</p>
<p>What actually I intend to do on this is, something that I like  to do at any point of time, but mostly related to my profession. What I&#8217;m currently thinking is to write my little, php scripts developed by me or talk or write anything related to LAMP Technologies. I&#8217;m not an expert, but I&#8217;m  good enough to write PHP applications or even design an PHP application.  Have comments for us? Comments  on my code are very openly accepted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abyaas.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
