Page 1 of 1

vqmod to real core

Posted: Mon Jan 27, 2014 12:46 pm
by pakho
Ok, dont ask me why, but i do not want to use VQMOD,

i want the files to be directly changed and replaced.

most extension use VQMOD.. is there a way to convert them and just replaces permanently my core files ?

Re: vqmod to real core

Posted: Mon Jan 27, 2014 2:29 pm
by butte
Open a /vqmod/xml/*.xml file. Notice that it finds a snippet or block of core code, then substitutes its own snippet or block. It specifies which file(s) it looks at. Do the same -- look inside those target files, find what it wants to replace, and then make the same substitution(s) in the target file(s) and Save (WITHOUT BOM).

Okay, why? When you upgrade, the modified core files will be overwritten. You would have to check your backups against OTHER core changes that exist only in the newer version (upgraded to).

Re: vqmod to real core

Posted: Mon Jan 27, 2014 5:29 pm
by ogun
If you temporarily install vqmod, you can get your mods just how you want them, and then replace the 'real' files with the ones from your vqcache folder (which will have all the mods applied).

Re: vqmod to real core

Posted: Tue Jan 28, 2014 1:27 am
by butte
You would want to be certain that your /vqmod/logs/ as well as your system/logs/ have been suitably silent and that behaviors in both storefront and admin have been entirely appropriate even if some errors, warnings, notices, and mere information weren't logged. Pick your poison.

Whatever you do to core, and however you go about changing core, keep a record of changes and swaps. Otherwise, when you upgrade the changes will likely be overwritten by the upgrade, rather than remaining safe and sound in /vqmod/.

Re: vqmod to real core

Posted: Tue Jan 28, 2014 1:59 am
by nvedia
pakho wrote:Ok, dont ask me why, but i do not want to use VQMOD,
Sorry but still curious, why would you not want to use VQMOD?

Re: vqmod to real core

Posted: Tue Jan 28, 2014 2:06 am
by butte
"Okay, why?" now has two of us behind it, you're outnumbered. And one of us has a four-rotor helithingy.

Re: vqmod to real core

Posted: Fri Feb 07, 2014 11:09 am
by pakho
because i dont want to add another layer to my website. Even if VQmod says it wont make the website slower, i personally have a fate in me that makes me believes it makes my website slower.

And i dont really use the upgrades because i have the 5.2 version and ill stick with it since i use a french/english version that isnt updated more than 5.2.

Thank you for your answers.

Re: vqmod to real core

Posted: Fri Feb 07, 2014 8:42 pm
by nvedia
pakho wrote:because i dont want to add another layer to my website. Even if VQmod says it wont make the website slower, i personally have a fate in me that makes me believes it makes my website slower.

And i dont really use the upgrades because i have the 5.2 version and ill stick with it since i use a french/english version that isnt updated more than 5.2.

Thank you for your answers.
Not to argue, but do you have any benchmark to prove that vqmod is slower
In fact, I feel since vqmod makes total lesser files, it should be slightly faster

Re: vqmod to real core

Posted: Fri Feb 07, 2014 9:20 pm
by Qphoria
pakho wrote:french
Ah, that explains it :laugh:

Re: vqmod to real core

Posted: Sat Feb 08, 2014 12:29 am
by pakho
nvedia wrote:
pakho wrote:because i dont want to add another layer to my website. Even if VQmod says it wont make the website slower, i personally have a fate in me that makes me believes it makes my website slower.

And i dont really use the upgrades because i have the 5.2 version and ill stick with it since i use a french/english version that isnt updated more than 5.2.

Thank you for your answers.
Not to argue, but do you have any benchmark to prove that vqmod is slower
In fact, I feel since vqmod makes total lesser files, it should be slightly faster
i dont have any benchmark but if it would make it faster, everywebsite would use this technology, not for adding things but to display the whole website.

Re: vqmod to real core

Posted: Sat Feb 08, 2014 1:21 pm
by butte
No, that mixes apples and grasshoppers. When normal uses of vqmod find specific code and replace it, the result is cached in /vqmod/vqcache/. If vqmod were used to deliver entire websites, then found code would be replaced even with the same code, and cached the same way. In usual delivery of entire websites, the time to find and replace even with the same code is circumvented and other means of caching are (optionally) deployed. The reasons for using vqmod or the override engine concern finding and replacing code without editing core code itself, the editing is relegated to /vqmod/xml/ files. Those reasons do not apply to delivering entire websites that are otherwise intact, unedited.