<?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>Fri, 24 May 2013 05:57:12 -0500</pubDate>
    <ttl>30</ttl>
    <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[Chris Hartjes' Blog: DIC vs. Service Locator]]></title>
      <guid>http://www.phpdeveloper.org/news/18058</guid>
      <link>http://www.phpdeveloper.org/news/18058</link>
      <description><![CDATA[<p>
In a new post to his blog, <i>Chris Hartjes</i> <a href="http://www.littlehart.net/atthekeyboard/2012/06/06/dic-vs-service-locator/">shares one thing</a> that you can use to make your code easier to test - using a dependency injection container and how it compares to a service locator.
</p>
<blockquote>
People often ask me what's the one thing they could do for their code base RIGHT NOW that will make it easier to test. To me, the answer is simple: make sure you are using Dependency Injection (yes the link is long and has code samples in Java, but whatever). Without the ability to "inject" your dependencies into your code (whether it is class methods or functions) you will have problems testing modules of code in isolation from each other.
</blockquote>
<p>
He shows the possible uses of DICs, including code samples, and talks the differences between the two. He explains that the real difference in them is how its being used. When it's used to add and remove instances, it's a container. When its actually put to use and passed into a class, it morphs into a service locator.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2012 10:09:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Accessing the Magento V2 API]]></title>
      <guid>http://www.phpdeveloper.org/news/14697</guid>
      <link>http://www.phpdeveloper.org/news/14697</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2010/Accessing-the-Magento-V2-API">a new post</a> to her blog today looking at one of the differences she's found in her work with the <a href="http://www.magentocommerce.com/">Magento</a> API between version 1 and version 2.
</p>
<blockquote>
I must say that I am always pleased when I see that these products do include some kind of API. The Magento one is a bit interesting, although there is some <a href="http://www.magentocommerce.com/wiki/doc/webservices-api/introduction">half-decent API documentation</a> for the original API. However they have then released a new version of the API, with very little documentation.
</blockquote>
<p>
Her example code shows the difference in a call to grab a customer list from the SOAP interface - the version 1 method used a "customer.list" request while the version 2 method just made use of a normal SOAP method call to the "customerCustomerList" method on the service.
</p>]]></description>
      <pubDate>Thu, 24 Jun 2010 11:44:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alan Sorkin's Blog: The Difference Between A Developer, A Programmer And A Computer Scientist]]></title>
      <guid>http://www.phpdeveloper.org/news/14188</guid>
      <link>http://www.phpdeveloper.org/news/14188</link>
      <description><![CDATA[<p>
On his blog today <i>Alan Sorkin</i> has a humorous take on what the difference is between <a href="http://www.skorks.com/2010/03/the-difference-between-a-developer-a-programmer-and-a-computer-scientist/">computer scientists, programmers and developers</a> according to where they place their focus.
</p>
<blockquote>
I have often used those three terms almost interchangeably, yes, even computer scientist. After all, most of us have a degree in computer science, so what does that make us? However, recently I find that those three things have come to take on more and more distinct personalities in my mind. [...] It is difficult to define what each one should be, (it is more of a gut feel rather than a strict delineation) they are very similar (and rightly so), but I am going to attempt to do it anyway.
</blockquote>
<p>
He splits them up according to a few criteria - how their code looks, how it works and what level their math skills are at. The photos he uses to further define each are pretty dead on too.
</p>]]></description>
      <pubDate>Tue, 16 Mar 2010 08:08:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Doug Brown's Blog: Difference between ASP and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11680</guid>
      <link>http://www.phpdeveloper.org/news/11680</link>
      <description><![CDATA[<p>
In <a href="http://www.brownphp.com/2009/01/difference-between-asp-and-php/">this recent post</a> to his blog <i>Doug Brown</i> spends a little time comparing (at a high-level) some of the differences between ASP and PHP.
</p>
<blockquote>
The difference between PHP and ASP is that ASP is a Microsoft product based on visual basic syntax whereas PHP has C and Java based syntax. ASP works better on Microsoft servers.
</blockquote>
<p>
He describes the target audience for each language and talks about the environments that they work best in as well as some general statements about their speed and flexibility. Basing his judgment on the facts he noted, he suggests PHP as the best alternative of the two for being more flexible, running in more places and being a bit faster overall.
</p>]]></description>
      <pubDate>Tue, 06 Jan 2009 09:31:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Adam Hosker's Blog: Differences Between PHP 4 and 5]]></title>
      <guid>http://www.phpdeveloper.org/news/11564</guid>
      <link>http://www.phpdeveloper.org/news/11564</link>
      <description><![CDATA[<p>
<i>Adam Hosker</i> has posted <a href="http://zend.is-hacked.com/2008/differences-between-php-4-and-5/">some of the differences</a> between PHP4 and PHP5 to help you make the transition.
</p>
<p>
He's broken it up into a few different sections:
</p>
<ul>
<li>Language Features
<li>Objects
<li>Magic Methods
<li>Selected New Extensions
<li>Error Management
</ul>
<p>
Each of the sections has several subpoints detailing changes, updates and tips. The post is a part of his studies working up to talking the Zend Certified Engineer test.
</p>]]></description>
      <pubDate>Fri, 12 Dec 2008 13:42:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Why Should I Care What Server My Application is Running On?]]></title>
      <guid>http://www.phpdeveloper.org/news/10609</guid>
      <link>http://www.phpdeveloper.org/news/10609</link>
      <description><![CDATA[<p>
On the Zend Developer Zone there's a <a href="http://devzone.zend.com/article/3692-Why-Should-I-Care-What-Server-My-Application-is-Running-On">new article</a> that looks to answer the question in its title - "Why should I care what server my application is running on?" (by <i>Eddo Rotman</i>)
</p>
<blockquote>
Imagine this - you develop an application on your machine and then, when you come to deploy it to the production server, all of a sudden, you encounter various errors and failures. Or maybe, when you decide to switch your hosting provider, your application stops behaving the way it should. How about this -... one day, out of the blue (well, out of your IT manager's whim) your application just misbehaves. Sounds familiar?
</blockquote>
<p>
Times like can never be completely avoided (yes, there'll always be bugs) but you can take some steps to help prevent most of the major failing points. He points out some of the key configuration directives to watch out for, differences in some functions' responses based on the OS, and the differences in character sets between a unix-based and Windows based environment (like rn versus just n).
</p>]]></description>
      <pubDate>Tue, 15 Jul 2008 13:12:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Kunz's Blog: PHPShield revisited]]></title>
      <guid>http://www.phpdeveloper.org/news/10242</guid>
      <link>http://www.phpdeveloper.org/news/10242</link>
      <description><![CDATA[<p>
<i>Christopher Kunz</i> has gone back and <a href="http://www.christopher-kunz.de/archives/169-PHPShield-revisited.html">revisited</a> the PHPShield product that he'd looked at <a href="http://www.phpdeveloper.org/news/10025">previously</a> with data obscured to make potential customer think that it had nothing to do with either SourceGuardian or Inovica.
</p>
<p>Checking up on it again, he was happily surprised with some of the results:</p>
<blockquote>
I asked him again today via private mail and his response was swift. The whois entries for phpshield.com now point to his person and we can expect additional information on the web site itself soon. I like it when things can be resolved like that and I actually think this is a chance for his product rather than a possible competition issue.
</blockquote>
<p>
This helps to more clearly define the difference between the PHPShield and SourceGuarian products. You can find out more information about each product from their sites - <a href="http://phpshield.com/">PHPShield</a> and <a href="http://www.sourceguardian.com/">SourceGuarian</a>. Both are encoding packages to help protect and distribute your code.
</p>]]></description>
      <pubDate>Thu, 22 May 2008 08:48:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Calculating date difference more precisely in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9774</guid>
      <link>http://www.phpdeveloper.org/news/9774</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has posted <a href="http://www.developertutorials.com/blog/php/calculating-date-difference-more-precisely-in-php-71/">his own response</a> to a recent "relative time" article (showing users things like "received 2 days and 3 hours ago") with a more precise method for doing something similar:
</p>
<blockquote>
This function is production ready and you can use it in any of your application which mainly works with these date difference. I have found it somewhere in web, just forgot the source. Thanks to the unknown author of this excellent function.
</blockquote>
<p>
The rest of <a href="http://www.developertutorials.com/blog/php/calculating-date-difference-more-precisely-in-php-71/">the post</a> is the function itself that takes in the interval string (formatting), the start date, end date and whether to use timestamps or not.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 08:40:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reinhold Weber's Blog: From PHP to Ruby - 30 similarities and differences]]></title>
      <guid>http://www.phpdeveloper.org/news/9331</guid>
      <link>http://www.phpdeveloper.org/news/9331</link>
      <description><![CDATA[<p>
<i>Reinhold Weber</i> has <a href="http://reinholdweber.com/?p=7">posted his lists</a> of some of the similarities and differences between Ruby and PHP:
</p>
<blockquote>
If you are a PHP developer chances are you have heard some of the buzz on Ruby on Rails, an open source web framework for rapid application development. [...] These are similarities and differences of Ruby compared to PHP. If you know PHP, this should give you a good and quick insight in what Ruby is all about and how it compares to PHP.
</blockquote>
<p>
Some of the similarities include the dynamic typing, class scoping, heredoc abilities and current object references. Differences include syntax differences, method calling, naming conditions and Ruby's lack of interface/abstract classes.
</p>]]></description>
      <pubDate>Mon, 31 Dec 2007 13:43:00 -0600</pubDate>
    </item>
  </channel>
</rss>
