Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87367 invoked by uid 1010); 21 Mar 2007 13:28:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87351 invoked from network); 21 Mar 2007 13:28:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2007 13:28:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:31745] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/F6-21072-8F231064 for ; Wed, 21 Mar 2007 08:28:29 -0500 Received: (qmail 521 invoked from network); 21 Mar 2007 13:26:17 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 21 Mar 2007 13:26:17 -0000 Message-ID: <460132EC.3020605@zend.com> Date: Wed, 21 Mar 2007 16:28:12 +0300 User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: RQuadling@GoogleMail.com CC: internals@lists.php.net References: <1405337330.20070315155023@marcus-boerger.de> <4E49AB3E-7BCE-4B10-8696-F0427C4AAAD4@prohost.org> <1475201111.20070315162711@marcus-boerger.de> <167173066.20070315224827@marcus-boerger.de> <45049.216.230.84.67.1174434279.squirrel@www.l-i-e.com> <4600F35E.2050707@zend.com> <1174481295.24632.209.camel@blobule> <10845a340703210615v625c4adby7214de36005ad990@mail.gmail.com> In-Reply-To: <10845a340703210615v625c4adby7214de36005ad990@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] GSoC From: antony@zend.com (Antony Dovgal) On 03/21/2007 04:15 PM, Richard Quadling wrote: > I agree. Because I can use 1 language to deal with web/cli/gui, I can > create classes which can be used in all 3 environments (though I'm not > GUI-ing at the moment). And from that single code base I can fix > multiple applications instantly without the need to recompile hundreds > of programs and libraries. I can potentially enhance all the > applications by adding new functionality. All sorts of good things. > > Being interpreted and having multiple modes of operation is a > fantastic thing. I no longer write C/Delphi/BAT/sh scripts. I write > PHP classes and use them wherever I want/need. Testing via a CLI is a > lot easier sometimes than via a browser. > > Though, I probably WOULDN'T to video encoding using userland PHP, > being able to do some things in userland PHP via an extension to a > library would be excellent. > > The JEDI project for Delphi comes to mind > (http://www.delphi-jedi.org/). In its simplest form, the results of > the JEDI project is to allow Delphi to interact with any library. > Normally libraries have .h header files. But Delphi doesn't so the > JEDI project is a massive repository of code to allow you to interact > with these libraries. > > JEDI extends the capabilities of Delphi considerably. And I doubt > everyone uses every new piece of functionality. > > As a GSoC project idea, how about a mechanism to allow OS interaction > OUTSIDE of a PHP extension? I'm on windows, so that's what I know, but > not all things can be accessed from within PHP. But if there was a way > to "bind" to a particular library (like you would do in compilable > languages), then this could open PHP to a LOT more libraries a LOT > quicker and without the need to understand ALL the intricacies of > PHP's internals. Maybe. You mean something like this? http://pecl.php.net/package/ffi -- Wbr, Antony Dovgal