Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [webmaster33] How to highlight incorrectly filled form part?

Quote Reply
Re: [webmaster33] How to highlight incorrectly filled form part? In reply to
>> 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.
Subject Author Views Date
Thread How to highlight incorrectly filled form part? webmaster33 5807 Aug 5, 2002, 3:34 AM
Post Re: [webmaster33] How to highlight incorrectly filled form part?
Dafyyd 5622 Aug 5, 2002, 1:35 PM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
pugdog 5708 Aug 5, 2002, 3:55 PM
Thread Re: [pugdog] How to highlight incorrectly filled form part?
webmaster33 5564 Aug 6, 2002, 2:55 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
Paul 5667 Aug 6, 2002, 3:15 AM
Thread Re: [Paul] How to highlight incorrectly filled form part?
webmaster33 5603 Aug 6, 2002, 3:47 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
Paul 5560 Aug 6, 2002, 3:56 AM
Thread Re: [Paul] How to highlight incorrectly filled form part?
webmaster33 5556 Aug 6, 2002, 4:35 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
Paul 5587 Aug 6, 2002, 5:17 AM
Thread Re: [Paul] How to highlight incorrectly filled form part?
webmaster33 5563 Aug 6, 2002, 5:49 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
Paul 5576 Aug 6, 2002, 5:56 AM
Post Re: [Paul] How to highlight incorrectly filled form part?
webmaster33 5489 Aug 6, 2002, 6:46 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
pugdog 5542 Aug 6, 2002, 7:19 AM
Thread Re: [pugdog] How to highlight incorrectly filled form part?
webmaster33 5549 Aug 6, 2002, 9:05 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
pugdog 5491 Aug 6, 2002, 1:10 PM
Post Re: [pugdog] How to highlight incorrectly filled form part?
Ian 5517 Aug 6, 2002, 2:22 PM
Post Re: [pugdog] How to highlight incorrectly filled form part?
webmaster33 5455 Aug 7, 2002, 7:10 AM
Thread Re: [webmaster33] How to highlight incorrectly filled form part?
yogi 5449 Aug 7, 2002, 5:37 AM
Post Re: [yogi] How to highlight incorrectly filled form part?
webmaster33 5478 Aug 8, 2002, 1:21 AM