I already have raised the issue on #modx on IRC lately...
I am starting to worry about those snippets "mods" that recently started flourishing on the board : DropMenu, FlexSearchForm ,NewsListing and many more have been modified one or more times. Don’t get me wrong,
I am not against those improvements, on the contrary !
But having several "branch" of a snippet will undoubtedly become
less and less efficient as time goes by, because we might end up with 5, 6 or even more versions of a given snippet, because the person who modded it might not update it in the future (same goes for support) and also because this modded version might not be upgraded when the main branch is.
Now, I think we should define some kind of
criterias to define which should possibly be integrated into the main branch and which should not (not every modification to a snippet should be). For me those who should be integrated into the main branch are :
- those whose features meet the widest audience’s needs
- those who are "cleanly coded" (no serious bug, use of API rather than other methods) and documented
- those who don’t cause a significant drop in performance
Here are a few items I have been thinking about, but it’s not really "my part" so I expect corrections and additions to be made...
This of course raises the issue of having people who write mods cooperate with the original snippet developper. We could have a sticky in the Modules, plugins and Snippet forum that would give some advice and direction regarding snippets improvement and how to make the community best benefit from them...
What do you think ?