Re: Apache Scripting Architecture (fwd)

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Apache Scripting Architecture (fwd)
Groups: php.dev 
Request: Send a blank email to php-dev+get-2252@lists.php.net to get a copy of this message
---------- Forwarded message ---------- Date: Fri, 06 Nov 1998 12:24:03 -0600 (CST) From: Jeremie Miller <jeremie@netins.net> Reply-To: new-httpd@apache.org To: new-httpd@apache.org Subject: [PHP-DEV] Re: Apache Scripting Architecture Let me chime in here quickly... in relation to the mod_js or mod_javascript effort going on. There's been very little activity lately, but it's obvious that the ECMAScript engine from Mozilla can be made to work as a server side module, and theres a decent API already growing around that combination written by hankin@dunno.com. I see two seperate things here, an API for an interpreter to sit on top of the functionality/model in PHP, and a generic "scripting" API to allow any language to plug into Apache relatively easily. Right now, mod_js has to do it's own work of handling special mime-types within the server, grabbing the right file(s), extracting the code from the content, and combining it to return a document. I believe that this is similiar to what any typical scripting engine would have to do, but still spereate from the functionality exposed to the scrpts themselves(which is the first API). Maybe I'm explaining this for myself more than anyone else, but I think it looks like this: Apache <-API(A)-> Scripting Engine <-API(B)-> Script Interpreter mod_php, mod_perl, and mod_js already do everything. IMHO a generic API(A) would be very useful for making it easy for newer scripting engines to plug into Apache. Also, I'd love to see an API(B) from mod_php so that other scripting languages might be able to leverage the immense functionality already built into php. Anyways, just my <cent count="2"/> Jer -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2252) next »