<?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 15:46:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Henrik Bj&oslash;rnskov's Blog: Travis & Composer sitting in a tree K-I-S-S-I-N-G]]></title>
      <guid>http://www.phpdeveloper.org/news/17148</guid>
      <link>http://www.phpdeveloper.org/news/17148</link>
      <description><![CDATA[<p>
<i>Henrik Bj&oslash;rnskov</i> has a quick new post today showing how to combine two powerful technologies into a simple, configurable autoload system in a Symfony <a href="http://travis-ci.org/">Travis-CI</a> build with <a href="https://github.com/composer/composer">Composer</a>.
</p>
<blockquote>
To integrate your project with travis the only thing necesarry is to have a .travis.yml file and a working PHPUnit test setup like http://github.com/simplethings/SimpleThingsFormExtraBundle. Where the Tests/vendors.php script is executed before the tests are perfomed. But it would be way cooler to just have Composer handle the autoloading and dependencies. 
</blockquote>
<p>
A sample .travis.yml file is included in the post (<a href="https://gist.github.com/1366962">also here</a>) as well as instructions for grabbing dependencies and including the autoload process in your application's bootstrap.
</p>]]></description>
      <pubDate>Fri, 18 Nov 2011 11:03:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Creating Your Own Commenting System from Scratch]]></title>
      <guid>http://www.phpdeveloper.org/news/17000</guid>
      <link>http://www.phpdeveloper.org/news/17000</link>
      <description><![CDATA[<p>
Script-Tutorials.com has a new article posted today showing you how to combine PHP, some CSS, a dash of SQL and some HTML (oh, and jQuery) to create <a href="http://www.script-tutorials.com/how-to-create-own-commenting-system/">your own commenting system</a> from scratch that could be used anywhere from a simple blog to a more complex social site.
</p>
<blockquote>
Today I prepared new interesting article - I will tell how you can create own commenting system (AJAX) for your items (any units at your website) with PHP. For our demonstration - I prepared two SQL tables: first table will keep records of our items. It contain several fields: title, description, time of adding and comments count. Another table will keep records of comments. We will use jQuery too (for better interface behavior). One of features will spam protection (we can post no more than one comment every 10 minutes)!
</blockquote>
<p>
<a href="http://www.script-tutorials.com/how-to-create-own-commenting-system/">The tutorial</a> includes all of the code, markup and styling you'll need to make the system work. If you'd like to get right into the code you can <a href="http://www.script-tutorials.com/demos/163/source.zip">download it as a package</a> or you can <a href="http://www.script-tutorials.com/demos/163/index.php">try out their demo</a>.
</p>]]></description>
      <pubDate>Mon, 17 Oct 2011 11:30:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Tail functionality in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16606</guid>
      <link>http://www.phpdeveloper.org/news/16606</link>
      <description><![CDATA[<p>
<i>Sameer Borate</i> has posted <a href="http://www.codediesel.com/php/tail-functionality-in-php/">an alternative to "tail"</a> that you can use to find the last X number of lines in a log file you'd like to follow without having the overhead of parsing the entire file.
</p>
<blockquote>
Frequently one needs to get the last few lines of some log files, whether php error logs or Apache logs. Most of these file sizes run into megabytes, which makes it difficult and time consuming to remotely open them using ftp. [...] The [example] is a simple but useful 'tail' implementation in PHP. I've encapsulated the tail function in a 'LogRead' class, which can be further enlarged by adding other useful log functions.
</blockquote>
<p>
His code opens a file pointer to the requested log, grabs the file size and uses the <a href="http://php.net/fseek">fseek</a> function to move the pointer to the line/location you've requested. Obviously, if the requested lines of data is large, it will still have some overhead, but this is a much better way for keeping track of the latest additions to a log. You can then use the "tail" method on the "LogRead" class to grab just the lines you want.
</p>]]></description>
      <pubDate>Tue, 19 Jul 2011 10:16:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Laura Thompson's Blog: All systems suck]]></title>
      <guid>http://www.phpdeveloper.org/news/16376</guid>
      <link>http://www.phpdeveloper.org/news/16376</link>
      <description><![CDATA[<p>
<i>Laura Thompson</i> has a quick post to her blog explaining one simple fact that all developers (or really anyone even loosely related to computing systems) should remember - <a href="http://www.laurathomson.com/2011/05/all-systems-suck/">all systems suck</a>.
</p>
<blockquote>
I've been thinking a lot about this idea lately.  I've spent a lot of years as an engineer and consultant fixing other people's systems that suck, writing my own systems that suck, and working on legacy systems, that, well, suck. Don't let anyone fool you.  All systems suck, to a greater or lesser extent
</blockquote>
<p>
She presents her "slightly jaded" points of view about legacy systems, current systems and ones yet to be built nothing that, no matter how impressive and well-planned out they are, they'll still suck (some maybe just a bit less than others). 
</p>
<blockquote>
Here's the punchline: sucking is like scaling.  You just have to keep on top of it, keep fixing and refactoring and improving and rewriting as you go.  Sometimes you can manage the suck in a linear fashion with bug fixes and refactoring, and sometimes you need a phase change where you re-do parts or all of the system to recover from suckiness.
</blockquote>]]></description>
      <pubDate>Tue, 24 May 2011 10:08:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David M&uuml;ller's Blog: Parallel processing in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16132</guid>
      <link>http://www.phpdeveloper.org/news/16132</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>David M&uuml;ller</i> has taken a look at <a href="http://www.d-mueller.de/blog/parallel-processing-in-php/">parallel processing in PHP</a> using a few different methods - system calls, <a href="http://php.net/fork">fork</a>, and <a href="http://php.net/curl">curl</a>.
