<?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>Sat, 25 May 2013 19:16:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Linux Magazine: Micro-Frameworks: Big Things in Small Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/12489</guid>
      <link>http://www.phpdeveloper.org/news/12489</link>
      <description><![CDATA[<p>
<i>Martin Streicher</i> has written up <a href="http://www.linux-mag.com/id/7324">a new article</a> for the Linux Magazine website looking at microframeworks - one in Ruby and the other in PHP (<a href="http://sofa-design.net/limonade/">Limonade</a>).
</p>
<blockquote>
Indeed, the quality of Rails, CakePHP, Django, and Catalyst notwithstanding, some developers have rebuffed the large frameworks, citing bulk and complexity, to create smaller and simpler alternatives. Dubbed micro-frameworks-think microcomputer versus mainframe-the tools shape incoming requests into something manageable and leave the rest up to you. Choose your design pattern, object-relational mapper (ORM), and rendering technology, and off you go. As you'll see, a working Web application can be composed in less than ten lines of code in a single source file.
</blockquote>
<p>
He covers the Ruby framework first (<a href="http://www.sinatrarb.com/">Sinatra</a>) and <a href="http://sofa-design.net/limonade/">Limonade</a> next. The framework takes incoming requests and maps them into the developed code. It works like a basic MVC-formatted framework - the request comes in with an action and is sent to a method by the same name. You can use wildcards in the URI, regular expression matching, views, templates and it includes error handling support and configuration option support.
</p>]]></description>
      <pubDate>Mon, 11 May 2009 10:26:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Oren Solomianik's Blog: Zend Framework Database Admin]]></title>
      <guid>http://www.phpdeveloper.org/news/12487</guid>
      <link>http://www.phpdeveloper.org/news/12487</link>
      <description><![CDATA[<p>
In <a href="http://orensol.com/2009/04/02/zend-framework-database-admin/">his recent blog entry</a> <i>Oren Solomianik</i> takes a look at using the <a href="http://www.gregphoto.net/index.php/2006/03/25/zdbform-simple-database-admin-forms-with-the-zend-framework/">zdbform</a> software (a web-based, simple database administration tool) he's put together using the Zend Framework.
</p>
<blockquote>
If you're looking for a simple tool that uses Zend Framework's robust database classes (such as Zend_Db and Zend_Db_Table), you can check out <a href="http://www.gregphoto.net/index.php/2006/03/25/zdbform-simple-database-admin-forms-with-the-zend-framework/">zdbform</a>. It's a short yet effective library that let's you perform simple administration tasks on your database, with minimal coding. It's not a full blown phpMyAdmin, but it's a simple way to view, edit and add your tables rows on a web interface.
</blockquote>
<p>
He shows how you can use it in a script - from the front controller to the input forms - and some of the changes he needed to make in the form class itself to handle a few of the bit more tricky parts.
</p>]]></description>
      <pubDate>Mon, 11 May 2009 08:41:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: Wordcraft, a simple PHP blogging application]]></title>
      <guid>http://www.phpdeveloper.org/news/11381</guid>
      <link>http://www.phpdeveloper.org/news/11381</link>
      <description><![CDATA[<p>
<i>Brian Moon</i> has <a href="http://brian.moonspot.net/wordcraft-simple-php-blog">released a simple blogging application</a> he's worked up - a super-simple, lightweight application that already has several of the common blog features built in.
</p>
<blockquote>
Up until now, I have used Wordpress.com for my blogging.  It works quite well.  You can get started quite quickly and it does what most people need.  My wife uses Blogger for our family blog.  It is, IMO, not as nice as Wordpress.com in some ways.  But, it does allow you to edit your styles (for free) and such which is nice. So, why would I want to reinvent the wheel?  I am a control freak and rarely run other people's code.  I know, it is a character flaw.  I am working on it. 
</blockquote>
<p>
His application, <A href="http://code.google.com/p/wordcraft">WordCraft</a>, already includes things like Akismet/CAPTCHA support for comments, custom page creation, pingback support, temlpating and email notifications. You can download the latest release (version 0.5) <a href="http://code.google.com/p/wordcraft">from his google code page</a>.
</p>]]></description>
      <pubDate>Mon, 10 Nov 2008 14:28:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Color analysis]]></title>
      <guid>http://www.phpdeveloper.org/news/8970</guid>
      <link>http://www.phpdeveloper.org/news/8970</link>
      <description><![CDATA[<p>
In the latest entry to his blog, <i>Mikko Koppanen</i> shows how to take the power of Imagick and harness it to check and see what sorts of colors an image contains:
</p>
<blockquote>
The code in the example reduces the image colors to 10, then discards all but one pixel of every color and then creates the palettes out of those colors. This might not be the most accurate way to do this, but at least it's fast.
</blockquote>
<p>
<a href="http://valokuva.org/?p=72">His code</a> makes three different "palettes" from the image - average, dark and light - and outputs them as a range of colored boxes for each all of the three palettes. Examples of the output are also included in the post.
</p>]]></description>
      <pubDate>Mon, 05 Nov 2007 10:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.]]></title>
      <guid>http://www.phpdeveloper.org/news/8540</guid>
      <link>http://www.phpdeveloper.org/news/8540</link>
      <description><![CDATA[<p>
<i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/49-Simple-DBAL,-PHP5,-Light,-Fast,-Simple..html">posted about</a> a database abstraction layer that he's been developing for PHP 5.2.x only systems and wants some opinions on his methods:
</p>
<blockquote>
I made a very light DBAL that uses PHP5.2.x only (Since many people seem to want that) and it has the exact same DSN syntax as MDB2 for now and the query method are also called the same (No API Changes). [...] The main goal of the DBAL is to have a very effective and light way of switching RDBMS but also the possibility to change your DBAL to something more "0feature complete" as such as MDB2.
</blockquote>
<p>
He <a href="http://blog.agoraproduction.com/index.php?/archives/49-Simple-DBAL,-PHP5,-Light,-Fast,-Simple..html">includes the list</a> of query method names and the types of databases that he wants it to support (as well as mentioning the fact that it would be unit tested for reliability).
</p>]]></description>
      <pubDate>Tue, 28 Aug 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Synfony Project: New testing framework]]></title>
      <guid>http://www.phpdeveloper.org/news/6305</guid>
      <link>http://www.phpdeveloper.org/news/6305</link>
      <description><![CDATA[<p>
On the Synfony project's blog, they've <a href="http://www.symfony-project.com/weblog/2006/09/19/new-testing-framework.html">posted about</a> a new testing framework that they've implemented for their framework based around something they call "lime".
</p>
<blockquote>
<p>
If you keep an eye on the <a href="http://www.symfony-project.com/trac/timeline">timeline</a>, you probably saw that the symfony unit tests have been completely reworked lately. This is because we switched from <a href="http://www.lastcraft.com/simple_test.php">simpletest</a>, which was fine but had side effects when functional tests were executed all at once, to our own testing framework, lime.
</p>
<p>
Lime is more lighweight than PHPUnit or simpletest and has several advantages. First, it launches test files in a sandbox to avoid strange effects between each test file run (one of the reasons we were unable to fix the old symfony core tests). It also introduces a new sfBrowser, sfTestBrowser and more importantly sfDomCssSelectorBrowser that allow you to write functionnal tests with ease. It is not backward compatible but is a lot more powerful than the old system. Oh, and it holds in a single file, lime.php, without any dependence.
</p>
</blockquote>
<p>
They <a href="http://www.symfony-project.com/weblog/2006/09/19/new-testing-framework.html">show some examples</a> of its usage (and a note on which tests will need to be updated) as well as the output that would come of it. They've also included some sample tests (in the "test/" folder of the release) if you'd like to check it out more throughly.
</p>]]></description>
      <pubDate>Tue, 19 Sep 2006 07:44:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weir O'Phinney's Blog: The light has not set on PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5527</guid>
      <link>http://www.phpdeveloper.org/news/5527</link>
      <description><![CDATA[<p>
<i>Matthew Weir O'Phinney</i> has posted <a href="http://weierophinney.net/matthew/archives/119-The-light-has-not-set-on-PHP.html">his own rebuttal</a> to the wide-spread <a href="http://www.phpdeveloper.org/news/5523">Why the Light Has Gone Out on LAMP</a> article posted recently.
</p>
<quote>
<i>
<p>
 In the post, the author makes an analogy of using PHP + MySQL as the equivalent of using BASIC, and then uses a quote that claims BASIC "has become the leading cause of brain-damage in proto-hackers."
</p>
<p>
I'm sorry, but using a language doesn't cause brain damage. And there are many levels to programming. And using Python, Ruby, C, C++, Java, etc., does not automatically make you a better programmer than those using one of "those other languages". You can write crap code in any language. You can also write great code in just about any language. 
</p>
</i>
</quote>
<p>
<i>Matthew</i> also <a href="http://weierophinney.net/matthew/archives/119-The-light-has-not-set-on-PHP.html">mentions</a> a real truth behind programming, no matter who you are - that it takes practice, lots and lots of practice. That's what it is - constant practice so you know better how to combat the troubles you might find the next time they rear their ugly head.
</p>]]></description>
      <pubDate>Tue, 06 Jun 2006 17:16:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NewsForge: Real world control from a Web page]]></title>
      <guid>http://www.phpdeveloper.org/news/5426</guid>
      <link>http://www.phpdeveloper.org/news/5426</link>
      <description><![CDATA[<p>
If you've ever wanted yout scripts to do something more "outside the box" and out in the real world, you might want to check out <a href="http://hardware.newsforge.com/hardware/06/05/11/1517222.shtml?tid=123&tid=55&tid=48">this new tutorial</a> from NewsForge for a good start.
</p>
<quote>
<i>
In "<a href="http://hardware.newsforge.com/hardware/06/02/02/1647248.shtml?tid=87">Acquiring data from the physical world</a>" we examined how to use a microcontroller to turn physical events (such as reading a switch) into data and send that data to a Linux box via the serial line. With this capability you can do things like counting people passing through a gate or recording how the temperature changes over time in a factory process. You can then send the data to a Web page. In this article, we'll do it in reverse -- from a Web form, instruct a microcontroller to perform some actions
</i>
</quote>
<p>
The concept's pretty simple - the <a href="http://hardware.newsforge.com/hardware/06/05/11/1517222.shtml?tid=123&tid=55&tid=48">form they build</a> submits back to the page and writes the input out to a file. This file is then read by the controller for the LED they have connected and, with the proper input, will turn it on and off. The code for the PHP/web side of things is included, but it might take a little work to get the rest of the hardware interfaced (as the author saw as well).
</p>]]></description>
      <pubDate>Tue, 23 May 2006 07:20:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: PHP and Scalability (Again)]]></title>
      <guid>http://www.phpdeveloper.org/news/5149</guid>
      <link>http://www.phpdeveloper.org/news/5149</link>
      <description><![CDATA[<p>
On his blog today, <i>Chris Shiflett</i> an article mentioned in <a href="http://www.phpdeveloper.org/news/5145">this previous post</a> from the O'Reilly ONLamp.com site about PHP and scalability.
</p>
<quote>
<i>
There's an interesting <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">blog entry</a> on O'Reilly's web site discussing <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">Digg's PHP Scalability and Performance</a>. As part of his research, the author (Brian Fioca, a Java developer) interviewed Owen Byrne, cofounder and Senior Software Engineer at <a href="http://digg.com/">Digg</a>, and built his own PHP application, <a href="http://www.gojobby.com/">Jobby</a>.
</i>
</quote>
<p>
<i>Chris</i> also points out some of the interesting comments made in <a href="http://www.oreillynet.com/onlamp/blog/2006/04/digg_phps_scalability_and_perf.html">the entry</a>, including mentions of Digg's stats and some great comments testifying to the light, powerful nature of PHP.
</p>]]></description>
      <pubDate>Tue, 11 Apr 2006 06:46:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Builder.com.au: LAMP lights way on open source security]]></title>
      <guid>http://www.phpdeveloper.org/news/4947</guid>
      <link>http://www.phpdeveloper.org/news/4947</link>
      <description><![CDATA[From Builder.co.au, there's <a href="http://www.builderau.com.au/program/work/soa/LAMP_lights_way_on_open_source_security/0,39024650,39237780,00.htm?feed=rss">this new article</a> that talks about the LAMP software, how's it's "showing the way" to Open Source security.
<p>
<quote>
<i>
The most popular open-source software is also the most free of bugs, according to the first results of a U.S. government-sponsored effort to help make such software as secure as possible.
<p>
The so-called LAMP stack of open-source software has a lower bug density--the number of bugs per thousand lines of code--than a baseline of 32 open-source projects analysed, Coverity, a maker of code analysis tools, announced Monday.
</i>
</quote>
<p>
<a href="http://www.builderau.com.au/program/work/soa/LAMP_lights_way_on_open_source_security/0,39024650,39237780,00.htm?feed=rss">The results</a> are a product of a Homeland Security effort (performed by Stanford University) for three years. They found that the LAMP combination contained about 0.434 bugs per 1,000 lines of code. Unfortunately, their results also showed, of those problems, PHP had the higest bug count of the four.]]></description>
      <pubDate>Tue, 07 Mar 2006 07:25:42 -0600</pubDate>
    </item>
  </channel>
</rss>
