My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://ashokbasnet.com.np
and update your bookmarks.

Showing posts with label Virtual Modification. Show all posts
Showing posts with label Virtual Modification. Show all posts

Friday, January 11, 2013

vQmod installation in Opencart

Interestingly, vQmod was originally developed for Open Cart ! But due to "openess" of the design, it has been used by other systems too.

In OpenCart (OC), extending your site's features usually results in modifying the program core codes. There are many reasons why this practise in not favorable - a major one is that it is not easily reversible. Say when you modified some codes and wanted to reinstate the original for some reason, it can be quite tedious.

Virtual File Modification System (vQmod)

Have you ever thought of modifying the core of any framework? Then vQMod is the best way to do it.

transparent-400x113"vQmod™" (aka Virtual Quick Mod) is an override system designed to avoid having to change core files. The concept is quite simple... Instead of making changes to the core files directly, the changes are created as xml search/replace script files. These script files are parsed during page load as each "source" core file is loaded with the "include" or "require" php functions. The source is then patched with the script file changes, and saved to a temp file. That temp file is then substituted for the original during execution. The original source file is never altered. This results in a "virtual" change to the core during execution without any actual modification to the core files.