Working with archives/compress - revZip or Compress
Posted: Wed Jul 03, 2013 8:26 pm
Greetings everyone.
I'm developing an application that will work with files inside a zip/archive. Basically the archive will contain some XML files that I will be updating frequently and some images that will be used in the application. The XML will have the configurations of the project and the user will be able to add/remove images from the project (so every images that the user adds, will be added to the archive and should be linked to the file inside the archives.
Basically this is how I'm going to use the archive, to group all images the user add to the project and to store the project configurations. So, I'll be constantly reading and writing in the archive.
I realize that regarding to archives/compression there are 2 option in livecode: Compress/Decompress (that uses gzip) and the revZip.
I have been researching a bit about both options tu understand them more but would like some experienced opinion on this matter. For now, I just need to put all the files together in an archive and be able to place images in the stacks that refer an image inside the archive. Later I may need to do the same but all on memory (that is, the archive is all on memory and there's no physical file on the disc) and also compress to reduce the size.
So, you guys think this is doable? what do you think it would be the better option: revZip or Compress?
any suggestion?
Many thanks for any guidance.
- Miguel
I'm developing an application that will work with files inside a zip/archive. Basically the archive will contain some XML files that I will be updating frequently and some images that will be used in the application. The XML will have the configurations of the project and the user will be able to add/remove images from the project (so every images that the user adds, will be added to the archive and should be linked to the file inside the archives.
Basically this is how I'm going to use the archive, to group all images the user add to the project and to store the project configurations. So, I'll be constantly reading and writing in the archive.
I realize that regarding to archives/compression there are 2 option in livecode: Compress/Decompress (that uses gzip) and the revZip.
I have been researching a bit about both options tu understand them more but would like some experienced opinion on this matter. For now, I just need to put all the files together in an archive and be able to place images in the stacks that refer an image inside the archive. Later I may need to do the same but all on memory (that is, the archive is all on memory and there's no physical file on the disc) and also compress to reduce the size.
So, you guys think this is doable? what do you think it would be the better option: revZip or Compress?
any suggestion?
Many thanks for any guidance.
- Miguel