<?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>Wed, 23 May 2012 18:47:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ZetCode.com: PostgreSQL PHP Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/17918</guid>
      <link>http://www.phpdeveloper.org/news/17918</link>
      <description><![CDATA[<p>
On the ZetCode.com site there's a <a href="http://zetcode.com/db/postgresqlphp/">five part tutorial</a> posted about getting your PHP application up and running on a PostgreSQL database (updated on the 4th).
</p>
<blockquote>
This is a PHP tutorial for the PostgreSQL database. It covers the basics of PostgreSQL programming with PHP. The examples were created and tested on Linux. [...] PostgreSQL is a powerful, open source object-relational database system. It is a multi-user, multi-threaded database management system. It runs on multiple platforms including Linux, FreeBSD, Solaris, Microsoft Windows and Mac OS X. PostgreSQL is developed by the PostgreSQL Global Development Group.
</blockquote>
<p>The chapters guide you through every step you'll need:</p>
<ul>
<li><a href="http://zetcode.com/db/postgresqlphp/intro/">An introduction to PostgreSQL</a> and getting it and PHP support installed (with the php5-pgsql package)
<li>Example code showing how to <a href="http://zetcode.com/db/postgresqlphp/read/">extract data</a> from your tables
<li><a href="http://zetcode.com/db/postgresqlphp/images/">Working with images</a> and storing their data in a table
<li>Pulling out the <a href="http://zetcode.com/db/postgresqlphp/meta/">metadata from the database</a>, things like number of rows returned and table information
<li><a href="http://zetcode.com/db/postgresqlphp/trans/">Transactions</a> and database-side processing
</ul>]]></description>
      <pubDate>Mon, 07 May 2012 11:14:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gennady Feldman's Blog: Leveraging Oracle connection metadata functionality]]></title>
      <guid>http://www.phpdeveloper.org/news/14570</guid>
      <link>http://www.phpdeveloper.org/news/14570</link>
      <description><![CDATA[<p>
<i>Gennady Feldman</i> has a <a href="http://www.gena01.com/forum/gena01-blog/leveraging-oracle-connection-metadata-functionality/msg1506/#msg1506">new post to his site</a> looking at a feature of the Oracle connection functionality that comes with PHP's integration with the powerful database - metadata functionality.
</p>
<blockquote>
Now with OEM finding what the query is is really easy (you might need to buy Oracle Performance pack to monitor vitals and performance information). So you know which query caused the spike. Do you know where that query is in your application code? [...] You already have a ton of applications written, having to go through every query to add this meta information is a ton of dev effort. What do you do?
</blockquote>
<p>
He's found a way to help solve the problem - you can use a few handy functions to let you set some more information about the connection. These settings can give you more information about the client, a client identifier, module information and what action or function is performing the query. This information can then be queried in via the V$session variable on the server side.
</p>]]></description>
      <pubDate>Thu, 27 May 2010 12:48:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Reading and Writing MP3 and Photo Metadata with PECL ]]></title>
      <guid>http://www.phpdeveloper.org/news/11384</guid>
      <link>http://www.phpdeveloper.org/news/11384</link>
      <description><![CDATA[<p>
The Zend Developer Zone has a <a href="http://devzone.zend.com/article/4025-Reading-and-Writing-MP3-and-Photo-Metadata-with-PECL-">new tutorial</a> from <i>Vikram Vaswani</i> looking at the reading and writing of metadata for mp3s and images with two handy PECL extensions.
</p>
<blockquote>
It's just that every time I sit down to have a go at [finding something in my photo or mp3 library], the sheer volume of data overwhelms me and I take the command decision to deal with something easier instead. Sounds familiar? If it does, help is at hand, in the form of PHP's ID3 and EXIF extensions. These extensions can help you organize and catalog your digital media collection so that it's easier to navigate and search. Keep reading, and I'll show you how.
</blockquote>
<p>
He installs the ID3 package first (via the pecl command line tool) and gives a few sample scripts to pull the metadata information out of a mp3 file as well as update/remove the information that's already there. He even sets up a simple SQLite database to store the information he's retrieved.
</p>
<p>
The second part of the tutorial looks at grabbing the image metadata via the <a href="http://www.php.net/exif">EXIF extension</a>. This can yield all sorts of information including date/time the photo was taken, the resolution, the model of the camera and various camera settings at the time. He includes a sample script that automatically makes thumbnails for the images via the <a href="http://www.php.net/exif_thumbnail">exif_thumbnail</a> function.
</p>]]></description>
      <pubDate>Tue, 11 Nov 2008 08:44:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Devshed: Database Details and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8144</guid>
      <link>http://www.phpdeveloper.org/news/8144</link>
      <description><![CDATA[<p>
DevShed <a href="http://www.devshed.com/c/a/PHP/Database-Details-and-PHP/">continues their tutorial series</a> looking at working with PHP and databases today with more excerpted material from the O'Reilly book "Programming PHP, Second Edition" (by <i>Kevin Tatroe</i>, <i>Rasmus Lerdorf</i>, and <i>Peter MacIntyre</i>).
</p>
<blockquote>
Picking up from where we left off last week, we'll be discussing shortcuts, query responses, metadata, and more.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Database-Details-and-PHP/">start off</a> looking at shortcuts, those handy things the PEAR DB package offers to make life simpler (like getRow and getAssoc) before moving on to how to get the details about the response itself (like affectedRows and tableInfo). Next up is working with the metadata (using getListOf) and, finally, a sample application to tie them all together.
</p>]]></description>
      <pubDate>Thu, 28 Jun 2007 12:12:00 -0500</pubDate>
    </item>
  </channel>
</rss>

