<?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>Tue, 18 Jun 2013 17:01:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Community News: The PHP Internals Book]]></title>
      <guid>http://www.phpdeveloper.org/news/19701</guid>
      <link>http://www.phpdeveloper.org/news/19701</link>
      <description><![CDATA[<p>
For those that are interested in how PHP works "under the covers" and maybe want to get started writing your own extensions for it, you should check out <a href="http://www.phpinternalsbook.com/">the PHP Internals Book</a>. It's a collaborative effort between <i>Julien Pauli</i>, <i>Anthony Ferrara</i> and <i>Nikita Popov</i>.
</p>
<blockquote>
There are three primary goals of this book: Document and describe how PHP internals work, how to extend the language with extensions, how you can interact with the community to develop PHP itself. This book is primarily targeted at developers who have experience in the C programming language. However, where-ever possible we will attempt to distill the information and summarize it so that developers who don't know C will still be able to understand the content.
</blockquote>
<p>
<a href="http://www.phpinternalsbook.com/">The book</a> is a work in progress, but they're off to a good start. They already have sections covering some of the basics of working with classes and objects (including iterators and "magic interfaces").
</p>
Link: http://www.phpinternalsbook.com]]></description>
      <pubDate>Tue, 11 Jun 2013 10:44:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen: Objects in the model layer: Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/19398</guid>
      <link>http://www.phpdeveloper.org/news/19398</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> <a href="http://akrabat.com/development/objects-in-the-model-layer/">previously posted</a> about some of his practices around the different types of objects in the model layer of his Zend Framework 2 applications. In <a href="http://akrabat.com/php/objects-in-the-model-layer-part-2/">this latest post</a> he follows up and shares some example code for the different types.
</p>
<blockquote>
I previously talked about the terms I use for <a href="http://akrabat.com/development/objects-in-the-model-layer/">objects in the model layer</a> and now it's time to put some code on those bones. Note that,as always, all code here is example code and not production-ready.
</blockquote>
<p>
He includes sample classes related to his "books" examples - a "book" entity (with title, author, id and ISBN), a mapper object to load/save/delete the entity and a service object that provides an interface for the entity to the rest of the application.
</p>]]></description>
      <pubDate>Tue, 02 Apr 2013 11:55:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: The Grumpy Programmer's PHPUnit Cookbook Released]]></title>
      <guid>http://www.phpdeveloper.org/news/19271</guid>
      <link>http://www.phpdeveloper.org/news/19271</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> (aka the "Grumpy Programmer") has written a second book that aims to teach you even more about writing testable applications. Where his <a href="https://leanpub.com/grumpy-testing">first book</a> taught the basics of making apps testable, this new book - <a href="https://leanpub.com/grumpy-phpunit">The Grumpy Programmer's PHPUnit Cookbook</a> provides code examples showing how to solve some of the common problems you'll come across when testing your applications.
</p>
<blockquote>
You know you need something better, but time just doesn't seem to be on your side. Making things "right" is costly and you need to deliver working code NOW. Tests would be great but there are real deadlines to meet. You can't stop development and churn away for hours just to add tests around what you know already works. [...] No longer would you dread the bug reports. You'd happily make changes knowing that your safety net is there. You'd try out new features guiding yourself with tests.
</blockquote>
<p>
The book covers some more advanced topics than you might have seen in the previous book including data providers, test doubles, faking test data (or using external sources) and writing tests for APIs, databases and exceptions. If this sounds interesting to you, you can <a href="https://leanpub.com/grumpy-phpunit">pick up your own copy</a> of the book on his site (or <a href="http://samples.leanpub.com/grumpy-phpunit-sample.pdf">try out the sample first</a>).
</p>]]></description>
      <pubDate>Tue, 05 Mar 2013 10:17:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Get "The Joy of PHP" Free on Amazon]]></title>
      <guid>http://www.phpdeveloper.org/news/19157</guid>
      <link>http://www.phpdeveloper.org/news/19157</link>
      <description><![CDATA[<p>
A while back <i>Alan Forbes</i> started a Kickstarter project to write a PHP book, "The Joy of PHP". This book was targeted at those that wanted to learn PHP and "have some fun along the way". The book has been finished and, in a special promotion, is being offered free of charge <a href="http://www.amazon.com/The-Joy-PHP-Applications-ebook/dp/B00BALXN70/">through Amazon</a> and for the next five days.
</p>
<blockquote>
The book <a href="http://www.amazon.com/The-Joy-PHP-Applications-ebook/dp/B00BALXN70/">"The Joy of PHP"</a> by Alan Forbes now available as a Kindle book on Amazon.com.   Starting today (or tomorrow, depending on Amazon) and lasting only 5 days the book will be absolutely free.   The only "catch" is that the author is asking for reviews.  In other words, once you've taken a look a the book please go back to the book listing on Amazon and give it a star rating from 1 to 5 to help the author build momentum for the book.
</blockquote>
<p>
You can find out more about the book <a href="http://www.joyofphp.com/">on its website</a> and, if you don't want the Kindle version, pick up a copy of the PDF version for just $12 USD.
</p>
<p>
<b>UPDATE:</b> the free offer for this book has been extended and is available for no cost <b>for a limited time</b>!
</p>]]></description>
      <pubDate>Fri, 08 Feb 2013 12:22:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: "Do This, Not That" Now Available!]]></title>
      <guid>http://www.phpdeveloper.org/news/18924</guid>
      <link>http://www.phpdeveloper.org/news/18924</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/do-this-not-that-now-available/">officially released his book</a>, "Do This, Not That" - a book targeted at beginners to the PHP language, trying to teach them best practices for some of the most common situations they might come across.
