<?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 00:02:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Simon Holywell: Improve PHP session cookie security]]></title>
      <guid>http://www.phpdeveloper.org/news/19584</guid>
      <link>http://www.phpdeveloper.org/news/19584</link>
      <description><![CDATA[<p>
<i>Simon Holywell</i> has a new post talking about <a href="http://simonholywell.com/post/2013/05/improve-php-session-cookie-security.html">cookie security in PHP</a>, focusing on some of the PHP configuration settings that can help.
</p>
<blockquote>
The security of session handling in PHP can easily be enhanced through the use of a few configuration settings and the addition of an SSL certificate. Whilst this topic has been covered numerous times before it still bears mentioning with a large number of PHP sites and servers having not implemented these features.
</blockquote>
<p>
He talks about the <a href="https://www.owasp.org/index.php/HttpOnly">httponly</a> flag when setting the cookie/in the configuration, the "use only cookies" for sessions and forcing them to be "secure only".
</p>
Link: http://simonholywell.com/post/2013/05/improve-php-session-cookie-security.html]]></description>
      <pubDate>Tue, 14 May 2013 14:55:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: Making Conferences Better]]></title>
      <guid>http://www.phpdeveloper.org/news/19251</guid>
      <link>http://www.phpdeveloper.org/news/19251</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has posted some <a href="http://www.brandonsavage.net/making-conferences-better">ideas about making conferences better</a> and how they can appeal to a wider (and maybe more inexperienced) level of developer.
</p>
<blockquote>
<a href="http://www.brandonsavage.net/the-reasons-to-attend-php-conferences/">I love PHP conferences</a>. I attended a lot of PHP conferences when I was a brand new developer. Zendcon, OSCON, php[tek], Wordcamp Baltimore, DC PHP and others were my stomping grounds. I learned a lot, and the conferences I attended were on the whole useful, beneficial and wonderful experiences. But I also felt challenged by the fact that conferences don't offer much for bringing up new developers with concrete information and training. This isn't necessarily the fault of conferences: it's impossible to truly impart a useful skill into a developer with only a 45 minute talk.
</blockquote>
<p>He includes four ideas in the post and talks some about the role of training at the events:</p>
<ul>
<li>Are conferences even the right place for training?
<li>Creating Different Tracks of Different Lengths
<li>Including Hands-On Training During Tutorial Days
<li>Offer Learning-Focused Hackathons
</ul>
<p>
He also notes that some of it is up to the developers to find a good fit for what they need and the skills they're looking to learn. There's other options out there besides just the usual conferences, too and, as <i>Brandon</i> states, "investing in your career is the most valuable thing you can do for yourself."
</p>]]></description>
      <pubDate>Thu, 28 Feb 2013 11:19:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jacob Mather: How to act like you (maybe actually) care about your work]]></title>
      <guid>http://www.phpdeveloper.org/news/18577</guid>
      <link>http://www.phpdeveloper.org/news/18577</link>
      <description><![CDATA[<p>
<i>Jacob Mather</i> has written up <a href="http://itsmajax.com/2012/10/05/how-to-act-like-you-maybe-actually-care-about-your-work/">a (somewhat lengthy) post</a> about things for developers to consider when wanting to improve at their jobs.
</p>
<blockquote>
At Symfony Live San Francisco 2012, I gave a little talk. No, really. A little talk. Seven minutes. I'm not even sure I used all of it. That's not a lot of time, but I think I managed to at least provoke some thinking. At least I hope I did. Hmm. How do you act like you care about your work, as a developer?
</blockquote>
<p>
He has the post broken up into several different categories including being involved in the community, continuing your education constantly, working with automation to make your day-to-day easier and what your real job is (hint, it has more to do with problems and less with code). He also includes a section with suggestions about dealing with coworkers of all different types - everything from management to designers.
</p>]]></description>
      <pubDate>Tue, 09 Oct 2012 12:49:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: Form Goodness in Symfony 2.1]]></title>
      <guid>http://www.phpdeveloper.org/news/18291</guid>
      <link>http://www.phpdeveloper.org/news/18291</link>
      <description><![CDATA[<p>
On the Symfony blog there's a new post from <i>Bernhard Schussek</i> about some of the changes that have <a href="http://symfony.com/blog/form-goodness-in-symfony-2-1">happened in the Forms component</a> of the Symfony 2 framework (in version 2.1).
</p>
<blockquote>
Those of you who already upgraded to Symfony 2.1 Beta probably noticed that the new version comes with many backwards compatibility breaks in the Form component. Many of you probably ask yourselves: Why? The simple answer is that the Form component is one of the most complex components in Symfony at all. 
</blockquote>
<p>
They list out some of the improvements (plus code showing then at work) for changes like:
</p>
<ul>
<li>No more bindRequest()
<li>Custom field constraints
<li>Error mapping fu
<li>Collection improvements
</ul>]]></description>
      <pubDate>Mon, 30 Jul 2012 13:41:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Proof that PHP 5.4 is Twice as Fast as PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/18092</guid>
      <link>http://www.phpdeveloper.org/news/18092</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2012/proof-that-php-5-4-is-twice-as-fast-as-php-5-3">this quick post</a> to her blog, <i>Lorna Mitchell</i> shares an interesting bit of benchmarking she did between PHP versions 5.3 and 5.4, finding 5.4 twice as fast as it's previous version sibling.
