<?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>Sun, 12 Feb 2012 21:35:43 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[CodeIgniter.com: PHP Framework Usage Survey]]></title>
      <guid>http://www.phpdeveloper.org/news/17245</guid>
      <link>http://www.phpdeveloper.org/news/17245</link>
      <description><![CDATA[<p>
As is mentioned on CodeIgniter.com, they've <a href="http://codeigniter.com/news/php_framework_usage_survey#When:21:02:18Z">set up</a> a survey to find out more information about how PHP <a href="https://www.surveymonkey.com/s/5H6C7Y7">are using frameworks</a>.
</p>
<blockquote>
The anonymous survey is very brief - just seven questions - and should take no more than five minutes or so to complete.  The survey is open immediately and will remain open over the weekend.
</blockquote>
<p>The seven questions on the survey include questions about framework usage, sets of how you feel about different framework-related topics, what editor you usually use (and for how long), how you usually interact with Git/Github. Go and <a href="https://www.surveymonkey.com/s/5H6C7Y7">voice your opinion now</a>!
</p>]]></description>
      <pubDate>Mon, 12 Dec 2011 12:34:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[S&eacute;bastien Thomas' Blog: Monitoring PHP APC cache usage]]></title>
      <guid>http://www.phpdeveloper.org/news/16954</guid>
      <link>http://www.phpdeveloper.org/news/16954</link>
      <description><![CDATA[<p>
<i>S&eacute;bastien Thomas</i> has a recent post to his blog shows how (with just a bit of code) you can <a href="http://www.lecentre.net/blog/archives/1311">monitor your APC cache usage</a> on your local host.
</p>
<blockquote>
I won't go deep into how OpCode caches work, you will find a lot of docs, just google for APC, Xcache, eAccelerator... What I can say is that APC (as other caches do) will save binary parts of your PHP code into memory and use it when you call for the same PHP function again. This way you save all the PHP file opening, parsing, etc. [...] One thing you won't come accross often on internet is How (the hell) do I know if APC is performing well ?
</blockquote>
<p>
His answer comes in the form of code based on the <a href="https://github.com/wwalter/apc-php-monitor">APC-PHP-Monitor script</a>. He changed it slightly to allow for use in other places, like with Nagios monitoring. A Nagois template is included to query the cache and report back a hit ratio. An example of the full cache results can be <a href="http://www.lecentre.net/blog/wp-content/uploads/2011/10/APC-INFO-qxat3p01-10.100.34.39-Mozilla-Firefox_2011-10-03_14-48-04.jpg">seen here</a> complete with general cache info, hits, misses and file versus user caching stats.
</p>]]></description>
      <pubDate>Wed, 05 Oct 2011 13:11:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Farina's Blog: SplFixedArray, An Underutilized PHP Gem]]></title>
      <guid>http://www.phpdeveloper.org/news/16838</guid>
      <link>http://www.phpdeveloper.org/news/16838</link>
      <description><![CDATA[<p>
<i>Matt Farina</i> has a new post today looking at an "underutilized gem" he's found in the offerings of the Standard PHP Library (SPL) - the <a href="http://engineeredweb.com/blog/11/9/splfixedarray-underutilized-php-gem">SplFixedArray</a>.
</p>
<blockquote>
Arrays in PHP are not arrays per the typical <a href="http://en.wikipedia.org/wiki/Array_data_type">array data type</a>. Instead, as Matt Butcher recently pointed out <a href="http://technosophos.com/content/php-arrays-are-not-arrays">arrays in PHP are similar to hashes in other languages</a>. This can be a very important point to know when tracking down bugs in code and to programmers coming to PHP from other languages. But, what if we wanted something like a traditional array data type? Maybe something that preserved numeric order. Enter <A href="http://engineeredweb.com/blog/11/9/splfixedarray">SplFixedArray</a>.
</blockquote>
<p>
He gives an example of using the SplFixedArray object versus the normal array variables in a simple PHP snippet showing the preservation of numbering order. He also touches on the memory consumption difference between the two, with the fixed array coming in quite a bit lower than the normal array data type (around 25% based on his basic testing). There are some catches to using it, though including incompatibility with array methods and the fact that it doesn't implement things like Iterator or Countable interfaces.
</p>]]></description>
      <pubDate>Fri, 09 Sep 2011 10:43:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Artur Graniszewski's Blog: Drupal 7: HipHop for PHP vs APC - benchmark]]></title>
      <guid>http://www.phpdeveloper.org/news/16362</guid>
      <link>http://www.phpdeveloper.org/news/16362</link>
      <description><![CDATA[<p>
<i>Artur Graniszewski</i> has written up a comparison of the performance of a standard Durpal 7 installation using <a href="http://php.webtutor.pl/en/2011/05/17/drupal-hiphop-for-php-vs-apc-benchmark/">HipHop versus APC</a> to handle the optimization of the application.
</p>
<blockquote>
There have been many suggestions on improving Drupal performance, some of them recommend the use of APC module, data caching, or even compilation of the entire system through HipHop for PHP. While the first two solutions have been successfully implemented, no one was able to perform the build process. After many battles with the the compiler and the Drupal code, I present you results of the first successful translation of Drupal 7 to C++ language
</blockquote>
<p>
He introduces the methods he used and the statistics of the platform (hardware) he tested with. He also includes the software used and compile commands used to create the compiled Drupal version. Included in the post are graphs showing CPU usage comparing the two types of testing (HipHop and APC) versus a normal PHP-based installation. It also briefly touches on concurrency levels and the different optimizations that could be made with the gcc compiler.
</p>]]></description>
      <pubDate>Thu, 19 May 2011 11:01:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Malicious website use will never go away: how do you manage it?]]></title>
      <guid>http://www.phpdeveloper.org/news/16265</guid>
      <link>http://www.phpdeveloper.org/news/16265</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post to his OTN blog today <a href="http://blogs.oracle.com/opal/2011/04/malicious_website_use_will_nev.html">pointing to two new articles</a> by <i>Eli White</i> about managing malicious website use:
