Re: [PHP-DEV] RFI: Request for Interfaces

2002-05-07 Thread Wez Furlong
On 07/05/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > Ok, I understand the benefits. I think we should avoid introducing a new > mechanism, and mainstream it on top of the existing resource mechanism, as > integrated as possible: Good! > 1. You would have a basic rsrc_interface_base struc

Re: [PHP-DEV] RFI: Request for Interfaces

2002-05-07 Thread Zeev Suraski
At 12:12 07/05/2002, Wez Furlong wrote: >On 04/05/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > > One thing that I'm personally don't really understand, is what kind of > > support this needs from the infrastructure. As far as I can tell, we > could > > define php_database_interface (example),

Re: [PHP-DEV] RFI: Request for Interfaces

2002-05-07 Thread Wez Furlong
On 04/05/02, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > One thing that I'm personally don't really understand, is what kind of > support this needs from the infrastructure. As far as I can tell, we could > define php_database_interface (example), with the necessary callbacks, and > use it dir

Re: [PHP-DEV] RFI: Request for Interfaces

2002-05-03 Thread Zeev Suraski
At 03:04 04/05/2002, Zeev Suraski wrote: >One thing that I'm personally don't really understand reread entire paragraph after rewriting parts of it -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFI: Request for Interfaces

2002-05-03 Thread Zeev Suraski
One thing that I'm personally don't really understand, is what kind of support this needs from the infrastructure. As far as I can tell, we could define php_database_interface (example), with the necessary callbacks, and use it directly in all pieces of code that require/support it. I don't e

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-21 Thread Stig S. Bakken
On Sun, 2002-04-21 at 20:30, Wez Furlong wrote: > > $xmldoc = domxml_new_xmldoc(); > // populate nodes of document here > > // Now render it using whatever XSLT backend is available > $proc = xslt_create(); > $data = xslt_process($proc, $xmldoc, $xsl); > > The advantage is that the xml doc just

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-21 Thread Wez Furlong
$xmldoc = domxml_new_xmldoc(); // populate nodes of document here // Now render it using whatever XSLT backend is available $proc = xslt_create(); $data = xslt_process($proc, $xmldoc, $xsl); The advantage is that the xml doc just created in code using one extension can be dropped straight into

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-21 Thread Andi Gutmans
Hey, Although this sounds interesting I still have a hard time seeing the end result. Can you please give a description/examples on how this will impact the end user? Thanks, Andi -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-21 Thread Stefan Roehrich
On 2002-04-21 09:42:44, Stig S. Bakken wrote: > I think interfaces are a great API, not just for creating specific > interfaces between specific extensions, but to let any "reusable" > extension define a C interface. With this API, we can solve interface I like this idea, too. This would make a

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-21 Thread Stig S. Bakken
I think interfaces are a great API, not just for creating specific interfaces between specific extensions, but to let any "reusable" extension define a C interface. With this API, we can solve interface versioning problems at runtime too (instead of hacking around with cpp macros and such in the

Re: [PHP-DEV] RFI: Request for Interfaces

2002-04-20 Thread Sterling Hughes
> Following on from my RFC about an interface mechanism, what we really > need is some brainstorming on what interfaces we need or would like to > have in PHP. I'm aiming at PHP 5. > > The following concepts have already been mentioned either by myself or > others as being something we'd like to

[PHP-DEV] RFI: Request for Interfaces

2002-04-20 Thread Wez Furlong
Following on from my RFC about an interface mechanism, what we really need is some brainstorming on what interfaces we need or would like to have in PHP. I'm aiming at PHP 5. The following concepts have already been mentioned either by myself or others as being something we'd like to see in PHP: