Re: Template style question
| From: | Robert Cummings | Date: | Wed, 09 Nov 2005 01:31:45 +0000 |
| Subject: | Re: Template style question | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225356@lists.php.net to get a copy of this message | ||
On Tue, 2005-11-08 at 20:21, Richard Lynch wrote:
> On Tue, November 8, 2005 6:23 pm, Robert Cummings wrote:
> >
> > I don;t think your the target audience, you don't see the need for OOP
> > either :/
>
> au contraire!
>
> I see [have seen] many needs for OOP.
>
> The largest group of those needs is nowhere near a web-server. I
> spent most of a decade writing Lisp code for AI research. You can't
> get much more OOP than Common Lisp. Makes PHP's OOP look wimpy. :-)
> :-) :-)
>
> [-- SNIP --]
Ok, that was a good qualification of your stance on web oriented OOP. I
must say I generally agree with what you wrote. My biggest peeve with
OOP'ers are the ones that think it's ok to retrieve 100 results from a
database table, turn those 100 rows into objects, then recursively
retrieve the subdata for each of those objects from the database. One
site I took over on generated 18000 queries on the home page *shudder*.
Fortunately database transfers are pretty zippy when the database is on
the same machine, but as we all know, that's not scaleable :)
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'