</p>
<blockquote>
So recently I was working on some benchmarks for different versions of PHP, because I heard that PHP 5.4 is "faster" and since I'm a data geek I want to know how much faster! Now, PHP 5.4 is, in general, faster than PHP 5.3 but not twice as fast* unless you pick a use case which has been particularly optimised. My first attempt at benchmarking the two versions <a href="http://www.lornajane.net/wp-content/uploads/2012/06/graphshot.png">produced this</a>. This was a surprise to me; was PHP 5.4 really so much faster??
</blockquote>
<p>
Her benchmark was a pretty simple one - looping and creating a new object, evaluating the <a href="http://php.net/microtime">timing</a> of how long it took to execute. A commentor also points to some <a href="http://news.php.net/php.internals/57760">more official benchmarks</a> that were done and posted to the php.internals mailing list.
</p>]]></description>
      <pubDate>Thu, 14 Jun 2012 10:04:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Touchdown Services Blog: Phing development update 01/04/2012]]></title>
      <guid>http://www.phpdeveloper.org/news/17766</guid>
      <link>http://www.phpdeveloper.org/news/17766</link>
      <description><![CDATA[<p>
On the Touchdown Consulting Services blog, there's <a href="http://www.touchdownconsulting.nl/2012/04/phing-development-update-01042012/">a new update posted about Phing</a>, the popular PHP-based <a href="http://phing.info">build tool</a> and some recent advancements the project has made.
</p>
<blockquote>
<a href="http://www.touchdownconsulting.nl/2012/03/phing-development-update/">Roughly a month ago I posted</a> the first in, what should become, a series of development updates concerning <a href="http://www.phing.info/">Phing</a>. This second blog post details the most important updates during the past four weeks as Phing is moving steadily towards another release (2.4.10 is due out next week).
</blockquote>
<p>Updates mentioned in this post are:</p>
<ul>
<li>User Guide starts move to DocBook format
<li>Liquibase docs
<li>PhpDocumentor
<li>PHP 5.4 compatibility
<li>PHAR package
<li>Various (bug)fixes, the 2.4.10 release (listed)
</ul>
<p>
Check out the <a href="http://www.touchdownconsulting.nl/2012/04/phing-development-update-01042012/">full post</a> for more details on each of these topics.
</p>]]></description>
      <pubDate>Tue, 03 Apr 2012 08:43:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Slawek Lukasiewicz's Blog: New Features in PHP 5.4 - JSON Extension & header_register_callback]]></title>
      <guid>http://www.phpdeveloper.org/news/17624</guid>
      <link>http://www.phpdeveloper.org/news/17624</link>
      <description><![CDATA[<p>
In the first two posts of his "features new to PHP 5.4" series <i>Slawek Lukasiewicz</i> has posted about two things that weren't mentioned very often in most of the 5.4 hit lists - improvements to the JSON extension and the header_register_callback method.
</p>
<p>About the <a href="http://www.leftjoin.net/2012/03/php-5-4-json-extension-improvements/">JSON extension improvements</a>:
</p>
<blockquote>
By default, when we pass object to json_encode function, it will return JSON representation of object public properties. [...] PHP 5.4 introduces JsonSerializable interface with JsonSerialize abstract method. After implementing this method we can independently set values used in JSON representation.
</blockquote>
<p>Related to the <a href="http://www.leftjoin.net/2012/03/php-5-4-header_register_callback/">header_register_callback addition</a>
</p>
<blockquote>
After looking at new functions introduced in PHP 5.4 we can found one called <a href="http://www.php.net/manual/en/function.header-register-callback.php">header_register_callback</a>. Using it, we can register callback which will be called before sending output.
</blockquote>
<p>
The stable version of PHP 5.4 has officially been released, so <a href="http://php.net/downloads">get out there and grab it</a> and start using these new features now!
</p>]]></description>
      <pubDate>Mon, 05 Mar 2012 10:16:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Nikita Popov's Blog: htmlspecialchars() improvements in PHP 5.4]]></title>
      <guid>http://www.phpdeveloper.org/news/17462</guid>
      <link>http://www.phpdeveloper.org/news/17462</link>
      <description><![CDATA[<p>
In <a href="http://nikic.github.com/2012/01/28/htmlspecialchars-improvements-in-PHP-5-4">this new post</a> to his blog <i>Nikita Popov</i> looks at an update that might have gotten lost in the shuffle of new features coming in PHP 5.4 - some updates to <a href="http://php.net/htmlspecialchars">htmlspecialchars</a>.
</p>
<blockquote>
One set of changes that I think is particularly important was largely overlooked: For PHP 5.4 cataphract (Artefacto on StackOverflow) heroically rewrote large parts of htmlspecialchars thus fixing various quirks and adding some really nice new features. Here a quick summary of the most important changes: UTF-8 as the default charset, improved error handling (ENT_SUBSTITUTE) and Doctype handling (ENT_HTML401,...).
</blockquote>
<p>
He goes into each of these three main features in a bit more detail, providing code to illustrate the improved error handling and the new flags for Doctype handling (covering HTML 4.01, HTML 5, XML 1 and XHTML).
</p>]]></description>
      <pubDate>Mon, 30 Jan 2012 09:55:24 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[KingFoo Blog: PHP 5.4 - What's new?]]></title>
      <guid>http://www.phpdeveloper.org/news/17437</guid>
      <link>http://www.phpdeveloper.org/news/17437</link>
      <description><![CDATA[<p>
On the KingFoo blog today there's an excellent look at everything new <a href="http://www.king-foo.be/2012/01/php-5-4-whats-new/">coming up in PHP 5.4</a>, the next version of PHP set to be released in early February.
</p>
<blockquote>
PHP 5.4 will be stable soon.
In this post I'll try to give you an overview and examples of the new PHP 5.4 features. If you want to try out PHP 5.4 (which is currently in RC3), it has to be installed first. I suggest that you try this out on a virtual machine so you don't break your current PHP version.
</blockquote>
<p>Improvements on the list include:</p>
<ul>
<li>Improved Session Extension
<li>Built-in webserver
<li>Traits
<li>Array dereferencing
<li>Method calls through arrays
<li>Binary notation for integers
<li>Instantiate a class without running constructor
<li>Improved JSON extension
<li>Improved CURL extension
</ul>
<p>
And this is just a start - they detail each of the improvements and provide code where needed to illustrate the update. They also link over to the PHP.net manual (or PHP bug tracker) for more information on the new feature/change.
</p>]]></description>
      <pubDate>Tue, 24 Jan 2012 08:50:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: Why is PHP 5.3 on Windows faster than previous PHP versions?]]></title>
      <guid>http://www.phpdeveloper.org/news/16987</guid>
      <link>http://www.phpdeveloper.org/news/16987</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Brian Swan</i> explains why the latest versions of PHP (the 5.3.x series) are <a href="http://blogs.msdn.com/b/brian_swan/archive/2011/10/12/why-is-php-5-3-on-windows-faster-than-previous-php-versions.aspx">faster now on Windows</a> than some previous versions have been. (Hint: updated technology can work wonders sometimes)
</p>
<blockquote>
[Rasmus Lerdorf recently said at a <a href="http://www.meetup.com/php-49/">Seattle meetup</a>] "If you aren't running PHP 5.3 on Windows, you're lucky…because you have a 40% performance boost coming." He clarified this by saying that, with some help from Microsoft, improvements were made in PHP 5.3 that led to a 40% performance improvement of PHP on Windows. Because he didn't go into the details of why this performance boost was realized, I got questions in email the next day asking about why.
</blockquote>
<p>
The information in a <a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-33-78-metablogapi/8802.image_5F00_511FB339.png">borrowed slide</a> (from a presentation by <a href="http://twitter.com/#!/pierrejoye">Pierre Joye</a>) shows what the differences between the versions are - things like the use of a more modern compiler (VC9 vs VC6), calls to the Win32 API directly and better library management.
</p>]]></description>
      <pubDate>Thu, 13 Oct 2011 08:42:12 -0500</pubDate>
    </item>
  </channel>
</rss>