</p>
<blockquote>
The techniques Eli covers will always be applicable in one form or another. They should be a fundamental part of any website architect's bag of tricks.
</blockquote>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/combating-spam-360061.html">first article</a> focuses more on methods for preventing and dealing with the inevitable spamming that comes with running a larger site. <i>Eli</i>'s experience at <a href="http://digg.com">Digg</a> has provided him with recommendations like creating hurdles for spammers to get past and evaluating the content (services like Defensio or Akismet are useful for this).
</p>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/preventing-website-manipulation-366493.html">second article</a> talks about something a bit harder to deal with - when users "game the system" and find the loopholes. His recommendations to combat this sort of abuse include rate limiting, pattern matching and leaving "traps" by tracking user usage.
</p>]]></description>
      <pubDate>Thu, 28 Apr 2011 11:06:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Why do you use PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/16164</guid>
      <link>http://www.phpdeveloper.org/news/16164</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Kevin Schroeder</i> <a href="http://www.eschrade.com/page/why-do-you-use-php">asks a simple question</a> - why do you use PHP?
</p>
<blockquote>
In one or two words, please comment to answer this question. Why do you use PHP?
</blockquote>
<p>
So far, answers have included "the large community", "ease of development", "portability", "versatility" and the "power" the language offers. Leave your own comment <a href="http://www.eschrade.com/page/why-do-you-use-php/">on the post</a> to share your thoughts with <i>Kevin</i> and others in the community.
</p>]]></description>
      <pubDate>Fri, 08 Apr 2011 08:48:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: PHP library release survey]]></title>
      <guid>http://www.phpdeveloper.org/news/15528</guid>
      <link>http://www.phpdeveloper.org/news/15528</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has <a href="http://schlitt.info/opensource/blog/0738_php_library_release_survey.html">a new post to his blog</a> about a survey the <a href="http://incubator.apache.org/zetacomponents/">Apache Zeta Components</a> project is running about how developers would like to receive the libraries they use in their code.
