<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 23 May 2012 05:13:05 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DesignLuv.com: A style guide for PHP developers]]></title>
      <guid>http://www.phpdeveloper.org/news/14924</guid>
      <link>http://www.phpdeveloper.org/news/14924</link>
      <description><![CDATA[<p>
On DesignLuv.com today they've posted what they call <a href="http://designluv.com/input-output/tutorials/a-style-guide-for-php-developers/">a style guide</a> for PHP developers - some types on writing well-styled, easy to read code.
</p>
<blockquote>
If you're a new developer and are trying to hone in on your coding style, maybe try giving the following a go. These are simply some conventional formatting methods that are generally appreciated and supported by PHP developers and will improve the overall readability of your code.
</blockquote>
<p>
They talk about a few different subjects - variable names, class and method naming, bracket spacing, default arguments, constants, loops and a lot more. It's good to see them including things like commenting and file name suggestions.
</p>]]></description>
      <pubDate>Mon, 09 Aug 2010 09:13:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Data Formatting: It IS Our Job]]></title>
      <guid>http://www.phpdeveloper.org/news/13630</guid>
      <link>http://www.phpdeveloper.org/news/13630</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/data-formatting-it-is-our-job/">a reminder</a> to all of the developers out there about working with input from your users - the burden is on you to format the data correctly, not them.
</p>
<blockquote>
The simple answer is that whomever designed the form decided to place the validation of the data, and its massaging into the proper format, onto the end user. But there's a more complicated issue at hand here: the fact that the developer either felt it wasn't his responsibility to do the data formatting, or didn't realize that not everyone would think to [input the data] way he does.
</blockquote>
<p>
He suggests that it's more out of laziness on the part of the developer to want the user to give them the data in the format they want when, really, the application should take reasonably correct (it has to match the type they're looking for, after all) and massage it to what they need. If it doesn't cooperate after this, only then should they toss an error. His examples touch on phone number and date formatting.
</p>]]></description>
      <pubDate>Mon, 07 Dec 2009 10:26:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Marshall's Blog:  Landing a PHP job Part 3: Curriculum Vitae]]></title>
      <guid>http://www.phpdeveloper.org/news/11579</guid>
      <link>http://www.phpdeveloper.org/news/11579</link>
      <description><![CDATA[<p><i>Dave Marshall</i> has posted <a href="http://www.davedevelopment.co.uk/2008/12/15/landing-a-php-job-part-3-curriculum-vitae/">part three</a> of his series looking at how to land that perfect PHP job. In this part he focuses on the resume/curriculum vitae - often times your first impression to a potential employer.
</p>
<blockquote>
In <a href="http://www.davedevelopment.co.uk/2008/09/17/landing-a-php-job-part-2-soft-skills/">part two</a> of this series, I discussed the technical know how I think will help get you your next PHP job. This part will discuss writing your Curriculum Vitae(CV, resume, etc.). There are a lot of contrasting opinions on this subject, I'll make a few points, give you some further reading and you can adapt the opinions in to a top notch CV of your own. I'm no major expert and most of the recruitment I have been involved in has been for trainee developers, but these positions attract a high number of CVs, so I've seen a fair few.
</blockquote>
<p>
He includes a few helpful hints like "Your CV does not get you a job", "Don't stuff your CV with keywords/acronyms" and some tips on formatting and proofreading.
</p>]]></description>
      <pubDate>Tue, 16 Dec 2008 09:36:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Fancy Formatting]]></title>
      <guid>http://www.phpdeveloper.org/news/9298</guid>
      <link>http://www.phpdeveloper.org/news/9298</link>
      <description><![CDATA[<p>
<i>Stoyan Stefanov</i> has a <a href="http://www.phpied.com/fancy-formatting/">fun little post</a> showing an interesting formatting trick to make reading arrays/hashes easier:
</p>
<blockquote>
Writing readable code means proper indentation. Usually you'd tab (or use 2 or 4 or 3 spaces) after every curly bracket. [...] Same goes when you have a bigger hash/object sort of thing [...] But recently, inspired by Firebug's Net panel way of presenting header information, I tried aligning the keys to the right in addition to aligning the values to the left.
</blockquote>
<p>
Check out <a href="http://www.phpied.com/fancy-formatting/">the entry</a> for examples of each of these techniques and see which might fit your programming style the best. Personally, the align right style looks nice but could be more of a pain than it's worth to force my editor into.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2007 12:06:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Logan Buesching's Blog: Zend_Pdf_Cell]]></title>
      <guid>http://www.phpdeveloper.org/news/9181</guid>
      <link>http://www.phpdeveloper.org/news/9181</link>
      <description><![CDATA[<p>
<i>Logan Buesching</i> has <a href="http://agoln.net/archives/81">submitted a post</a> about an extension he's created for the <a href="http://framework.zend.com/manual/en/zend.pdf.html">Zend_Pdf</a> component of the Zend Framework to add one key feature - positioning.
</p>
<blockquote>
Needless to say, I was quite disappointed when I came to find out that Zend_Pdf doesn't currently have any type of text layout support except for the exact position to place it. I created a small extension to Zend_Pdf, and building off of an idea from <a href="http://www.fpdf.org/">FPDF</a>, I created Zend_Pdf_Cell.
</blockquote>
<p>
<a href="http://framework.zend.com/issues/browse/ZF-1254">His code</a> is not officially included into the Framework, but has been posted for anyone to use if they might need it. It includes features like: the ability to create a cell and put text inside, position a cell, specify the height/width and format it with different fonts. 
</p>
<p>
He also includes installation instructions (copy the file over, basically) and usage examples to get you started.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 12:58:00 -0600</pubDate>
    </item>
  </channel>
</rss>

