Re: Better cloning process.
List posts in the topic
Re: Better cloning process.
msg# 1.1.1
I didn't like same source code approach also. It defines same constants many times which generates PHP warnings (most of the time it is suppressed).
Following will be repeated for every clone
Cloned module - mytinyd
define('_MI_TINYD_NAME ', 'TinyD');
Cloned module - yourtinyd
define('_MI_TINYD_NAME ', 'TinyD');
Perhaps it will be better to have something like this
Cloned module - mytinyd
define('_MI_MYTINYD_NAME ', 'TinyD');
Cloned module - yourtinyd
define('_MI_YOURTINYD_NAME ', 'TinyD');
Which is only possible using some scripts which does find and replace in text & file rename.
May be if base module source has some special templating (#MOD#, #PREFIX# #prefix# #mod# etc in text and file name) then cloning tool can do find and replace job more reliably.
Votes:0
Average:0.00
Posts tree