<?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, 23 May 2013 20:46:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell: What Goes in Source Control?]]></title>
      <guid>http://www.phpdeveloper.org/news/19525</guid>
      <link>http://www.phpdeveloper.org/news/19525</link>
      <description><![CDATA[<p>
As developers, one of the best things you can do for a project is to use version control (or "source control") for your code. <i>Lorna Mitchell</i> suggest using it <a href="http://www.lornajane.net/posts/2013/what-goes-in-source-control">on a wider scale</a>, though. She sees it as a great place for all sorts of other things around a project too.
</p>
<blockquote>
Short answer: everything! However we need some good directory structures and source control configuration to make that a really practical answer, so this article is a quick outline of my usual advice for a good source control structure for a standard web project. The examples are for a PHP project but I'm sure you could apply this to your own language of choice, also.
</blockquote>
<p>
These "other things" she suggests that should end up in source control including things like:
</p>
<ul>
<li>The actual "web root" of your application
<li>Library code
<li>Build scripts
<li>Configuration files
<li>Database patches
<li>Tests (unit, functional, integration, etc)
</lu>
Link: http://www.lornajane.net/posts/2013/what-goes-in-source-control]]></description>
      <pubDate>Tue, 30 Apr 2013 10:31:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: Zend Framework full page cache tips]]></title>
      <guid>http://www.phpdeveloper.org/news/17533</guid>
      <link>http://www.phpdeveloper.org/news/17533</link>
      <description><![CDATA[<p>
If you're looking at using the full-page caching that the Zend Framework has to offer, you should <a href="http://robertbasic.com/blog/zend-framework-full-page-cache-tips">read about Robert Basic's experiences</a> with it before implementing it in your application.
</p>
<blockquote>
When I started rewriting this blog, I knew from start that I want to use Zend Framework's full page caching, as, I think, that's the best cache for this purpose. Not much going on on the front end, much more reads than writes, no ajax or any other "dynamic" content. While implementing the cache, I ran into two issues.
</blockquote>
<p>
His issues revolved around the feature not creating valid cache files due to a duplicate "startSession" call in his code and having the Google Analytics code included in the template (with different keys every time). You can find out more about this functionality <a href="http://framework.zend.com/manual/en/zend.cache.frontends.html#zend.cache.frontends.page">in the Zend Framework manual</a>. 
</p>]]></description>
      <pubDate>Mon, 13 Feb 2012 11:45:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter extension 0.9.2 released]]></title>
      <guid>http://www.phpdeveloper.org/news/11791</guid>
      <link>http://www.phpdeveloper.org/news/11791</link>
      <description><![CDATA[<p>
<i>Christian Stocker</i> has <a href="http://blog.liip.ch/archive/2009/01/22/uploadprogress-0-9-2-released.html">released the latest version</a> of the uploadprogress extension to the PECL repository (0.9.2). The package allows the code to track the progress of an upload automatically.
</p>
<blockquote>
The main new function since 0.9.1 is uploadprogress_get_contents($id), which allows you to analyse the content of an uploading file during the upload and do appropriate measure (for example warn the user, that he doesn't upload a supported video format). You have to enable this feature in php.ini to make it work. This feature was provided by <a href="http://benramsey.com">Ben Ramsey</a>, so you have to poke him, if something's wrong with it.
</blockquote>
<p>
A simple example of it in action is also included (in the /examples subdirectory off of the PECL page) showing how to upload a file, get the progress and - most importantly - how to get useful error messages out of it.
</p>]]></description>
      <pubDate>Thu, 22 Jan 2009 09:36:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/9437</guid>
      <link>http://www.phpdeveloper.org/news/9437</link>
      <description><![CDATA[<p>
<i>Cory Borrow</i> has <a href="http://www.coryborrow.com/2008/01/11/creating-thumbs-from-textfiles-with-php-and-gd/">posted a tutorial</a> he's created to show how to harness the power of PHP and GD to create thumbnail images out of the contents of a text file.
</p>
<blockquote>
Today, I'll give a little info on how to achieve the process of creating a thumbnail using PHP, GD and the text from a text file. It is really pretty simple, so lets get started.
</blockquote>
<p>
The trick behind the translation is in reading in the contents of the (plain) text file and pushing it into a string value of a newly created GD-generated image. He includes the code to make using it in your own app simple (a cut and paste version) - his method FileToThumb.
</p>]]></description>
      <pubDate>Wed, 16 Jan 2008 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Wez Furlong's Blog: HTTP POST from PHP, without cURL]]></title>
      <guid>http://www.phpdeveloper.org/news/6712</guid>
      <link>http://www.phpdeveloper.org/news/6712</link>
      <description><![CDATA[<p>
In an effort to get streams more out in the, er, mainstream, <i>Wez Furlong</i> has <a href="http://netevil.org/node.php?nid=937">posted an example</a> of some code for a common operation many use cURL for - posting to a remote script - but with streams.
</p>
<blockquote>
Every time I search for the code snippet that allows you to do an HTTP POST request, I don't find it in the manual and resort to reading the source. So, here's an example of how to send a POST request with straight up PHP, no cURL.
</blockquote>
<p>
The example uses stream_context_create, fopen, stream_get_contents and an Exception to send off the message from an inputted array to the remote server. Smaller things, like the Content-length header on the request, are automatically handled by the wrapper functionality. You can check out <a href="http://www.php.net/manual/en/wrappers.http.php">this page</a> for more information on the wrapper functionality.
</p>]]></description>
      <pubDate>Wed, 15 Nov 2006 10:09:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Davey Shafik and Ben Ramsey on the Zend Certification Exam Study Guide]]></title>
      <guid>http://www.phpdeveloper.org/news/6455</guid>
      <link>http://www.phpdeveloper.org/news/6455</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, there's <a href="http://devzone.zend.com/node/view/id/1029">an interview</a> with the co-authors of the recently released book from php|architect, the <a href="http://www.zend.com/store/book/zend_php_5_certification_study_guide">Zend Certification Study Guide</a>.
