Which archive (zip, bzip2, gzip etc) is best suited for...

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Cogs
Forum Newbie
Posts: 17
Joined: Thu Mar 27, 2003 4:57 pm

Which archive (zip, bzip2, gzip etc) is best suited for...

Post by Cogs »

I apologize for the vague subject, but I ran out of space.

I am creating an open source CVS alternative slash groupware slash PHP editor, called Medit (multi user editor) targeted at people who are learning PHP and/or PHP hobbyist who do not have the time to set up and maintain a CVS repository, and have some design issues.

First, I need to know if it is a good idea to use MySQL to store all the copies and files of a PHP application? Would storing the files into an archive (zip, bzip2, tgz, etc) be a better choice?

If I stored the files into an archive; I would need to be able to extract and compress individual files without processing the entire thing, and because this is aimed towards users who do not run there own server, I can only use archive formats that can be manipulated w/o any additional PHP modules. What would be the best one?

Secound, Is data stored in a MySQL database compressed?

I would appreciate any help on this topic.
Post Reply