<?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, 22 May 2013 13:03:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Pixelstech.com: Should we use Abstract class or Interface?]]></title>
      <guid>http://www.phpdeveloper.org/news/19478</guid>
      <link>http://www.phpdeveloper.org/news/19478</link>
      <description><![CDATA[<p>
On the Pixelstech.com site today there's a new post that talks about the <a href="http://www.pixelstech.net/article/1366044255_Should_we_use_Abstract_class_or_Interface_">differences between abstract classes and interfaces</a> and when's the best time to use either (or both).
</p>
<blockquote>
When we write programs, we may often get into a situation where we don't know whether we should use Abstract class or Interface when we want to define an abstract object. These two are very similar and they are interchangeable. On Stackoverflow, this question is asked many times, it's related to many programming languages. Also in the official documentation of PHP regarding the Abstract class and Interface, people are arguing about this. To understand this question, we need to understand their differences and use scenarios.
</blockquote>
<p>
They provide examples of abstract class and interface usage with one of the main differences being that you can define functionality in abstract classes. There's also examples showing classes that extend the abstract class while implementing the interface at the same time, helping to define the object structure to an even finer level.
</p>
Link: http://www.pixelstech.net/article/1366044255_Should_we_use_Abstract_class_or_Interface_]]></description>
      <pubDate>Thu, 18 Apr 2013 09:22:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: 6 Things to Consider when Choosing a Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/19426</guid>
      <link>http://www.phpdeveloper.org/news/19426</link>
      <description><![CDATA[<p>
PHPMaster.com has posted a list of <a href="http://phpmaster.com/6-things-to-consider-when-choosing-a-framework">six things they think you should think about</a> as you're selecting the framework for your next application.
</p>
<blockquote>
You've decided that it makes sense to use a framework when writing your next new application, and chances are that if you're already familiar with a specific framework, then you'll probably be leaning towards using that one when you start. But are you sure it's really the most appropriate for the task at hand? In the name of due-diligence, here are some of questions that you should ask yourself before settling on a particular framework to make sure you're not programming "against the grain" and also to make sure it will be able to meet your needs now and in the long-term.
</blockquote>
<p>
He doesn't get into any specifics of any PHP frameworks out there, but suggests general questions to ask even before getting too deep into the technology:
</p>
<ul>
<lI>What do I need from the framework?
<li>Do I expect the framework to help manage consistency?
<li>Is good documentation available?
<li>Is the framework actively developed, and does it have an active user base?
<li>Does the framework work in what I run in production?
<li>What business factors are influencing my decision?
</ul>
<blockquote>
Not every application needs to be written using a framework. But if you've decided that yours does, then it's beneficial to compare your needs against the features and benefits of the various framework offerings.
</blockquote>
Link: http://phpmaster.com/6-things-to-consider-when-choosing-a-framework]]></description>
      <pubDate>Mon, 08 Apr 2013 11:29:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: Languages Don't Matter (Part Deux)]]></title>
      <guid>http://www.phpdeveloper.org/news/19045</guid>
      <link>http://www.phpdeveloper.org/news/19045</link>
      <description><![CDATA[<p>
In a follow-up to his previous article about why <a href="http://www.brandonsavage.net/languages-dont-matter/">languages don't matter</a>, <i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/languages-dont-matter-part-deux/">a new post</a> (part two) carrying on the theme but getting more into the thought patterns behind language selection and use.
</p>
<blockquote>
<p>
Developers like to think that companies hire developers to write code. But companies do not hire developers to write code; they hire developers to solve problems. They hire developers with the expectation that the developer knows about, or can learn about, the problems of the company, and find a creative solution to those problems at minimal cost.
</p>
<p>
It is therefore up to the developer to choose what tools they will use to achieve the outcome. The customer doesn't much care what tools the developer uses; they only care that the outcome they desired is achieved. 
</p>
</blockquote>
<p>
He goes on to talk about preferences in the tools "used by craftsmen" and why they're less important than the result of the work they create. He notes that languages matter, but only in a certain context - as a piece of a puzzle, a part of a whole to reach an objective of functioning software.
</p>]]></description>
      <pubDate>Wed, 16 Jan 2013 11:54:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Sturgeon: Understanding Circumstance]]></title>
      <guid>http://www.phpdeveloper.org/news/18390</guid>
      <link>http://www.phpdeveloper.org/news/18390</link>
      <description><![CDATA[<p>
<i>Phil Sturgeon</i> has <a href="http://philsturgeon.co.uk/blog/2012/08/understanding-circumstance">a new post to his site</a> today comparing a few different types of developers and discussing language/tool zealots among them (and a plea for tolerance and understanding).
</p>
<blockquote>
What is it you do as a developer? As I see it in web dev there are a few different types: Hobbiest, Client Web Dev, Distributed Application Devs, Web App Developer (SaaS) and Corporate Dev. What do they all have in common? They're all using some sort of language to make some sort of system for somebody somewhere. That is about the last connecting factor that most of us developers actually share. [...] The crazy thing here is that most developers who are in a situation where they can use whatever system they like, often end up picking a specific tool and using it to death. This is ridiculous, as every developer should use the best tool for the job. 
</blockquote>
<p>
He talks a bit about each of the different categories of developers and where he sees their place in the world of development. He points out some of the restrictions of each type of position (required technologies, dependencies, etc) and comes to his point about their choices:
</p>
<blockquote>
The point I am trying to make in all of this, is that while you might have really strong opinions about what language, framework, version of the framework or version of the language you use, EVERYONE has a totally different situation to you.
</blockquote>]]></description>
      <pubDate>Wed, 22 Aug 2012 10:15:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Grzegorz Godlewski's Blog: Choosing your Source Code Management System]]></title>
      <guid>http://www.phpdeveloper.org/news/18077</guid>
      <link>http://www.phpdeveloper.org/news/18077</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Grzegorz Godlewski</i> talks about some of the criteria to consider when <a href="http://blog.twelvecode.com/2012/06/10/choosing-your-source-code-management-system/">selecting your source code management tool</a> (between Subversion, Git and Mercurial).
</p>
<blockquote>
Each of them has its own advantages and disadvantages so the project's requirements, development environment and team members receptivity should be taken into consideration. Relying on my own experience in project management and using version control systems to manage the development process I've formed the conclusions listed below that may be helpful while considering usage of one of described SCM's in your own projects.
</blockquote>
<p>
He talks about how the size of the project can effect the decision and a bit more detail about what each of the version control systems are good at. The PHP project itself has <a href="http://phpdeveloper.org/news/17695">recently made the shift to git</a> away from Subversion (you can find more information <a href="http://us2.php.net/git.php">on the PHP.net site</a>).
</p>]]></description>
      <pubDate>Mon, 11 Jun 2012 10:10:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-A-Day Blog: Commentary: Why Do People Hate PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/18033</guid>
      <link>http://www.phpdeveloper.org/news/18033</link>
      <description><![CDATA[<p>
On the PHP-Tip-A-Day site today <i>Greg Bulmash</i> <a href="http://www.php-tip-a-day.com/commentary-why-do-people-hate-php/">shares some of his thoughts</a> about why people hate PHP.
</p>
<blockquote>
I recently read Kevin Schroeder's blog post about <a href="http://www.eschrade.com/page/10-reasons-to-use-php-for-your-mobile-project/">10 Reasons To Use PHP</a>. Then -- silly me -- I started reading the comments. It only took a few before the obligatory anti-PHP hater came out and started insulting the language and the people who use it. That made me think about why that hate exists.
</blockquote>
<p>
He points out that some of it probably has to do with people not really understanding what PHP is all about (no, reading <a href="http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/">a blog post</a> dosen't make you an expert on it) and mentions PHP's dynamic typing as a sticking point with several developers.
</p>
<blockquote>
Usually someone hating on PHP does so because they don't understand it, are upset by what it lets people get away with, feel it makes it too easy for someone to earn the title of "developer," or because they're dicks who have to insult other people because they can't simply be happy with their own choices.
</blockquote>]]></description>
      <pubDate>Fri, 01 Jun 2012 08:49:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Court Ewing's Blog: Create and Validate a Choice List in a Symfony 2 Form]]></title>
      <guid>http://www.phpdeveloper.org/news/16728</guid>
      <link>http://www.phpdeveloper.org/news/16728</link>
      <description><![CDATA[<p>
<i>Court Ewing</i> has written up a new post to his blog about <a href="http://epixa.com/2011/08/create-and-validate-a-choice-list-in-a-symfony-2-form">creating a "choice" list</a> (a select list as defined by Symfony 2) with dynamic options and validating the resulting submission. His example uses Doctrine 2 entities to work with most of the data handling.
</p>
<blockquote>
A standard select list can be created using Symfony's choice field type; it is pretty clear how to create a new <a href="http://symfony.com/doc/current/reference/forms/types/choice.html">choice</a> field with simple, non-dynamic options (e.g. gender), but it gets a little more complicated when you want to create and validate a dynamically generated choice list.
</blockquote>
<p>
He includes the code for a simple entity, a Post model to fetch the category information and the set up of the form element - a select list of post types/categories. He also includes a bonus section showing how you can achieve the same thing without a model to bind to. 
 The code's a little bit more complex than the previous example, but it's basically just reproducing some of the validation and fetching logic manually.
</p>]]></description>
      <pubDate>Wed, 17 Aug 2011 08:28:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sourcefabric Blog: Why Sourcefabric chose Zend as our PHP framework.]]></title>
      <guid>http://www.phpdeveloper.org/news/16703</guid>
      <link>http://www.phpdeveloper.org/news/16703</link>
      <description><![CDATA[<p>
On the Sourcefabric blog today they've <a href="http://sourcefabric.org/en/community/blog/730">posted their reasons</a> for choosing the <a href="http://framework.zend.com">Zend Framework</a> to rebuild their applications in - <a href="http://sourcefabric.org/en/newscoop/">Newscoop</a> and <a href="http://sourcefabric.org/en/airtime/">Airtime</a>.
</p>
<blockquote>
Back in the Fall of 2010, we needed a new PHP framework for our applications. Neither of our applications - <a href="http://sourcefabric.org/en/newscoop/">Newscoop</a> or <a href="http://sourcefabric.org/en/airtime/">Airtime</a> - had anything that could really be called a framework, though our code was generally separated into Models, Views, and Controllers (MVC).  But it wasn't pretty. We were in need of an established MVC framework to build on.
</blockquote>
<p>
They tried out several different frameworks including Yii, CakePHP, Kohana, Symfony and, of course, the Zend Framework. They talk briefly about their evaluation process and some of the pros and cons they found along the way.
</p>
<blockquote>
Overall, using Zend has helped us to create clean, structured code and for most cases has lowered our implementation time for new features. [...] Even though there are some things that could be better, the net benefit has been positive for us.
</blockquote>]]></description>
      <pubDate>Thu, 11 Aug 2011 08:47:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[LearnComputer.com: Best PHP Books: My Top 5 Choices]]></title>
      <guid>http://www.phpdeveloper.org/news/16128</guid>
      <link>http://www.phpdeveloper.org/news/16128</link>
      <description><![CDATA[<p>
On LearnComputer.com there's a new post with their <a href="http://www.learncomputer.com/best-php-books-my-top-5-choices/">top five choices of PHP books</a> they see as good resources for any developer wanting to improve their grasp of the language.
</p>
<blockquote>
Continuing with our <a href="http://www.learncomputer.com/tag/book-review/">best-five-book</a> series, today we are introducing our pick of the top 5 PHP books. Obviously, PHP has been around much longer than our other review subjects such as Android or HTML5, and there is a greater general variety of books to choose from.
</blockquote>
<p>
Their list of top five covers a pretty good range of skillsets, but leans more towards the introductory level:
</p>
<ul>
<li>Professional PHP6 (and yes, they mention that the title is "blatant false advertising" since PHP6 is nowhere to be found)
<li>Learning PHP, MySQL, and JavaScript: A Step-by-Step Guide to Creating Dynamic Websites
<li>PHP Solutions: Dynamic Web Design Made Easy
<li>Beginning PHP and MySQL: From Novice To Professional
<li>Head First PHP & MySQL
</ul>]]></description>
      <pubDate>Thu, 31 Mar 2011 09:57:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Builder Zone: Which PHP framework would you use today for a brand new application?]]></title>
      <guid>http://www.phpdeveloper.org/news/16067</guid>
      <link>http://www.phpdeveloper.org/news/16067</link>
      <description><![CDATA[<p>
On the Web Builder Zone today <i>Gorgio Sironi</i> asks you, the larger development population of the web, <a href="http://css.dzone.com/polls/dont-publish-next-week-which">what framework would you use today</a> to start a new application?
</p>
<blockquote>
One of the difficult parts of framework adoption, especially in the PHP world, is about choosing the right framework. There is a proliferation of open source solutions and a team must analyze the overall picture thoroughly before locking itself into a particular framework. Changing the framework which an application is built with without shaking its foundations would be probably impossible after a certain period of development.
</blockquote>
<p>
He lists a few of the things he looks for in a framework - functionality, performance, community and a good license - and asks for some feedback (in the form of a poll) as to which you'd prefer to use next. He's narrowed it down to four options: Zend Framework, Symfony, CodeIgniter and CakePHP. (Expect plenty of comments asking "what about [insert framework here]?")
</p>]]></description>
      <pubDate>Fri, 18 Mar 2011 10:03:36 -0500</pubDate>
    </item>
  </channel>
</rss>
