RE: DEV: Version Control MODULE for Contributions 0.1

will <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <f9a7b7a1acd2bef091db5a0905172293@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=157132#157132
----------------------------------------------------------------

also this will cause speed issues that i only see upon a second examination of your proposed solution.

You are inserting the details for each contribution into the 'configuration' database table. Part of the procedure that is followed by each php script that makes up oscommerce is to read every item in the configuration table into php constants. If you have 20 contributions installed, you are using up extra memory, and placing extra (and unnecessary) load on the database server. Have you thought about creating an extra table in the database to hold the contributions information? It would require a little more coding on the administration side, but it would be worth it for the lower overheads & extra stability that it would provide.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.