</p>
<blockquote>
Too many books on best practices read like a manual. They are dry, boring and cover topics that you don't care about. "Do This, Not That" is different. A collection of essays, it highlights those areas for which best practices are either not well known or not well defined. It offers clear solutions that will be easy to implement. I've taken the time to research and identify what I feel are the best practices, and condensed it into a two hour read that will leave you feeling empowered, not exhausted.
</blockquote>
<p>
If this sounds interesting to you, you can pick up a copy <a href="http://dothisnotth.at/">on the official site</a> for about $30 USD and, if you're more of a try-before-you-buy sort, you can <a href="http://dothisnotth.at/assets/samplechapter.pdf">read a sample chapter</a> covering type hinting.
</p>]]></description>
      <pubDate>Thu, 20 Dec 2012 10:50:36 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: Private Methods Considered Harmful ("Do This, Not That" Excerpt)]]></title>
      <guid>http://www.phpdeveloper.org/news/18867</guid>
      <link>http://www.phpdeveloper.org/news/18867</link>
      <description><![CDATA[<p>
A while back <i>Brandon Savage</i> <a href="http://www.brandonsavage.net/introducing-do-this-not-that-for-php-developers/">mentioned a book he was writing</a> ("Do This, Not That") to help PHP developers learn some of the best practices associated with the language. Today he's <a href="http://www.brandonsavage.net/private-methods-considered-harmful/">posted an excerpt</a> from the book for your enjoyment.
</p>
<blockquote>
This great series of highly focused e-books will offer tips, tricks and best practices focused on core areas of PHP development, including databases, security, filtering, regular expressions, configuration and more. Since it will be a series of tightly targeted solutions, developers will be able to pick all, some or just one of the offerings that solves their specific problem(s).
</blockquote>
<p>
<a href="http://www.brandonsavage.net/private-methods-considered-harmful/">This excerpt</a> looks at private method use in your applications and why they could be considered "evil" if not used correctly.
</p>]]></description>
      <pubDate>Mon, 10 Dec 2012 11:26:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes: The Grumpy Programmer's PHPUnit Cookbook]]></title>
      <guid>http://www.phpdeveloper.org/news/18596</guid>
      <link>http://www.phpdeveloper.org/news/18596</link>
      <description><![CDATA[<p>
For those that are fans of <i>Chris Hartjes</i>'s book <a href="http://grumpy-testing.com/">The Grumpy Programmer's Guide to Building Testable Applications</a>", there's some good news - he's <a href="http://grumpy-phpunit.com/">working on a new book</a> more centered around effective use of PHPUnit.
</p>
<blockquote>
Having written a book that shows you how to <A href="http://grumpy-testing.com/">write code that is testable</a> it seemed natural to write a companion book for that, to give people a better understanding of how to use some of the testing tools. To that end, I've started working on "The Grumpy Programmer's PHPUnit Cookbook" to be released in early 2013 (I'm thinking end of January / beginning of February if everything works out). The book will be a collection of tips and tricks on how to use the gold standard of PHP unit testing frameworks, the mighty <a href="https://github.com/sebastianbergmann/phpunit/">PHPUnit</a>.
</blockquote>
<p>
At the bottom of the <a href="http://grumpy-phpunit.com/">site for the new book</a> there's a signup form for the email list about it. Enter your info and you'll be notified as the release date comes.
</p>]]></description>
      <pubDate>Fri, 12 Oct 2012 10:10:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Chatting With The Grumpy PHP Programmer]]></title>
      <guid>http://www.phpdeveloper.org/news/18579</guid>
      <link>http://www.phpdeveloper.org/news/18579</link>
      <description><![CDATA[<p>
NetTuts.com has posted <a href="http://net.tutsplus.com/articles/interviews/chatting-with-the-grumpy-php-programmer/">an interview they've done</a> with <i>Chris Hartjes</i> (aka "The Grumpy Programmer") about his stance on testing in PHP applications and some of his background as a developer.
</p>
<p>Questions from <i>Jeffery Way</i> include:</p>
<ul>
<li>You recently self-published "<a href="http://grumpy-testing.com/">The Grumpy Programmer's Guide to Building Testable Applications.</a>" What made you want to write this specific title?
<li>In your opinion, what is the single biggest advantage to testing your applications?
<li>Testing applications is a bit odd, in that, overall, the idea is a simple one. [...] Was there a specific article or video that suddenly made you "get" it all those years ago?
<li>What are your thoughts on the vitriol toward PHP lately - referring to various viral blog posts on the subject? Is it warranted?
</ul>
<p>
You can find out more about <i>Chris'</i> book <a href="http://grumpy-testing.com/">here</a> or follow him <a href="http://twitter.com/grmpyprogrammer">on Twitter</a> or his <a href="http://www.littlehart.net/atthekeyboard">blog</a>.
</p>]]></description>
      <pubDate>Wed, 10 Oct 2012 08:25:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeIgniter.com: Rumbelow Publishes Volume Two of CodeIgniter Handbook Series]]></title>
      <guid>http://www.phpdeveloper.org/news/18472</guid>
      <link>http://www.phpdeveloper.org/news/18472</link>
      <description><![CDATA[<p>
On the CodeIgniter blog there's <a href="http://codeigniter.com/news/rumbelow_publishes_volume_two_of_codeigniter_handbook_series#When:15:28:09Z">a new announcement</a> about a book published from one of the main CodeIgniter developers (<i>Jaime Rumbelow</i>) - the second volume in the CI Handbook series.
</p>
<blockquote>
Earlier this year I wrote and released The CodeIgniter Handbook - Vol. 1 - Who Needs Ruby? to critical acclaim. It's been several months since the release of Volume One and everybody's support, feedback and enthusiasm has been absolutely wonderful. To everyone who has purchased a copy, thank you. I'm thrilled to announce that Vol. 2 - API Design, was released last week and is now available to purchase in PDF or Paperback. 
</blockquote>
<p>
This new book covers API design and how you can make your app "connected" in an automated world. If you'd like to pick up a copy of this new book, you can get one <a href="https://efendibooks.com/books/codeigniter-handbook/vol-2">from efendi books</a>.
</p>]]></description>
      <pubDate>Thu, 13 Sep 2012 09:35:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: "The Joy of PHP Programming" Book & Course Kickstarter]]></title>
      <guid>http://www.phpdeveloper.org/news/18461</guid>
      <link>http://www.phpdeveloper.org/news/18461</link>
      <description><![CDATA[<p>
A Kickstarter project has been started up by <i>Alan Forbes</i> to author a book (and full training course) to "bring the joy back" into learning PHP - <a href="http://www.kickstarter.com/projects/287976447/the-joy-of-php-programming-e-book-and-course">The Joy of PHP Programming (e-book and course)</a>.
</p>
<blockquote>
PHP is a great programming language. It's free, powerful, relatively easy to setup and learn, and it has extensions and frameworks available to do almost anything you could imagine.  Frankly, it's just plain fun too. But if you've never programmed before or have programmed before but not with PHP and want to learn it, wouldn't it be great to find a tutorial that  conveyed the sheer joy of it?  That's what I want to do!
</blockquote>
<p>
It plans to be an introductory book, starting developers from the ground up to teach them things like basic usage, project organization, working with user input and bits on frontend and backend frameworks. There's already over 150 backers for the project and just 20 days remaining so if you're interested in learning more about it or want to contribute, check out <a href="http://www.kickstarter.com/projects/287976447/the-joy-of-php-programming-e-book-and-course">this page</a> on Kickstarter.com.
</p>]]></description>
      <pubDate>Mon, 10 Sep 2012 12:46:30 -0500</pubDate>
    </item>
  </channel>
</rss>
