<?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, 19 May 2013 22:24:13 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: The Devil's In The Details (or, Handling Sequences in Postgres in CakePHP)]]></title>
      <guid>http://www.phpdeveloper.org/news/9557</guid>
      <link>http://www.phpdeveloper.org/news/9557</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has <a href="http://www.littlehart.net/atthekeyboard/2008/02/02/the-devils-in-the-details-or-handling-sequences-in-postgres-in-cakephp/">shared his experiences</a> in dealing with the combination of Postgres and CakePHP and convincing it to work with sequences in your tables.
</p>
<blockquote>
<p>
I had been struggling with some weirdness that CakePHP has been displaying while trying to add some new features to the <a href="http://www.ibl.org/">baseball league website</a>, where Cake + PHP 4.4 + Postgres were deciding to just be sulky and not work together well.
</p>
<p>
Lucky for me, it turns out that the solution (for now) to the problem was to simply add the name of the sequence for that table as a variable to the model definition.
</p>
</blockquote>
<p>
He <a href="http://www.littlehart.net/atthekeyboard/2008/02/02/the-devils-in-the-details-or-handling-sequences-in-postgres-in-cakephp/">includes the code</a> for the Model that creates the connections between hos tables (belongsTo) and creates a sequence global to the class - note the naming convention.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 08:47:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: A Primer On Postgres Exception Handling For The PHP Developer, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/9060</guid>
      <link>http://www.phpdeveloper.org/news/9060</link>
      <description><![CDATA[<p>
PHPBuilder.com has <a href="http://www.phpbuilder.com/columns/robert_bernier20071115.php3">posted part two</a> of a series they're working through introducing PHP developers to the world of exception handling in the Postgres database.
</p>
<blockquote>
Last week we left off with an example where notice, exception and log levels are sent to the client. This week we present more POSTGRES exception examples, and continue with our article on Postgres exception handling.
</blockquote>
<p>
They create a few examples:
</p>
<ul>
<li>handling other error conditions with OTHERS
<li>using f_ex2
<li>returning NO_DATA_FOUND and TOO_MANY_ROWS
<li>handling exceptions like table constraints
<li>nested exceptions
<li>using f_ex5
<li>a RAISE EXCEPTION dilemma
<li>using f_ext1
</ul>]]></description>
      <pubDate>Fri, 16 Nov 2007 09:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder: A Primer On Postgres Exception Handling For The PHP Developer]]></title>
      <guid>http://www.phpdeveloper.org/news/8986</guid>
      <link>http://www.phpdeveloper.org/news/8986</link>
      <description><![CDATA[On <a href="http://phpbuilder.com">PHPBuilder</a>, Robert Bernier has started writing a series of articles on <a href="http://www.phpbuilder.com/columns/robert_bernier20071102.php3">Postgres exception handling</a>. In this one, covers the <a href="http://www.phpbuilder.com/columns/robert_bernier20071102.php3">basics of exception handling for PHP developers</a>.

<blockquote>Postgres exceptions are quite different from PHP exceptions; whereas PHP 5 uses the traditional "Try And Catch" format, Postgres exceptions can only be defined, executed and processed inside the body of the function that triggered the exception.</blockquote>

Also <a href="http://www.phpbuilder.com/columns/robert_bernier20071102.php3">in the article</a> he covers RAISE statements, how Postgres handles them, and gives good practices on how to use them effectively as a method of troubleshooting errors.]]></description>
      <pubDate>Wed, 07 Nov 2007 06:01:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: phpPgAmin 4.1 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/7140</guid>
      <link>http://www.phpdeveloper.org/news/7140</link>
      <description><![CDATA[<p>
The phpPgAdmin development team is happy to <a href="http://people.planetpostgresql.org/xzilla/index.php?/archives/286-phpPgAdmin-4.1-Released.html">announce the release</a> of the latest version of their software - phpPgAdmin 4.1.
</p>
<blockquote>
The phpPgAdmin Team is proud to announce a new major release of
phpPgAdmin. Version 4.1 adds many new features, bug fixes and
updated translations over the previous version.
</blockquote>
<p>
Updates include:
<ul>
<li>New icons by Niko , from the graphics repository on
pgFoundry
<li>Send encrypted passwords over the wire wherever possible
<li>Display Prepared Transactions
<li>Add Support For IN/OUT Parameters
</ul>
and many more. Check out <a href="http://people.planetpostgresql.org/xzilla/index.php?/archives/286-phpPgAdmin-4.1-Released.html">this posting</a> for a more complete listing or just head straight to <a href="http://phppgadmin.sourceforge.net/?page=download">the download page</a> to grab the update.
</p>]]></description>
      <pubDate>Mon, 22 Jan 2007 10:41:00 -0600</pubDate>
    </item>
  </channel>
</rss>