</p>
<blockquote>
The <a href="http://incubator.apache.org/zetacomponents/">Apache Zeta Components</a> project is currently discussing how to adjust the old eZ Components release process to the ASF guidelines. During this discussions, quite some ideas came up on how the process could be optimized. This brought my interest to how users of PHP libraries would actually like to obtain library code for their projects. I will publish the raw results of the survey later, so all of the PHP libraries and frameworks can benefit. So please take some minutes and fill out the form! 
</blockquote>
<p>
The survey itself is embedded in <a href="http://schlitt.info/opensource/blog/0738_php_library_release_survey.html">his blog post</a>, so you can fill it out right there on the same page. It asks questions about currently used libraries, preferred install methods and deployment methods. If you'd like a more direct link, you can <a href="http://bit.ly/phplibrelsur">go here</a>.
</p>]]></description>
      <pubDate>Thu, 02 Dec 2010 11:50:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[W3Techs.com: Highlights of web technology surveys, Nov. 2010: 3/4 of all websites are based on PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15375</guid>
      <link>http://www.phpdeveloper.org/news/15375</link>
      <description><![CDATA[<p>
According to a new article on the W3Tech.com site today, around <a href="http://w3techs.com/blog/entry/highlights_of_web_technology_surveys_november_2010">three quarters of all websites are based on PHP</a>. They've <a href="http://w3techs.com/technologies/overview/programming_language/all">run their own survey</a> to gather the results about the use of several different languages like ASP.NET, Java, Ruby and, of course, PHP.
</p>
<blockquote>
Our <A href="http://w3techs.com/technologies/overview/programming_language/all">server-side programming language survey</a> shows that a very remarkable 74.9% of websites use PHP, <A href="http://w3techs.com/technologies/history_overview/programming_language">slightly increasing</a> in the last year. ASP.NET technologies (presumably mostly C#) come in second, and a few percentages are left for Java. That's about it. The variety of programming languages used to develop websites is surprisingly small, considering that everyone and his dog develops websites these days. There is a lot of talk in the IT blogoshere about alternative languages such as Ruby and Python, but their real world usage is tiny compared to PHP.
</blockquote>
<p>
They talk about some of the contributing factors to these numbers including the wide use of various PHP-based content management systems, the balance of high traffic versus low traffic sites and some breakdowns according to operating system, geographical area and a hint at how their survey operates to find the systems using PHP.
</p>]]></description>
      <pubDate>Wed, 03 Nov 2010 10:19:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Reinheimer's Blog: Open the field to find the paths]]></title>
      <guid>http://www.phpdeveloper.org/news/15312</guid>
      <link>http://www.phpdeveloper.org/news/15312</link>
      <description><![CDATA[<p>
<i>Paul Reinheimer</i> has <a href="http://blog.preinheimer.com/index.php?/archives/360-Open-the-field-to-find-the-paths.html">posted something to think about</a> for both developers and those planning out projects and features - the paths the users will take through the application, not just the features they'll have available.
</p>
<blockquote>
<p>
There's a popular turn of phrase "pave the cow paths", which was introduced to me by my friend Chris Shiflett in one of his talks. The essence (as I understand it) of paving the cow paths is that it's easier to positively encourage users to act they way they already want to, than to have them change their behaviour.
</p>
<p>
[...] You can't hope to guess all the ways users will want to interact with your products. [...] You can however release your core feature with some flexibility and mind, then watch. 
</p>
</blockquote>
<p>
He suggests four ways that you can try to figure out these paths in your applications: by logging routes not just hits, give them somewhere to talk about their experiences with the app, open it up to outside interface (like APIs) and try to open it up for multiple kinds of use, not just what trends in statistical results.
</p>]]></description>
      <pubDate>Thu, 21 Oct 2010 08:15:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Collecting Garbage: Performance Considerations]]></title>
      <guid>http://www.phpdeveloper.org/news/15117</guid>
      <link>http://www.phpdeveloper.org/news/15117</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has posted <a href="http://derickrethans.nl/collecting-garbage-performance-considerations.html">the third part</a> of his series looking at the garbage collection handling in PHP (the first two parts are here: <a href="http://phpdeveloper.org/news/15049">one</a>, <a href="http://phpdeveloper.org/news/15086">two</a>). In this last part of the series, he'll look at some of the possible performance impacts the garbage collection functionality can have in your applications.
</p>
<blockquote>
In the previous two parts of this column we have explored PHP's take on circular referenced variables and a mechanism that allows to clean up this particular problem with reference counted variable tracking. Of course, the implementation of the garbage collection mechanism in PHP 5.3 has some performance impacts. In this third and last part of the column I will cover the performance implications of the addition of this garbage collection mechanism.
</blockquote>
<p>
He looks at the two possible places that the collection could have an impact - memory usage and run-time delays when the garbage collection routine is fired off and does its job. As before, each of the topics is accompanied by bits of code and a few graphs showing the differences between handling in PHP 5.2 and PHP 5.3 as well as a handy way to get a bit more information out of PHP (using the GC_BENCH CFLAG when compiling).
,/p>]]></description>
      <pubDate>Mon, 13 Sep 2010 11:22:42 -0500</pubDate>
    </item>
  </channel>
</rss>

