Wednesday, August 29. 2007phar gets a major speed boost with version 1.2.1Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Yep, a real world example would really help (somthing else than that phpmyadmin package). I still don't get it.
What's the point of creating yet another non-standard me-too package format? Why isn't the internal structure just PKZIP? Having MD5 or SHA1 hash values is no more a "signature" than ZIPs CRC32. The cryptic internal byte-length format only adds obscurity, and doesn't make it tamper-safe, faster, more useful or anything else. What is the selling point of phar over zip:// exactly? The bootstrap code could work as well with a ZIP archive - wouldn't it?
unlike .zip, you can run phar archives directly as if they were php files. In other words, if you renamed "blah.phar" to "blah.php" you could access it via
php blah.php or as http://www.example.com/blah.php and it would work just fine. This is not possible with .zip format. Also, you are incorrect about speed - the format is much faster than alternatives. a .zip archive with a tacked on bootstrap would need to strip the bootstrap prior to accessing it, necessitating much more work, and the necessary performance loss. In addition, this would not work with any standard .zip tools, negating the benefits of using .zip
this is definately a good release. I made a dutch manual at the dutch learnwiki
thanx http://www.leerwiki.nl">MD5 |
Calendar
CategoriesPopular EntriesSetting up your own PEAR channel with Chiara_PEAR_Server - the official way
(36) Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer(25) How to put the FAIL in open source(22) doing the PEAR thing(19) Using PEAR 1.4.0 to install PEAR packages on a remote host(19) phpDocumentor and __get/__set/__call - give us your ideas (RFC)(17) PEAR now fits in a bottle: meet go-pear.phar(17) Mac OS X ships with security hole-laden PEAR - how to upgrade immediately(16) Introducing pecl extension phar(13) go-pear.phar works! In related news, PHP_Archive is now PHP 5.1.0+(12) |
|||||||||||||||||||||||||||||||||||||||||||||||||