Andrei,

> Perhaps I'm missing something, but can you explain how this is better
> than what we have now?
the power of abstraction <g>

i'll give you an example of why i want it. im working on resultset caching
in a DB astraction layer, and im giving the user the option of saving to XML
or a more compact format. i'd like to give the user options as to how and
where the data is stored. if the user has file system access and wants to do
it that way, then fine. if however, they want to use the session mechanism
and stick it into a zval string, then its gravy. the point is to allow for
flexibility.
   in any case, its a pain to have to write two sets of code to write to a
'proper' stream (file or sockets) , and to write another set of routines to
store to a string. with a unified approach, you get the flexibility you need
all for free.

l0t3k

Andrei Zmievski <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 23 Oct 2001, Wez Furlong wrote:
> > Yep, or something like it.
> >




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to