Re: Studlycaps and MySQLi

From: Date: Tue, 23 Mar 2004 20:41:26 +0000
Subject: Re: Studlycaps and MySQLi
References: 1 2 3 4 5 6  Groups: php.internals php.internals 
Request: Send a blank email to internals+get-8702@lists.php.net to get a copy of this message
Marcus Boerger wrote:
I already changed SQLite because as far as i know there were only two extensions left which didn't follow studlyCaps convention which we agreed upon twice so far - even though ppl pretend we hadn't. The only other extension i spotted so far not following studlyCaps is ming - and that at least doesn't use dashes and is still experimental. And to say it again, i bet only a handful of ppl are using mysqli's oo api right now but many ppl use things like __toString() already.
Heh -- yes, & I'd like to add that doing a find and replace on mysqli function names would be far, far easier than trying to track down all the places where I had used the implicit __toString() call through (string) casts and concatenation ... and echo/print ... (I'm sure I haven't found them all yet.) I also doubt that really anyone is using the mysqli OO API directly ... (I kinda would hope that people building PHP5 apps would be using some kind of db abstraction system, whether PDO or PHP-based.) just my [not-that-valuable] .02 Hans

« previous php.internals (#8702) next »