<?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, 06 Jul 2008 21:48:04 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Sending HEAD requests with ext/curl]]></title>
      <guid>http://www.phpdeveloper.org/news/10497</guid>
      <link>http://www.phpdeveloper.org/news/10497</link>
      <description><![CDATA[<p>
In a <a href="http://schlitt.info/applications/blog/index.php?/archives/606-Sending-HEAD-requests-with-extcurl.html">new post</a>, <i>Tobias Schlitt</i> looks at how to send HEAD requests right along with the rest of your payload with the ext/curl extension for PHP.
</p>
<blockquote>
I recently wanted to perform a HEAD request to a file, after which I wanted to perform some more advanced HTTP interaction, so <a href="http://curl.haxx.se/">CURL</a> was also the tool of choice here.
</blockquote>
<p>
He started with the (slow?) command line to get the parameters right before moving into PHP. After picking out the right ones ("curl -I -X HEAD http://localhost/admin/") he transfers them into a series of curl_setopt calls that specifies a HEAD request type and no content to send (with CURLOPT_NOBODY).
</p>]]></description>
      <pubDate>Fri, 27 Jun 2008 08:48:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?]]></title>
      <guid>http://www.phpdeveloper.org/news/10490</guid>
      <link>http://www.phpdeveloper.org/news/10490</link>
      <description><![CDATA[<p>
On <a href="http://michaelkimsal.com/blog/why-do-browsers-still-not-have-file-upload-progress-meters/">his blog today</a> <i>Michael Kimsal</i> asks a question that hasn't come up much in recent months - with all of the advancements browsers are adding in, why aren't there better hooks for measuring file downloads?
</p>
<blockquote>
This current tirade stems from implementing a file upload progress meter in PHP5.  Yes, PHP5.2 has some hook, and there's a PECL extension. [...] I realize this is partially a PHP issue I'm ranting about, but it's ultimately a hacky workaround to a basic piece of functionality that browsers should support. 
</blockquote>
<p>
He <a href="http://michaelkimsal.com/blog/why-do-browsers-still-not-have-file-upload-progress-meters/">mentions</a> an example where he basically directly asked a member of the IE team about it. It wasn't greeted seriously and still hasn't managed to be included in most of the popular browsers of today.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 08:41:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y: Optimizing with APC]]></title>
      <guid>http://www.phpdeveloper.org/news/10288</guid>
      <link>http://www.phpdeveloper.org/news/10288</link>
      <description><![CDATA[<p>
<i>Brian Shire</i> has <a href="http://c7y.phparch.com/c/entry/1/art,apc_facebook">posted a new tutorial</a> talking about some of the benefits of caching the functionality of your website (with things like APC, not file or database caching):
</p>
<blockquote>
Opcode caches save energy, expenses, improve overall user experience on web sites, and it's often one of the simplest optimizations to implement. This article will explain the basics of installing, configuring, and tuning an opcode cache for PHP, the Alternative PHP Cache (APC).
</blockquote>
<p>
The article focuses on how the APC works and how to get it up and working on your installation (as pulled from the pecl repositories). They look at some of the functions the extension's API includes (like ap_cache_info or ap_store for manual caching) as well as some more advanced topics like locking performance, working with TTL, cache priming and filtering.
</p>]]></description>
      <pubDate>Wed, 28 May 2008 12:58:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News:  Eclipse PDT Bug Day (May 30th)]]></title>
      <guid>http://www.phpdeveloper.org/news/10281</guid>
      <link>http://www.phpdeveloper.org/news/10281</link>
      <description><![CDATA[<p>
<i>Roy Ganor-Shwaartz</i> has <a href="http://ganoro.blogspot.com/2008/05/eclipse-pdt-bug-day.html">blogged about</a> an upcoming event that's an effort to "help foster community outreach and growth" around the Eclipse PDT project - <a href="http://wiki.eclipse.org/BugDay/May_2008#Projects">Eclipse PDT Bug Day</a> (May 30th).
</p>
<blockquote>
Since there are <a href="http://www.eclipse.org/newsportal/article.php?id=1991&group=eclipse.tools.pdt#1991">more and more</a> people in the Eclipse PHP Development Tools (PDT) community that <a href="http://divby0.blogspot.com/2007/08/phpeclipse-vs-pdt-part-2.html">start asking</a> <a href="http://intellectualcramps.blogspot.com/2008/05/pdt-needs-community-patch-loving.html">for diversity</a> in the development side, <a href="http://divby0.blogspot.com/">Nick Boldt</a> has suggested to help out and contribute patches to the project "if there's Zend folks willing to coach me...". Actually, I am very excited from his (and others) proposal, since it's the first time a group of people have stated that they want to contribute to PDT.
</blockquote>
<p>
The <a href="http://wiki.eclipse.org/BugDay/May_2008#Projects">event</a> will happen on May 30th, 2008 and an effort will be made to squash as many from <a href="https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&classification=Tools&product=PDT&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=bugday&bug_severity=blocker&bug_severity=critical&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial&bug_severity=enhancement&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&known_name=pdt_open_bugs&query_based_on=pdt_open_bugs&field0-0-0=noop&type0-0-0=noop&value0-0-0=">this list</a> as possible (as well as potential others that might be found along the way). You can get more information about how to participate and help out the PDT project on <a href="http://wiki.eclipse.org/Bug_Day">this page</a> on the Eclipse site.
</p>]]></description>
      <pubDate>Tue, 27 May 2008 13:49:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: YAML and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10269</guid>
      <link>http://www.phpdeveloper.org/news/10269</link>
      <description><![CDATA[<p>
In <a href="http://pooteeweet.org/blog/0/1119">this new post</a> from <i>Lukas Smith</i> he talks about YAML, that handy data storage format and the two methods for its use in PHP (and why he's stuck with one of them).
</p>
<blockquote>
If you use YAML in PHP, then you had until recently the choice between the C based PECL extension <a href="http://pecl.php.net/package/syck">syck</a> or the horrible <a href="http://spyc.sourceforge.net/">spyc</a> PHP based implementation. With syck it has the issue that it only supports the core standard and not stuff like <a href="http://yaml.org/type/merge.html">merge-key</a>, which is a very very useful extension to the core YAML standard.
</blockquote>
<p>
He also <a href="http://pooteeweet.org/blog/0/1119">points out</a> another implementation that the Symfony framework has created - one built around regular expressions (slower, but a "more correct" version).
</p>]]></description>
      <pubDate>Mon, 26 May 2008 13:04:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tilllate.com Blog: tilllate.com is now all Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10222</guid>
      <link>http://www.phpdeveloper.org/news/10222</link>
      <description><![CDATA[<p>
The tilllate.com blog has a <a href="http://techblog.tilllate.com/2008/05/20/tilllatecom-is-now-all-zend-framework/">new post</a> about a milestone in their development process - the removal of two old legacy components with ones from the Zend Framework making it running 100% on the Framework code.
</p>
<blockquote>
The <a href="http://ch.tilllate.com/EN/photoalbum/overview/specialgroup/5/#p1">gallery</a> and the <a href="http://ch.tilllate.com/EN/register/now/user/">user registration</a>. The whole site <a href="http://www.tilllate.com/">tilllate.com</a> is now running on <a href="http://techblog.tilllate.com/2008/01/07/trevi-is-online/?PHPSESSID=22d92c09c3c325daf461641658099489">Trevi</a>, our extension of Zend Framework. With a reach of 2.5 million unique clients a month, tilllate.com is one of the world's biggest installation of Zend Framework.
</blockquote>
<p>
They <a href="http://techblog.tilllate.com/2008/05/20/tilllatecom-is-now-all-zend-framework/">talk about</a> the two upgraded parts of their older system - the move up to the Zend_Db database abstraction layer and a change to use <a href="http://en.wikipedia.org/wiki/Memoization">memoization</a> in the Zend_Date and Zend_Config components.
</p>]]></description>
      <pubDate>Tue, 20 May 2008 10:28:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: Update to PHP 5.2.6 Release (XSL & IMAP)]]></title>
      <guid>http://www.phpdeveloper.org/news/10116</guid>
      <link>http://www.phpdeveloper.org/news/10116</link>
      <description><![CDATA[<p>
The PHP group has made a <a href="http://www.php.net/index.php#id2008-05-01-1">two quick updates</a> to the recent release of PHP 5.2.6 for the Windows users out there:
</p>
<blockquote>
The Windows installers and archives were missing the <a href="http://www.php.net/xsl">XSL</a> and <a href="http://www.php.net/imap">IMAP</a> extensions.
</blockquote>
<p>
These updated packages can be downloaded from <a href="http://www.php.net/downloads.php">the Downloads page</a> on PHP.net as usual (with each updated package having a note indicating the change).
</p>]]></description>
      <pubDate>Tue, 06 May 2008 08:49:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Learn regular expressions in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10085</guid>
      <link>http://www.phpdeveloper.org/news/10085</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, <i>Akash Mehta</i> <a href="http://www.developertutorials.com/blog/php/learn-regular-expressions-in-php-152/">offers some suggestions</a> of resources and methods for learning how to use regular expressions in your PHP applications.
