Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53151 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17589 invoked from network); 7 Jun 2011 15:06:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 15:06:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=martinscotta@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=martinscotta@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martinscotta@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:55711] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/30-15404-86E3EED4 for ; Tue, 07 Jun 2011 11:06:16 -0400 Received: by vwl1 with SMTP id 1so4128503vwl.29 for ; Tue, 07 Jun 2011 08:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=o3VzsJJZRBIeQFifZIe5sqS7ctvQjIZJX2vGfDTxm7c=; b=hEiiYsZ4cL0hIvczYvlNXfFrFvZNFhoGoqH/jZLZHwj1uUY+6CjYECnDxIk9RcI+CU Rfi9WbTWsGmqQq+A0bXnRRmBdGWCx4eEyKV4LYT+yN6qvh5kH+d9syKRRAQBDNv6nkJk /YEp0aefqWD/HGYUO7v+v1wDCDvvvPAzIDgow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=L3wFBFiTjm/glkpDU/77lZtdpeoC+3tevKhuIxqj4wxpDZke3dlNnLeBnMPoE2qyut NxPf1EqHFWAH9RxoMz1DZWqwhogThxldjgcN2txFUNULdCaizfoppbjRsq4TflxFJIfX a8lx1CvYitvWL9Ofb7usY4NlA7EobRL15W7nQ= MIME-Version: 1.0 Received: by 10.52.111.231 with SMTP id il7mr6102203vdb.58.1307459172625; Tue, 07 Jun 2011 08:06:12 -0700 (PDT) Received: by 10.220.192.129 with HTTP; Tue, 7 Jun 2011 08:06:12 -0700 (PDT) In-Reply-To: <4DEDF049.7050504@gmail.com> References: <8757232E56758B42B2EE4F9D2CA019C901499F97@US-EX2.zend.net> <97.45.23189.8060DED4@pb1.pair.com> <4DED5F9B.7060101@thelounge.net> <4DEDC9F5.3030403@thelounge.net> <4DEDF049.7050504@gmail.com> Date: Tue, 7 Jun 2011 12:06:12 -0300 Message-ID: To: David Muir Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec54862628aebe804a5208f29 Subject: Re: [PHP-DEV] Bundling "modern" extensions From: martinscotta@gmail.com (Martin Scotta) --bcaec54862628aebe804a5208f29 Content-Type: text/plain; charset=ISO-8859-1 Martin Scotta On Tue, Jun 7, 2011 at 6:32 AM, David Muir wrote: > On 07/06/11 15:49, Reindl Harald wrote: > > > > Am 07.06.2011 04:42, schrieb Martin Scotta: > >> On Mon, Jun 6, 2011 at 8:15 PM, Reindl Harald >wrote: > >> > >>> Am 06.06.2011 23:40, schrieb Martin Scotta: > >>> > >>>> It'd be very nice if some extension could be enabled just by dropping > the > >>>> "extension file" on the path. > >>>> So developers can check what they have using phpinfo, and then upload > the > >>>> needed extension using ftp. Is it possible? > >>> if a "developer" only would try such idiotic action > >>> he would lost his accounts forever and get fired from > >>> one day to the next! > >>> > >>> WTF how can anybody have the idea that it would be a good > >>> idea to let non-sysadmins uplod and execute binaries on a > >>> server? > >>> > >>> > >> Thanks you for all yours responses. > >> Now it's clear what the issue is... the usage of compiled "libraries". > >> > >> We need some middleware between the core and PHP. > >> That way extensions could be written in PHP, compiled and distributed in > >> some "library" format. > >> Library users just add them into their path, include them, and use the > >> classes/functions as usual. > >> > >> - No OS dependence > >> - minimum dependence with core version > >> - size of core will reduce drastically > >> - faster runtime, include only what libs you use, as you need them > > what are you speaking about and since how long you are working > > with PHP that you never heard about PEAR, ZendFramework....? > > > > And you should know that PEAR and ZF are user-land libraries, not > compiled libraries. > > I think Martin is wishing for is the PHP Native Interface: > https://wiki.php.net/rfc/php_native_interface > > Either that, or a PHP equivalent of Cython or Pyrex. > > Cython or Pyrex are good examples of what I meant. I'm not sure about the PNI Cheers, > David > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --bcaec54862628aebe804a5208f29--