Page 1 of 1

VQMOD for HESK

Posted: Tue Oct 13, 2015 2:12 am
by ey4fun
i wanted to know if its on "to do" list to add something like VQMOD for opencart to Hesk ?

i think its a good idea for other mods/extensions/plugins

Re: VQMOD for HESK

Posted: Fri Oct 16, 2015 6:52 pm
by Klemen
It's not on my to do list, no.

I don't know much about vQmod, but after a short read what's the point of such a system if it also requires editing the original files (add includes) and just adds more overhead.

I think it's easier, faster and clearer to for example create a Git branch for your changes. There you can make, track, revert, apply, patch, ... changes as needed whenever needed. It's what versioning systems were designed for.

Re: VQMOD for HESK

Posted: Mon Oct 19, 2015 2:51 am
by ey4fun
i think its a very good system ! you just need to see the big picture.

i absolutely LOVE Hesk ! i think its a very powerfull system.

im not a programer, i know a few things but definitely not a programer.
imagine you can create a market place where developers can create mods and sell them,

and Mods that doesn't touch the core files of the system, and in any time you can remove it.

"is a powerful system designed to help developers when they have to edit system core files. The vQmod, by it's nature, help you alter source files without actually editing them. All changes are saved in a temporary file which is substituted for the original during execution"

so a developer can create a Mod file
I (not a programer) take the xml mod file and place it in a folder and that it!
the mod/extension is added to my system. (without looking for any code file and replacing/deleting/adding)

so that depends how you see things.

personally i would buy Mods for a decent amount.

we can build something like that i think its very powerfull, and if you create the marketplace that would be awesome.

Re: VQMOD for HESK

Posted: Mon Oct 19, 2015 2:37 pm
by Klemen
I agree, a simple "plugin" system could be added to HESK in the future, just not sure if it'll be VQMOD or something other.

Re: VQMOD for HESK

Posted: Tue Sep 03, 2019 9:57 pm
by OSWorX
Coming from both worlds, I can say only that the base iea of VQMod was excellent (had something similar in my own scripts before those 2 guys published their system).

The idea behind VQMod is simple: a developer simply create a xml-file.
Inside the so called 'entry points' - nothing else then a part of the file which has to be modified.

For example:

Code: Select all

<aside class="main-sidebar">
And you want to have an additional item before this line.
Normally you edit this file, add what you need, and that's it.

But what, if also other - and especially those with no or less technical backgound - want to use the same modification?
They fiddle around and finally they visit this forum and cry for help ...

Not this is the point of VQMod: somply install the base system, add the xml-file to it - voila, that's it.
And if you do not want to use that modification anymore, simply delete the xml-file.

And it is not limited to HTML-tags.
You can also change and add php-code, as well as template (at Hesk .txt files).

You want to extend the email chec functionality?
Simple call

Code: Select all

function checkRequiredEmail(field) {
and add what you want/need.

And so on ..

A perfect system for noobs.
And a easy system for developers.

OpenCart itself has included a similiar ystem based on VQMod.
Works also with xml-files, similiar syntax, not compatible.

Okay, Hesk you ld it do also with events - would be like te VQMod at the end.
But to be able to add events, Hesk should have events or hooks ot how you want to call it.

I took a look into the lastest (2.8.4) version today - first look was 2012.
Well, the code has no really ongoing development, use the same mixture of code and HTML parts in one file.
Good that is not so bloaded as other systems after that amount of years.
But I would klike to see a bit more development, php 7.3 is out - but hesk stays on the level of php 4.x

No offense Klemen, just my opinion.