Answer the question
In order to leave comments, you need to log in
How to build distributions correctly?
Good afternoon
There is a program that has several editions that differ in functionality.
Depending on the key, the server collects the distribution in zip with a certain set of modules and sends it for download.
How to properly store distributions on the server?
1. Option: On the server in one zip archive there is a core + all modules (maximum edition).
Depending on the key, the necessary modules are removed, leaving only what is available for this user.
In this option, we work with only 1 archive (we open 1, we create the second).
One version - 1 archive.
2. Option: The core (minimum edition) and 10 modules are stored in separate zip archives on the server.
Depending on the key, I add the necessary modules and create an archive.
Here, to create an archive, you have to open several archives in order to collect everything into one.
One version - 1 folder and it has a lot of archives.
PHP ZipArchive is used for assembly.
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question