Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20078 invoked by uid 1007); 6 Aug 2003 03:00:41 -0000 Message-ID: <20030806030041.20077.qmail@pb1.pair.com> To: internals@lists.php.net Date: Wed, 6 Aug 2003 00:00:41 -0300 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Posted-By: 200.196.104.198 Subject: PHP archive From: cunha17@uol.com.br ("Cristiano Duarte") Not so long ago, it was proposed that we should have an PHP archive model like Java does. I think it might me useful for application deployment. Someone posted that PEAR::Config has this feature. I could find such feature. What was proposed is something like this: File: application.php The archive my_application.par (could be an .zip, etc) would have these three files inside: application.php classes/MyClass.inc.php files/test.txt And this standalone application is executed with: php -p php -p my_application.par application.php Since PHP already have an ZIP file extension and now the filesystem functions have an improved abstraction layer, maybe it's time to think about adding transparent ZIP support on this abstraction layer. Cristiano Duarte.