<?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>Thu, 24 May 2012 14:01:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Anthony Ferrara's Blog: Open Standards - The Better Way]]></title>
      <guid>http://www.phpdeveloper.org/news/17999</guid>
      <link>http://www.phpdeveloper.org/news/17999</link>
      <description><![CDATA[<p>
In <a href="http://blog.ircmaxell.com/2012/05/open-standards-better-way.html">this new post</a> to his blog <i>Anthony Ferrara</i> responds to some of the recent news about PHP standards being up for voting (PSR-1 and PSR-2). He has an issue with how they were created, though, and notes that the current PSR process doesn't encourage open standards.
</p>
<blockquote>
There has been a lot of traction lately on the topic of the PSR "PHP Framework Interoperability Group". They are introducing two new proposed standards: PSR-1and PSR-2, both dealing with code formatting standards. [...] I have read both, and actually agree and think they are quite good. However, there's a deeper problem. Open Standards is something that the internet was built upon. From HTTP, E-Mail and HTML to ECMA Script (JavaScript), OAuth and JSON, open standards are everywhere. The problem with the entire PSR process is that it is not designed to produce open standards. 
</blockquote>
<p>
He describes an "open standard" and points to <a href="http://tools.ietf.org/html/rfc2026#section-6">this RFC</a> as an example of the open process they should result from. He talks about the importance of the process and how having more people reviewing and contributing their ideas could help find issues in the proposal. He issues a "call to the PSR team" to adopt this practice, allowing a more open flow to the ideas that are being proposed. 
</p>
<blockquote>
Note that I'm not asking to open the vote to anyone else. I'm not saying that standards should be approved by everyone in the community. There should still be a standards body that makes the final decision. But they should make that decision based on community input. They should actively look for and encourage open discussion prior to voting. 
</blockquote>]]></description>
      <pubDate>Thu, 24 May 2012 08:18:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Freek Lijten's Blog: SOLID - The O is for Open Closed Principle]]></title>
      <guid>http://www.phpdeveloper.org/news/17916</guid>
      <link>http://www.phpdeveloper.org/news/17916</link>
      <description><![CDATA[<p>
<i>Freek Lijten</i> has posted the <a href="http://www.freeklijten.nl/home/2012/05/07/SOLID-the-O-is-for-Open-Closed-Principle">second part</a> of his series looking at the <a href="http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)">SOLID</a> development methodology. In this latest post his looks at the second letter in the acronym - "O" for "Open Closed Principle."
</p>
<blockquote>
Software that requires an enormous amount of changes to implement one new feature or fix a bug is unstable and should be considered as "bad". Software should be designed so, that in case of a new feature, no existing classes should have to change. In other words: it is closed for modification. Existing software may be extended to achieve new features however.
</blockquote>
<p>
He starts off with a "What" section explaining a bit more about what this open/closed means for your code and gets into an example showing it in a more practical way. He shows how to take the principle and refactor an API connector class to pass in the object it needs (Bike) and use that to get information (rather than just passing in the data). He uses a <a href="http://en.wikipedia.org/wiki/Factory_pattern">Factory</a> to get the object type he needs based on the Bike type.
</p>]]></description>
      <pubDate>Mon, 07 May 2012 10:45:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell's Blog: Command Invoker Pattern with the Open/Closed Principle]]></title>
      <guid>http://www.phpdeveloper.org/news/17398</guid>
      <link>http://www.phpdeveloper.org/news/17398</link>
      <description><![CDATA[<p>
In a response to a <a href="http://phpdeveloper.org/news/17389">recent post</a> on DZone.com about the "Open/Closed Principle" <i>Josh Adell</i> has <a href="http://blog.everymansoftware.com/2012/01/command-invoker-pattern-with-openclosed.html">posted an example</a> of a " flexible and extendable command invocation solution" implementing this <a href="http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)">SOLID</a> idea.
</p>
<blockquote>
Let's overcome some of these issues [with only being able to extend the invoker class and that the invoker needs to know how to create commands], and also make the code even more extensible. I'll use a simplified command invoker to demonstrate.
</blockquote>
<p>
His code is included - the creation of a "Command" interface and two comments that implement it: "HelloCommand" and "PwdCommand", each with "register" and "execute" methods. His "Invoker" class then only needs to be told how to map these commands and the "register" is called as they're needed. You can find the full example code for this invocation example <a href="http://gist.github.com/1610148">in this gist</a>.
</p>]]></description>
      <pubDate>Mon, 16 Jan 2012 10:04:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Open/Closed Principle on real world code]]></title>
      <guid>http://www.phpdeveloper.org/news/17389</guid>
      <link>http://www.phpdeveloper.org/news/17389</link>
      <description><![CDATA[<p>
In a new post to DZone.com <i>Giorgio Sironi</i> talks about the "open/closed principle" in software development and shows an example based on the design of the <a href="https://github.com/giorgiosironi/phpunit-selenium">PHPUnit_Selenium</a> project.
</p>
<blockquote>
This article shows an example of how the application of the Open/Closed Principle improved the design of a real project, the open source library <a href="https://github.com/giorgiosironi/phpunit-selenium">PHPUnit_Selenium</a>. These design concepts apply to every object-oriented language, including Java, Ruby or even C++. The <a href="http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod">Open Closed Principle</a>, part of SOLID set, states that software should be open for extension and at the same time closed for modification.
</blockquote>
<p>
He starts with a little background on the project, pointing out that there's a Session object it uses for all of its testing with a magic "__call" method that handles any kind of method call to the object. This method has issues (dependencies, strict requirements for use) but can be refactored according to the Open/Closed idea to set up an array of anonymous functions that can be called as a "command". Examples of these types of classes are also included (one for the "click" action on a button and another for getting the current location).
</p>]]></description>
      <pubDate>Fri, 13 Jan 2012 09:05:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Anna Filina's Blog: Public Call for Papers: What Does That Mean?]]></title>
      <guid>http://www.phpdeveloper.org/news/16607</guid>
      <link>http://www.phpdeveloper.org/news/16607</link>
      <description><![CDATA[<p>
<i>Anna Filina</i>, one of the organizers of the <a href="http://confoo.ca">ConFoo Conference</a> in Montreal (February 27th through March 2nd) has a new post to her blog about a new process they're trying out this year for the Call for Papers - a <a href="http://annafilina.com/blog/public-call-for-papers/">public voting feature</a> that allows anyone to voice their opinion on the proposed sessions.
</p>
<blockquote>
Some of you may have already heard that the ConFoo call for papers is already open. The great thing about it this year, is that it's public. This means that anyone can vote on the proposals. Besides being fun for the speakers and attendees, it opens up a whole lot of possibilities.
</blockquote>
<p>
She <a href="http://annafilina.com/blog/public-call-for-papers/">talks about some of the reasons</a> they decided to go this route such as wanting to give the attendees the most "bang for the buck" and the ability for speakers to see what their fellow speakers are proposing and is working. The committee, of course, will have the final say, but the votes will help quite a bit.
</p>
<p>
If you'd like to vote and are even considering making it to this year's event, go over an <a href="http://confoo.ca/en/call-for-papers">sign up to vote</a> on the conference's Call for Papers section.
</p>]]></description>
      <pubDate>Tue, 19 Jul 2011 11:06:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: ZendCon 2011 Registration Opens]]></title>
      <guid>http://www.phpdeveloper.org/news/16510</guid>
      <link>http://www.phpdeveloper.org/news/16510</link>
      <description><![CDATA[<p>
As was <a href="http://twitter.com/#!/zend/status/83651082810691584">mentioned by Zend</a> late yesterday, the registration for this year's <a href="http://zendcon.com">Zend/PHP Conference</a> have <a href="http://www.eventbrite.com/event/1688515395/efblike">officially opened</a>!
</p>
<blockquote>
The 7th Annual Zend PHP Conference (ZendCon) will take place October 17-20, 2011, In Santa Clara, California. ZendCon is the largest gathering of the PHP Community and brings together PHP developers and IT managers from around the world to discuss PHP best practices and explore new technologies.
</blockquote>
<p>
The Early Bird pricing will last until September 10th saving you about $200 USD off the price of the ticket. The full ZendCon experience (Tutorials & Conference) is $1,195 USD or you can opt for just the Tutorial for $445 USD or just the Conference for $945 USD. You're in luck if you're looking for discounts, though - they have lots o them including ones for ZendCon alumni, group discounts, ZCEs and students.
</p>
<p>
The schedule's not quite out yet, but as you can see <a href="http://search.twitter.com/search?max_id=83836693504995328&page=4&q=zendcon">by some of the comments</a> from speakers on Twitter, it's shaping up to be a great schedule. Topics like CouchDb, component architecture, design patterns, Redis and dependency injection will all be there.
</p>]]></description>
      <pubDate>Thu, 23 Jun 2011 10:58:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Freek Lijten's Blog: Currently on PHP's internals...]]></title>
      <guid>http://www.phpdeveloper.org/news/16476</guid>
      <link>http://www.phpdeveloper.org/news/16476</link>
      <description><![CDATA[<p>
<i>Freek Lijten</i> has a recent post looking at some of the <a href="http://www.freeklijten.nl/home/2011/06/10/Currently-on-PHPs-internals...">types of discussions that happen</a> on the php-internals mailing list.
</p>
<blockquote>
The internals list is the place to be to hear about the current state of PHP. It is one of PHP's many mailing lists, but this is the one where (core) developers discuss new features, current bugs and wild ideas. If you want to keep up with things it is a good idea to sign up, it is not an extremely high volume list and if you ignore the noise it is quite informative. In this article I would like to share examples of stuff typically discussed on the list.
</blockquote>
<p>
He mentions feature requests in general and, more specifically things like traits support (multiple inheritance), array dereferencing, callable arrays and the debate over the short array syntax.
</p>]]></description>
      <pubDate>Thu, 16 Jun 2011 08:57:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: ZendCon 2011 Call for Papers Opens!]]></title>
      <guid>http://www.phpdeveloper.org/news/16268</guid>
      <link>http://www.phpdeveloper.org/news/16268</link>
      <description><![CDATA[<p>
As <a href="http://twitter.com/#!/kpschrade/statuses/63705168604172288/">was mentioned</a> by <i>Kevin Schroeder</i>, the Call for Papers for this year's <a href="http://zendcon.com">Zend/PHP Conference</a> has <a href="http://zendcon.com/2011/">officially been announced</a>!
</p>
<blockquote>
We are happy to announce that planning is underway for the 2011 Zend/PHP Conference which will be held in Santa Clara, October 17-20. ZendCon 2011 will be the best conference yet and we would like to invite you to be a part of it! A conference is only as good as its speakers and we are looking for the best speakers to share their knowledge and expertise with the PHP community. Attendees will include developers, architects, development managers, decision makers, core PHP developers and community members.
</blockquote>
<p>
The key themes they're looking for this year are cloud computing, mobile and user experience and enterprise/professional PHP topics. Within those themes there's several other sub-categories including:
</p>
<ul>
<li>Architecture & Best Practices
<li>Zend Framework 1&2
<li>Rich Internet Apps and Mobile/Tablet - Flash /Flex/HTML 5/CSS3/Ajax
<li>Standards Compliance
<li>Real World Case Studies, Designs and Data Models
</ul>
<p>
The Call for Papers will close on May 20th, 2011 and speakers will be given a hotel night for each of their sessions that are accepted. Submit your ideas at <a href="http://zendcon.com/input">www.zendcon.com/input</a> to see if you'll be selected!
</p>
<p>
UPDATE: for a bit more information on the categories, see <a href="http://www.eschrade.com/page/zendcon-2011-call-for-papers-is-out">this new post</a> on <i>Kevin Schroeder</i>'s blog.
</p>]]></description>
      <pubDate>Thu, 28 Apr 2011 15:57:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Short URLs]]></title>
      <guid>http://www.phpdeveloper.org/news/15940</guid>
      <link>http://www.phpdeveloper.org/news/15940</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has shared a method he's created for <a href="http://derickrethans.nl/short-urls.html">making short, descriptive URLs</a> with the help of his <a href="http://derickrethans.nl/projects.html#translit">translit</a> PHP extension that translates non-latin characters into latin ones.
