<?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>Tue, 07 Oct 2008 15:38:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Marco Tabini's Blog: 5 PHP 5 features you can't afford to ignore]]></title>
      <guid>http://www.phpdeveloper.org/news/10071</guid>
      <link>http://www.phpdeveloper.org/news/10071</link>
      <description><![CDATA[<p>
<i>Marco Tabini</i> has <a href="http://mtabini.blogspot.com/2008/04/5-php-5-features-you-cant-afford-to.html">posted his list</a> of what he considers five features of PHP5 that you "can't afford to ignore" when doing your development work:
</p>
<blockquote>
Despite the fact that you may not have a choice in the matter, upgrading comes with a number of bonus new features that can help you write better code and gain access to new functionality that required a fair amount of hacking in previous version. Here's a quick list of 5 personal favourites.
</blockquote>
<p>
The feature to make his list are SimpleXML, JSON/SOAP, PDO, the Standard PHP Library and SQLite. Each has their own bonus feature(s) included too for a little extra incentive to check them out.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 17:06:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Coggeshall's Blog: Compiling extensions for Zend Core]]></title>
      <guid>http://www.phpdeveloper.org/news/9372</guid>
      <link>http://www.phpdeveloper.org/news/9372</link>
      <description><![CDATA[<p>
<i>John Coggeshall</i> has blogged about a method he's worked up for <a href="http://blog.coggeshall.org/archives/347-Compiling-extensions-for-Zend-Core.html">compiling extensions</a> into the <a href="http://www.zend.com/en/products/core/">Zend Core</a> software.
</p>
<blockquote>
While Core does ship with a large list of extensions (which are all QA'd and supported by Zend) there are times when you would like to include non-official extensions from PECL for various reasons.
</blockquote>
<p>
He breaks it down into a few simple steps - download, "phpize" the extension, compile it and add the extension to the php.ini. He details the second step of the process (the phpize) because of some of the differences there are between doing it for a normal PHP install and a Zend Core install.
</p>
<p>
He also provides directions for an exception to the rule - compiling a PDO driver for your ZC install. You'll have to trick the Zend Core installation into using the right files, though. Full instructions are included.
</p>]]></description>
      <pubDate>Tue, 08 Jan 2008 09:32:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: SQLite: The Sensible Database Solution]]></title>
      <guid>http://www.phpdeveloper.org/news/8552</guid>
      <link>http://www.phpdeveloper.org/news/8552</link>
      <description><![CDATA[<p>
On Developer.com today, <i>Jason Gilmore</i> has <a href="http://www.developer.com/db/article.php/3696686">written up a tutorial</a> that introduces one of the handy features that came with upgrading to PHP5 - SQLite support:
</p>
<blockquote>
One such solution is SQLite, a fully-featured relational database that, at just 250KB, is by itself able to easily fit on a floppy disk yet is capable of managing terabyte-sized databases. [...] In this tutorial, I'll introduce SQLite, showing you how this database can offer you maximum return with minimal investment.
</blockquote>
<p>
He <a href="http://www.developer.com/db/article.php/3696686">introduces the library</a> by showing how it can be used from the command line (along with an example database) and how to turn on support for it in PHP and make queries in the normal SQL syntax.
</p>]]></description>
      <pubDate>Wed, 29 Aug 2007 12:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Davey's Blog: PDO SQLite support just doesn't work fully?]]></title>
      <guid>http://www.phpdeveloper.org/news/7661</guid>
      <link>http://www.phpdeveloper.org/news/7661</link>
      <description><![CDATA[<p>
<i>Richard Davey</i>, after spending many an hour working on a PDO SQLite bit of functionality for his latest application, has come to one conclusion - "the PDO SQLite blob support is totally borked".
</p>
<blockquote>
I really don't know why, or what is going on, but after spending hours trying various code permutations I'm just not getting anywhere. I tried asking on php_general to no avail, so I consider this blog entry my last ditch attempt to get someone to shed some light on this issue before I give-in and ditch PDO for good.
</blockquote>
<p>
His mission was to store an image in the database, but everything <a href="http://www.corephp.co.uk/archives/37-PDO-SQLite-support-just-doesnt-work-fully.html">he tried</a> just didn't seem to work out. After partial image storage and parameters being ignored, he's still at a loss as to how to get his (seemingly) simple quest solved. The only comment so far, though, hasn't seemed to help much - he's even <a href="http://bugs.php.net/bug.php?id=41135">opened a bug report</a> upon <i>Wez Furlong<i>'s request.
</p>]]></description>
      <pubDate>Thu, 19 Apr 2007 14:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Abstracting Database Access Using Polymorphism with Objects in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/7476</guid>
      <link>http://www.phpdeveloper.org/news/7476</link>
      <description><![CDATA[<p>
In a <a href="http://www.devshed.com/c/a/PHP/Abstracting-Database-Access-Using-Polymorphism-with-Objects-in-PHP-5/">new article</a> from DevShed, they walk you through a method of using abstraction and objects along with polymorphism to work with databases.
</p>
<blockquote>
I'll be explaining how to implement Polymorphism to achieve a high level of abstraction when accessing different database systems. Subsequent articles will cover the use of polymorphic objects to build dynamic web documents and validate user-supplied input.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Abstracting-Database-Access-Using-Polymorphism-with-Objects-in-PHP-5/1/">start out</a> with a bad example of a database link in a PHP script, a database handler that, based on what type of database you tell it you're using, handles the requests appropriately. This is good, but poor design - their alternative is using objects (created from classes of one type for each kind of database). These are pulled together in a factory class and the correct one is built - out into a generic database object that's smart enough to know what it's supposed to do.
</p>]]></description>
      <pubDate>Wed, 21 Mar 2007 15:21:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Windows Skills Blog: Using SQLite as a database backend for a lightweight server]]></title>
      <guid>http://www.phpdeveloper.org/news/7236</guid>
      <link>http://www.phpdeveloper.org/news/7236</link>
      <description><![CDATA[<p>
On the Windows Skills blog, there's <a href="http://wskills.blogspot.com/2007/02/using-sqlite-as-database-backend-for.html">a new post</a> that talks about the use of a SQLite database (via PHP) to handle the assault that <a href="http://www.digg.com">Digg.com</a> can dish out to a popular webiste.
</p>
<blockquote>
Physical memory was limited and Apache and MySQL soon started to fight for every remaining byte and eventually the page was unavailable.
After this experience I started to look for a alternative for the database storage and I found an interesting one: <a href="http://www.sqlite.org/">SQLite</a>.
</blockquote>
<p>
He <a href="http://wskills.blogspot.com/2007/02/using-sqlite-as-database-backend-for.html">mentions</a> some of the features the database has including zero-configuration, a simple API, and the portability of having a single database in a single file. The next step was getting it to work with his Apache/PHP5 installation and to run <a href="http://bp3.blogger.com/_QOjq3sQaYvY/RcO0NIPetGI/AAAAAAAAAGU/qFywQWsLgKQ/s1600-h/sqlite_mysql.png">some statistics</a> on it. The results show SQLite pulling ahead of MySQL (INNODB) by a bit and MySQL (MYISAM) by a good bit.
</p>]]></description>
      <pubDate>Wed, 07 Feb 2007 09:10:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Vexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard of]]></title>
      <guid>http://www.phpdeveloper.org/news/7036</guid>
      <link>http://www.phpdeveloper.org/news/7036</link>
      <description><![CDATA[<p>
From the Vexxhost.com blog today comes <a href="http://vexxhost.com/blog/?p=27">a quick overview</a> of some of the "new and cool features" of PHP 5 that you might not have heard of - a top five list.
</p>
<blockquote>
PHP5 has brought so much new features but because of its big syntax changes, a big percentage of the PHP developing base has not made the change. Here are the top new features that could change your mind.
</blockquote>
<p>
The list they've created includes:
<ul>
<li>Better error handling with exceptions
<li>Completely rewritten MySQL extension
<li>A heck of a lot more useful functions
<li>Finally! SQLite database support!
<li>The best damn OOP support period
</ul>
with each having a bit of a explanatory paragraph...
</p>]]></description>
      <pubDate>Fri, 05 Jan 2007 10:42:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Additional Methods for Using SQLite with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6920</guid>
      <link>http://www.phpdeveloper.org/news/6920</link>
      <description><![CDATA[<p>
DevShed continues their series covering SQLite in PHP5 today with <a href="http://www.devshed.com/c/a/PHP/Additional-Methods-for-Using-SQLite-with-PHP-5/">the final tutorial</a> - "Additional Methods for Using SQLite with PHP 5":
</p>
<blockquote>
The list of additional features offered by SQLite is really impressive. Therefore, in this last article of the series, I'll be taking an in-depth look at them. This will complete our analysis of this excellent RDBMS integrated with PHP 5.
</blockquote>
<p>
First up is a look at the usage of the seek and lastInsertRowid functions followed by the changes and queryExec methods. They show how to use the createFunction method and show one of the more advanced features of SQLite - creating a database that only exists in the server's memory.
</p>]]></description>
      <pubDate>Mon, 18 Dec 2006 15:12:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using Unbuffered Queries and More with SQLite with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6865</guid>
      <link>http://www.phpdeveloper.org/news/6865</link>
      <description><![CDATA[<p>
Continuing with their look at PHP5 and SQLite, DevShed has posted <a hre="http://www.devshed.com/c/a/PHP/Using-Unbuffered-Queries-and-More-with-SQLite-with-PHP-5/">part two</a> of the series - "Using Unbuffered Queries and More with SQLite with PHP 5".
</p>
<blockquote>
Taking into account the group of characteristics that I mentioned [a few lines above], in this second tutorial of the series, I'll be taking a look at some of them. This will give you a clearer idea of how to use them as part of your existing and -- why not? -- future PHP applications.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Using-Unbuffered-Queries-and-More-with-SQLite-with-PHP-5/">take a look at</a> the hows and whys of working with the unbuffered queries and well as some examples - counting rows and fields in a database table and looking at the use of more "row-processing methods" to get different sorts of data out.
</p>]]></description>
      <pubDate>Mon, 11 Dec 2006 12:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Introduction to Using SQLite with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/6818</guid>
      <link>http://www.phpdeveloper.org/news/6818</link>
      <description><![CDATA[<p>
DevShed has started a small series today that seeks to guide you through the <a href="http://www.devshed.com/c/a/PHP/Introduction-to-Using-SQLite-with-PHP-5/">world of SQLite</a> as is interfaced through PHP5.
</p>
<blockquote>
If you use PHP 5 to build web-based applications that access a database, you might want to consider SQLite. A "lighter" option than MySQL, this database may still suit your purposes if you don't need all of MySQL's bells and whistles. This three-part series covers many of SQLite's most useful features.
</blockquote>
<p>
Their post today, <a href="http://www.devshed.com/c/a/PHP/Introduction-to-Using-SQLite-with-PHP-5/">part one</a> talks about the basics of the protocol and how to get started with it in PHP5. Since it's enabled by default, the chances of it being on your installation are great. They only really look at grabbing data from the database in this part, saving pushing data back in for another time.
</p>]]></description>
      <pubDate>Mon, 04 Dec 2006 13:59:32 -0600</pubDate>
    </item>
  </channel>
</rss>