</p>
<blockquote>
When it comes to quickly dealing with large blocks of data, batch processing operations or screen scraping, regular expressions are often the most effective solution. There's just one problem, though - learning them can be as hard as learning a new language altogether. Here's how to get off to a flying start.
</blockquote>
<p>
He points you first in the direction of the preg_* functions then towards a few examples (like with mod_rewrite) and tools to help you understand how things match, like the regex tested extension for firefox and the regular expression <a href="http://www.ilovejackdaniels.com/regular_expressions_cheat_sheet.png">cheat sheet</a> on ILoveJackDaniels.com.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 08:48:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Installing PECL subversion extension for PHP in Ubuntu 7.10]]></title>
      <guid>http://www.phpdeveloper.org/news/10012</guid>
      <link>http://www.phpdeveloper.org/news/10012</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has a <a href="http://hasin.wordpress.com/2008/04/21/installing-pecl-subversion-extension-for-php-in-ubuntu-710/">new post</a> to his blog today about trying to set up the PHP extension for interaction between his scripts and the subversion version control libraries on his Ubuntu linux system.
</p>
<blockquote>
I was trying to interact with my subversion repositories using PHP yesterday and I knew that PECL has a extension named "SVN" for PHP users. So I tried to install in in my machine by when I tried to install it with the [following] command it always failed.
</blockquote>
<p>
The trick to his hint is to install the libsvn-dev package (found via a search with apt-get) and installed and compiled in to the PHP installation with <a href="http://pecl.php.net/package/svn">the extension</a>. Sample code is included.
</p>]]></description>
      <pubDate>Tue, 22 Apr 2008 09:48:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Szorc's Blog: Using DTD's and Catalogs for XHTML Validation]]></title>
      <guid>http://www.phpdeveloper.org/news/9949</guid>
      <link>http://www.phpdeveloper.org/news/9949</link>
      <description><![CDATA[<p>
<i>Greg Szorc</i> shows how, in <a href="http://blog.case.edu/gps10/2008/04/06/using_dtds_and_catalogs_for_xhtml_validation">this entry</a> on his blog, to use DTDs and catalogs to validate your XHTML pages with a little help from PHP.
</p>
<blockquote>
This [validation from an external site like the W3C validator] approach is a good start, but it is far from ideal because it is based on an honor system of sorts. You often forget to validate each change you make and there is always some corner case that you forget. So, what can be done about it? Well, if you find yourself developing in PHP, you can employ the following solution.
</blockquote>
<p>
The code <a href="http://blog.case.edu/gps10/2008/04/06/using_dtds_and_catalogs_for_xhtml_validation">he includes</a> pulls in the XHTML content from your page (or the output of the framework's view layer) and pushes it into a DOMDocument that's build with the LIBXML_DTDLOAD and LIBXML_DTDATTR options.
</p>]]></description>
      <pubDate>Thu, 10 Apr 2008 11:29:48 -0500</pubDate>
    </item>
  </channel>
</rss>