</p>
<blockquote>
The new <a href="http://www.zend.com/store/book/zend_php_5_certification_study_guide">Zend Certification Study Guide</a> is out and the initial reviews look good. Since this was a topic of interest to me (mainly because I've yet to take the test) I decided to dig a little deeper. I fired up my recorder and called <a href="http://www.pixelated-dreams.com/">Davey Shafik</a> and <a href="http://benramsey.com/">Ben Ramsey</a>, the authors of the new guide, to talk to them. Here to give you a little of the back story is our conversation.
</blockquote>
<p>
They <a href="http://devzone.zend.com/node/view/id/1029">talk about</a>:
<ul>
<li>the release of the book
<li>some of the contents of the chapters (including the <a href="http://www.zend.com/media/files/pdf/store/sample_chapter">sample chapter</a> on security)
<li><i>Davey</i>'s experience with the exam/<i>Ben</i>'s use of his PHP4 certification in his work
<li>and the practice tests that php|architect is offering to get developers prepared.
</p>]]></description>
      <pubDate>Mon, 09 Oct 2006 14:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The Joy of Regular Expressions [1]]]></title>
      <guid>http://www.phpdeveloper.org/news/6356</guid>
      <link>http://www.phpdeveloper.org/news/6356</link>
      <description><![CDATA[<p>
Sometimes, it's just not enough to sit and try to teach theory about something in programming - it's better to just jump right in and take things as they come. That's what <i>Harry Fuecks</i> thinks, at least in his <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">latest post</a> on the SitePoint PHP Blog - a look at the "Joy of Regular Expressions".
</p>
<p>
He does go over a bit of the theory and why they are so invaluable, but it's a short section before he gets to the heart of the article - working with regular expressions for:
<ul>
<li>positive matching
<li>matching all instances in a given string
<li>finding an exact match
<li>matching the start of a string
<li>validation of the contents of a string
<li>checking the length of a string
</ul>
There's <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">simple examples</a> included for each of the items to help you get an idea of how they'd work.
</p>]]></description>
      <pubDate>Tue, 26 Sep 2006 08:02:45 -0500</pubDate>
    </item>
  </channel>
</rss>
