News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP Town Hall:
Episode 10 Postgres, Bla, Bla, Cider
July 25, 2013 @ 09:29:53

The PHP Town Hall podcast has released their latest episode today - #10: Postgres, Bla, Bla, Cider.

This time around we're joined by Selena Deckelmann, who as a Postgres contributor talks to us about some of the burning questions many PHP developers often have about Postgres when considering it as a replacement for the PHP's defacto-standard relational DB: MySQL.

We ask "Why are so few of the "cool kids" using Postgresql?" and "What are the most important differences between MySQL & Postgres?", and after a bunch of useful discussion on things like true full text search, complex indexes, PostGIS and Foreign Data Wrappers we end up discussing cider and chickens. Standard.

You can listen to this latest episode either through the in-page player, by downloading the mp3 directly or subscribing to their feed.

0 comments voice your opinion now!
phptownhall podcast ep10 postgres cider selenadeckelmann

Link: http://phptownhall.com//blog/2013/07/24/episode-10-postgres-cider

Chris Hartjes' Blog:
The Devil's In The Details (or, Handling Sequences in Postgres in CakePHP)
February 04, 2008 @ 08:47:00

Chris Hartjes has shared his experiences in dealing with the combination of Postgres and CakePHP and convincing it to work with sequences in your tables.

I had been struggling with some weirdness that CakePHP has been displaying while trying to add some new features to the baseball league website, where Cake + PHP 4.4 + Postgres were deciding to just be sulky and not work together well.

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.

He includes the code for the Model that creates the connections between hos tables (belongsTo) and creates a sequence global to the class - note the naming convention.

0 comments voice your opinion now!
sequence postgres database cakephp framework example


PHPBuilder.com:
A Primer On Postgres Exception Handling For The PHP Developer, Part 2
November 16, 2007 @ 09:35:00

PHPBuilder.com has posted part two of a series they're working through introducing PHP developers to the world of exception handling in the Postgres database.

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.

They create a few examples:

  • handling other error conditions with OTHERS
  • using f_ex2
  • returning NO_DATA_FOUND and TOO_MANY_ROWS
  • handling exceptions like table constraints
  • nested exceptions
  • using f_ex5
  • a RAISE EXCEPTION dilemma
  • using f_ext1
0 comments voice your opinion now!
postgres exception handling developer primer postgres exception handling developer primer


PHPBuilder:
A Primer On Postgres Exception Handling For The PHP Developer
November 07, 2007 @ 06:01:00

On PHPBuilder, Robert Bernier has started writing a series of articles on Postgres exception handling. In this one, covers the basics of exception handling for PHP developers.
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.
Also in the article he covers RAISE statements, how Postgres handles them, and gives good practices on how to use them effectively as a method of troubleshooting errors.
0 comments voice your opinion now!
postgres exception handling trycatch raise postgres exception handling trycatch raise


Community News:
phpPgAmin 4.1 Released
January 22, 2007 @ 10:41:00

The phpPgAdmin development team is happy to announce the release of the latest version of their software - phpPgAdmin 4.1.

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.

Updates include:

  • New icons by Niko , from the graphics repository on pgFoundry
  • Send encrypted passwords over the wire wherever possible
  • Display Prepared Transactions
  • Add Support For IN/OUT Parameters
and many more. Check out this posting for a more complete listing or just head straight to the download page to grab the update.

0 comments voice your opinion now!
phppgadmin postgres release version features phppgadmin postgres release version features



Community Events





Don't see your event here?
Let us know!


composer symfony library community security tool framework laravel opinion conference artisanfiles podcast version introduction language interview list series voicesoftheelephpant release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework