Re: google SoC - dbobj
| From: | Richard Lynch | Date: | Mon, 19 Mar 2007 21:51:57 +0000 |
| Subject: | Re: google SoC - dbobj | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28457@lists.php.net to get a copy of this message | ||
On Mon, March 19, 2007 1:59 pm, Bankó Ádám wrote:
> 2. In C I can implement all the structure I want (as long it's sane)
> without much worrying about what performance cost it will have. I
> wouldn't do the same in PHP. I'm talking about separate classes for
> every database column type and abstract data type; separate object for
> every value I get from the database, and present to the script. That's
> a
> lot, and I don't think I would use this structure in PHP.
I'm certainly not the most experienced on this list, but...
I don't think you'd want the RAM/performance hit of that, even in C...
[shrug]
OTOH, I don't think I'd even want to use an ORM, so feel free to
ignore me completely. :-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?