</p>
<blockquote>
Since PHP does not offer native threads, we have to get creative to do parallel processing. I will introduce 3 fundamentally different concepts to emulate multithreading as good as possible.
</blockquote>
<p>
For each of the technologies mentioned above, he provides a simple bit of sample code that does simple tasks like echoing out strings and writing to files. He also includes some benchmarks (take them with a grain of salt) of the three different methods showing how many iterations they could run through in ten seconds. He includes the benchmarking script if you'd like to try it out yourself.
</p>]]></description>
      <pubDate>Thu, 31 Mar 2011 13:41:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Webification.com: 20 less known Open Source PHP CMS-es]]></title>
      <guid>http://www.phpdeveloper.org/news/15770</guid>
      <link>http://www.phpdeveloper.org/news/15770</link>
      <description><![CDATA[<p>
There's a few well-known PHP-based content management systems out there that everyone seems to use. In <a href="http://webification.com/20-less-known-open-source-php-cms-es">this new post</a> to the Webification site today, they want to help broaden that view with their list of twenty lesser known CMSes.
</p>
<blockquote>
Anyone who needs to develop a dynamic web site has the esigence to use a Content Management System. Not all web designer have the ability to develop an owner CMS and, most importantly, this choice might be too expensive. If you want to start your own website and you don't want to spend too much to use a CMS, read on this article in which are collected 20 less known Open Source CMS-es.
</blockquote>
<p>There's a wide range of CMSes in their list including:</p>
<ul>
<li><a href="http://www.getpixie.co.uk/home/">Pixie</a>
<li><a href="http://www.s9y.org/">Serendipity</a>
<li><a href="http://www.c97.net/qe.php">qEngine</a>
<li><a href="http://habariproject.org/en/">Habari</a>
<li><a href="http://www.tomatocms.com/">TomatoCMS</a>
</ul>]]></description>
      <pubDate>Wed, 19 Jan 2011 13:49:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Maclean's Blog: Where are all the decent PHP CMSes?]]></title>
      <guid>http://www.phpdeveloper.org/news/15757</guid>
      <link>http://www.phpdeveloper.org/news/15757</link>
      <description><![CDATA[<p>
In <a href="http://mgdm.net/weblog/where-are-all-the-decent-php-cmses">a new post to his blog</a> <i>Michael Maclean</i> looks at the current CMS ecosystem and wonders "where are all the decent CMSes?" He's been having trouble finding one and really wants to know.
</p>
<blockquote>
I've been recently asked to check out some CMSes for someone, and try to find a recommendation. What I've been finding hasn't really been encouraging. Out of the several CMSes I've tried, they've all failed for various reasons. I admit that I might be looking at this from a slightly different perspective than most - that of admining it and coding against it, rather than as a user - but it's still rather disappointing.
</blockquote>
<p>
He briefly looks at a few of the more popular offerings - Silverstripe, Concrete5, CMS Made Simple, Joomla! and the old standby - WordPress. 
</p>
<blockquote>
What's going on? This is what PHP is supposed to be good at. Where are the simple, lightweight CMSes with modern code? 
</blockquote>
<p>
There's <a href="http://mgdm.net/weblog/where-are-all-the-decent-php-cmses#comments">plenty of comments</a> so be sure and read them - everything from suggesting that the net should be cast wider to "PHP applications" versus just CMSes out to suggestions for other CMSes to try out (quite a few of those).
</p>]]></description>
      <pubDate>Tue, 18 Jan 2011 09:49:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: DPCRadio: Plant Pyrus in your system - A guide to a plugin system]]></title>
      <guid>http://www.phpdeveloper.org/news/15340</guid>
      <link>http://www.phpdeveloper.org/news/15340</link>
      <description><![CDATA[<p>
New on the Ibuildings techPortal today they've posted the <a href="http://techportal.ibuildings.com/2010/10/27/dpcradio-plant-pyrus-in-your-system-a-guide-to-a-plugin-system/">latest DPCRadio episode</a> as recorded at the Dutch PHP Conference 2010 - <i>Helgi Thormar Thobjoernsson</i>'s talk "Plant Pyrus in your system - A guide to a plugin system".
</p>
<blockquote>
One of the biggest parts of any plugin system is the part that deals with discovery, installation, upgrading, dependency handling, infrastructure and other equally boring things. An essential part of any plugin system yet everyone dreads writing it, and few actually take on the task of writing it. With Pyrus (the new PEAR installer) these tasks will not only be easy to do but also a joy. By embedding Pyrus in your application with its lavish new APIs you can use a tried and tested solution that hundred of thousands of people use every day on their command line, but you will be able to provide it right IN your tool,
</blockquote>
<p>
You can listen to the episode in different ways - either via the <a href="http://techportal.ibuildings.com/2010/10/27/dpcradio-plant-pyrus-in-your-system-a-guide-to-a-plugin-system/">in-page player</a> or by <a href="http://techportal.ibuildings.com/wp-content/uploads/audio/dpcradio/2010_012.mp3">downloading the mp3</a>. If you'd like to listen to other great recordings from the conference you can also check out the <a href="http://techportal.ibuildings.com/author/dpcradio/">full list of episodes</a>.
</p>]]></description>
      <pubDate>Wed, 27 Oct 2010 09:54:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nisha.in: Big List Of CMS Based on PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14992</guid>
      <link>http://www.phpdeveloper.org/news/14992</link>
      <description><![CDATA[<p>
On Nisha.in today there's <<A href="http://nisha.in/big-list-of-cms-based-on-php">a big list of content management systems</a> based on PHP - about twenty of them.
</p>
<blockquote>
A Content Management System ( CMS ) is used to add, edit, and delete content on a website. For a small website, such as this, adding and deleting a page manually is fairly simple. But for a large website with lots of pages like a news website adding a page manually without a content management system can be a headache. A CMS is meant to ease the process of adding and modifying new content to a webpage. 
</blockquote>
<p>The list includes several of the most popular CMSes like:</p>
<ul>
<li><a href="http://wordpress.org">WordPress</a>
<li><a href="http://drupal.org">Drupal</a>
<li><a href="http://mambo-foundation.org/">Mambo</a>
<li><a href="http://www.contao.org/#new-name">TYPOlite</a>
<li><a href="http://symphony-cms.com/">Symphony</a>
</ul>]]></description>
      <pubDate>Thu, 19 Aug 2010 14:17:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kyle Brandt's Blog: Should Developers have Access to Production?]]></title>
      <guid>http://www.phpdeveloper.org/news/14919</guid>
      <link>http://www.phpdeveloper.org/news/14919</link>
      <description><![CDATA[<p>
In an interesting post to his blog <i>Kyle Brandt</i> asks a question universally debated by system administrators everywhere - <a href="http://blog.serverfault.com/post/893001713/should-developers-have-access-to-production">should developers have access to production?</a>
</p>
<blockquote>
A question that comes up again and again in web development companies is: 'Should the developers have access to the production environment, and if they do, to what extent?' My view on this is that as a whole they should have limited access to production. A little disclaimer before I attempt to justify this view is that this standpoint is in no way based on the perceived quality or attitude of the developers '" so please don't take it this way. 
</blockquote>
<p>
He talks about common excuses from developers like "we've had access before" and "we need access to troubleshoot" as well as some of the process restricting the access could create. He touches on a few other issues including developer concerns vs those of the sysadmin, change control issues and the responsibilities of the sysadmin administrators if they want to allow the developers to poke around their servers.
</p>
<p>
Be sure to check out some of the other <a href="http://blog.serverfault.com/post/893001713/should-developers-have-access-to-production#comments">great suggestions in the comments</a> too!
</p>]]></description>
      <pubDate>Fri, 06 Aug 2010 13:56:39 -0500</pubDate>
    </item>
  </channel>
</rss>

