>> You are very sarcastic, and seems you make fun of me... Not a fair thing.
I don't think this was intended at all. Paul presents a real issue. The point of the plugin is to *not* have to do that. You are able to use all the built in Links functions, and only add/modify the parts you need to. You don't have to rewrite or maintain the parts that GT/alex/etc is doing.
If you do duplicate the functionality, you have to rewrite the code each time, which is what the plugin system was set up to avoid.
The plugin system was a response to all the requests for a way to make changes and modifications survive upgrades.
The way you describe your system, is essentially taking the "old" way, of directly modifying the codes, and stuffing it into a plugin -- sort of a hybrid :) It's a lot of work, and down the road it will most likely lock you into a specific version.
If you "hook" into links, and only alter the parts that need altering, leaving the base codes and functionality intact (doing the pre/post hook dance), you have a much better chance of surviving upgrades.
On the other hand, if you rewrite the functions completely, you need to be aware that if links changes, you'll have to rewrite the function again, instead of just minor updating, or maybe not having to make any changes at all -- something most of us have tried to avoid more than writing templates ;)
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
I don't think this was intended at all. Paul presents a real issue. The point of the plugin is to *not* have to do that. You are able to use all the built in Links functions, and only add/modify the parts you need to. You don't have to rewrite or maintain the parts that GT/alex/etc is doing.
If you do duplicate the functionality, you have to rewrite the code each time, which is what the plugin system was set up to avoid.
The plugin system was a response to all the requests for a way to make changes and modifications survive upgrades.
The way you describe your system, is essentially taking the "old" way, of directly modifying the codes, and stuffing it into a plugin -- sort of a hybrid :) It's a lot of work, and down the road it will most likely lock you into a specific version.
If you "hook" into links, and only alter the parts that need altering, leaving the base codes and functionality intact (doing the pre/post hook dance), you have a much better chance of surviving upgrades.
On the other hand, if you rewrite the functions completely, you need to be aware that if links changes, you'll have to rewrite the function again, instead of just minor updating, or maybe not having to make any changes at all -- something most of us have tried to avoid more than writing templates ;)
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.