</p>
<blockquote>
The URLs for my articles are automatically generated from the title. There is a little function that uses translit's transliterate() function to ASCII-ify the titles. [...] However, [<a href="http://derickrethans.nl/pfcongrez-p2p-konferenciya-phptek-php-vikinger-dpc-and-ez-conference-and-awards.html">this</a>] is hardly a short URL. What we want is something short and descriptive. First of all, I thought it would work to generate short URLs automatically.
</blockquote>
<p>
In hindsight, though, he decided it would just be better to come up with his own short URLs but he still wanted a way to use them. Registering a <a href="http://drck.me/">short domain</a> helped and, along with some &lt;link> tags, made it easier for the right information to be automatically found.
</p>]]></description>
      <pubDate>Tue, 22 Feb 2011 09:44:13 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts - Using Jquery with Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/13638</guid>
      <link>http://www.phpdeveloper.org/news/13638</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has another <a href="http://www.phpjack.com/content/solar-framework-shorts-using-jquery-solar">Solar Framework Short</a> posted today looking at how to integrate the jQuery Javascript library directly into your Solar application.
</p>
<blockquote>
When it comes to Jquery integration you have 2 main uses. Calling a php function from a website or calling Jquery functions from php both are done through an XMLHttpRequest.
</blockquote>
<p>
By extending a jQuery-related controller, you gain some special automatic abilities like automatic json-ification of output data and being able to push out transformations directly back to the browser from a standard javascript call. Check out <a href="http://www.phpjack.com/content/solar-framework-shorts-using-jquery-solar">the post</a> for the complete source code</a> for his example.
</p>]]></description>
      <pubDate>Tue, 08 Dec 2009 09:45:02 -0600</pubDate>
    </item>
  </channel>
</rss>

