Re: [PHP] PDO: good, popular?

2010-12-14 Thread Larry Garfield
On Tuesday, December 14, 2010 1:02:33 pm Lester Caine wrote: > la...@garfieldtech.com wrote: > > I'm the DB maintainer for Drupal 7, and we rebuilt our entire DB layer > > on top of PDO. It's a rather nice API, although as others have noted it > > does not abstract away SQL entirely; it abstracts

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Paul M Foster
On Tue, Dec 14, 2010 at 03:10:56AM -0800, Sam Smith wrote: > Searching for "PHP CRUD" in hopes of learning the best way to access > databases and to use PEAR or what I came across PDO. > > I want to know the communities opinion of PDO: everyone uses it or no one > uses it or it's great or what?

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Govinda
In previous experience with questions such as these, you will get several types of individual responses to usages of the software. Some good, some bad, depending on the experience level of the commenter with both the language and the code in question. It's a combination of your current understand

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Lester Caine
la...@garfieldtech.com wrote: I'm the DB maintainer for Drupal 7, and we rebuilt our entire DB layer on top of PDO. It's a rather nice API, although as others have noted it does not abstract away SQL entirely; it abstracts the API calls you need to use to get to SQL. We then built a layer on to

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Daniel Brown
On Tue, Dec 14, 2010 at 11:43, Paul M Foster wrote: > > Er... that's Paul McCartney, not Paul Foster. Whew! HA! Sorry to make your heart jump. ;-P -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread David Harkness
On Tue, Dec 14, 2010 at 8:43 AM, Paul M Foster wrote: > Er... that's Paul McCartney, not Paul Foster. Whew! > Paul McCartney's dead?? But the Beatles just released a ton of albums on iTunes! So sad...

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Adam Richardson
On Tue, Dec 14, 2010 at 6:10 AM, Sam Smith wrote: > Searching for "PHP CRUD" in hopes of learning the best way to access > databases and to use PEAR or what I came across PDO. > > I want to know the communities opinion of PDO: everyone uses it or no one > uses it or it's great or what? > > Thanks

Re: [PHP] PDO: good, popular?

2010-12-14 Thread la...@garfieldtech.com
I'm the DB maintainer for Drupal 7, and we rebuilt our entire DB layer on top of PDO. It's a rather nice API, although as others have noted it does not abstract away SQL entirely; it abstracts the API calls you need to use to get to SQL. We then built a layer on top of that which does abstrac

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Richard Quadling
On 14 December 2010 15:45, David Hutto wrote: > From my experience with several languages, once you know the basics, > even if you do re-invent the 'wheel', so did firestone,michelin, and > goodyear, and they're not complaining. And you'll feel better for > reinventing, than using someone elses.

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Paul M Foster
On Tue, Dec 14, 2010 at 11:15:59AM -0500, Daniel Brown wrote: > On Tue, Dec 14, 2010 at 09:29, Robert Cummings wrote: > > > > I must have been under a rock when the reference came out :| > > Or you may have still been in shock from hearing that Paul was dead. Er... that's Paul McCartney, no

Re: [PHP] PDO: good, popular?

2010-12-14 Thread David Hutto
In other words, in ten years from now, even the advisors you get today will rethink their answers with 20/20/hindsight, and not think about your ignorance of technology, but their own. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Richard Quadling
On 14 December 2010 11:10, Sam Smith wrote: > Searching for "PHP CRUD" in hopes of learning the best way to access > databases and to use PEAR or what I came across PDO. > > I want to know the communities opinion of PDO: everyone uses it or no one > uses it or it's great or what? > > Thanks > If

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Daniel Brown
On Tue, Dec 14, 2010 at 09:29, Robert Cummings wrote: > > I must have been under a rock when the reference came out :| Or you may have still been in shock from hearing that Paul was dead. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General

Re: [PHP] PDO: good, popular?

2010-12-14 Thread David Hutto
On Tue, Dec 14, 2010 at 6:10 AM, Sam Smith wrote: > Searching for "PHP CRUD" in hopes of learning the best way to access > databases and to use PEAR or what I came across PDO. > > I want to know the communities opinion of PDO: everyone uses it or no one > uses it or it's great or what? In previou

[PHP] Re: PDO: good, popular?

2010-12-14 Thread Nathan Rixham
Sam Smith wrote: Searching for "PHP CRUD" in hopes of learning the best way to access databases and to use PEAR or what I came across PDO. I want to know the communities opinion of PDO: everyone uses it or no one uses it or it's great or what? It's probably you're best bet, and is certainly go

Re: [PHP] Use PHP the way God intended...

2010-12-14 Thread Robert Cummings
On 10-12-14 07:11 AM, Jay Blanchard wrote: [snip] Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles say, "Rasmus is the Penguin". (Yes, you have to be dang old to get that obscure reference. ;-) Pshaw, not *that* old! I get the reference, and I'm only . . . oh, damn. :(

RE: [PHP] Use PHP the way God intended...

2010-12-14 Thread Jay Blanchard
[snip] > Nah, if he'd read it backwards, you'd be able to hear MePHPistoPHPeles > say, "Rasmus is the Penguin". > > (Yes, you have to be dang old to get that obscure reference. ;-) > Pshaw, not *that* old! I get the reference, and I'm only . . . oh, damn. :( [/snip] Uhhyeah -- PHP Genera

[PHP] PDO: good, popular?

2010-12-14 Thread Sam Smith
Searching for "PHP CRUD" in hopes of learning the best way to access databases and to use PEAR or what I came across PDO. I want to know the communities opinion of PDO: everyone uses it or no one uses it or it's great or what? Thanks

Re: [PHP] array_multisort into Natural order?

2010-12-14 Thread Richard Quadling
On 14 December 2010 10:50, Richard Quadling wrote: > On 13 December 2010 19:59, George Langley wrote: >> Hi all. Can use natsort($array1) to sort a single array of filenames into a >> "natural "alphanumeric order - 1.php, 2.php, 5.php, 10.php, 20.php, etc. >> But using array_multisort($array1, $

Re: [PHP] array_multisort into Natural order?

2010-12-14 Thread Richard Quadling
On 13 December 2010 19:59, George Langley wrote: > Hi all. Can use natsort($array1) to sort a single array of filenames into a > "natural "alphanumeric order - 1.php, 2.php, 5.php, 10.php, 20.php, etc. > But using array_multisort($array1, $array2, $array3) doesn't offer a natsort > option, so I