Princeton |
04-26-2006 03:58 PM |
1 Attachment(s)
Quote:
Originally Posted by gio~logist
This is a question to the average vbulletin webmaster. Over in the coder's section, we've been discussing whether or not it's for the benefit of the user to have less when installing a modification (IE no template or file edits and a quick install, or having to learn how to edit and dealing with that).
What do you guys think?
Just give me a working modification with a clean install, no template or file edits needed.
or
I prefer a learning experience using information given and trial and erorr in order to learn more.
Feel free to express your opinion in your post as well.
|
This is actually misleading ... you should explain in detail so that everyone knows the pros and cons..
Quote:
Originally Posted by gio~logist
Just give me a working modification with a clean install, no template or file edits needed.
|
what he means here is that a plugin is created (for a product) that will "search and replace" a specific string within a template so that you do not have to do manual template edits
PROS:- You will not have to do any edits - just upload the product xml file and you are finished.
- Coder's don't have to worry about supporting issues such as template editing.
CONS:- Coder is assuming you're using a default vbulletin style (at the extreme level, a style that has been modified slightly).
- Coder is assuming that you will not add a product that will clash with their product. Coder is assuming you will take care of this problem on your own if this does happen.
- Each time "search and replace" has to run it will use cpu resources -- this will happen each time templates have to be cached. Why use resources when they could be avoided?
- More Plugins are required to do such edits ... do the math ... if you have about 100 products installed that's 100 more plugins that are not needed (increase memory usage).
- Creating / Adding a new custom design will take longer (increase cost)
- Templates are not edited directly; so, you will NOT be able to see the changes on your style/template ... all changes are done at run-time when templates are cached
- A designer will now need to know how to edit the plugin for each product if necessary. Do they know how to edit XML files or PHP? If not, you will need to hire someone that does.
- One product's "search and replace" could hurt how another product is displayed or worst how the entire site is displayed.
- Searching for the cause of problem will take longer as you now have to look into the plugin not the template. And, if you don't know XML/PHP ... you may need to hire someone who does. (increase cost)
As you might have guessed already, I prefer NOT to use the "search and replace" method. Yes, it may mean that I will get the usual template edit questions. But, at least I know I will not be the cause of any of your troubles later on.
For the adminsitrator (non-coders) who prefer the "search and replace" method ... you will be better off doing it yourself or paying someone to do the manual template edits than to pay someone to find the cause of your troubles. Which do you think will cost more in the long run?
Right now, there are only a handful of products that use the "search and replace" so you may not encounter problems as often. However, this number will only increase in time. Hence, so will your problems.
Information provided here is just to provide you with more information so that you can come up with your own conclusions.
With that said, I do understand why coders would want to use the "search and replace" method. At times, I feel like using it myself. :)
0
|