Re: [Paul] GT plugin system bug (or "feature" :-), problems, and additional info (FYI) & Solution suggestion
Not exactly. Not priority from 1 - 100.
It is a multi-level priority system.
1) is base priority from 0 - 5
2) each base priority has a subpriority from 1 - 100. The 100+ levels are for GT system plugins.
Usually (80%) the plugin execution order does not matter.
If 2 plugins have the same level (base priority + subpriority), they should be executed in order, as they were stored (likely depends on internal hash storage order). And usually the order will be not matter.
If there are very rare conflicts, the plugin developers will likely change the priority, or even the user could change priority of each plugin (yes, I would allow the user to change the default priorities, if it is needed).
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
It is a multi-level priority system.
1) is base priority from 0 - 5
2) each base priority has a subpriority from 1 - 100. The 100+ levels are for GT system plugins.
Quote:
The plugin priority is determined by the author if I understand you correctly, so what if we all accidentally chose the same, how will they then be sorted, also what if a plugin running before mine affects the way mine functions?Usually (80%) the plugin execution order does not matter.
If 2 plugins have the same level (base priority + subpriority), they should be executed in order, as they were stored (likely depends on internal hash storage order). And usually the order will be not matter.
If there are very rare conflicts, the plugin developers will likely change the priority, or even the user could change priority of each plugin (yes, I would allow the user to change the default priorities, if it is needed).
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...