In about a month or so, i'll start work on an extension implementing a file 
format which allows for bundling all resources related to a app (including 
PHP source, localized strings, gifs, byte-code from BCompiler etc). the 
format has an heirarchical internal structure and allows for introspection 
and fallback.

 these files will be mmapped and reference counted once loaded for 
performance.

This will basically be an adaptation of ICU's resource bundle code, which 
has issues with being useful as-is for such projects in multi-host 
environments.

The disadvantage over Tar or other archive formats is that they are 
standardized, and have lots of available tools which can be used to 
manipulate them. The advantage over other formats is that the resources can 
be used in-place using a custom PHP stream (i.e. run in place - no 
unzipping). Of course, anything can be stuffed into the files, so if 
companies want to encrypt source/data, they are able to do so (and use a PHP 
stream filter to extract/decrypt).


l0t3k

"Daniel Convissor" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On Thu, Mar 10, 2005 at 22:25:39 +0800, Marcus Boerger wrote:
>> For a short idea, we could implement something like jar's possible named
>> par as in php archive :-)
>
> Have you take a look at Davey's proposed PEAR::PHP_Archive package?
> http://pear.php.net/pepr/pepr-proposal-show.php?id=88
>
> --Dan
>
> -- 
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>            data intensive web and database programming
>                http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to