Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

[Suggestion] Different GT plugin namespace for apps

Quote Reply
[Suggestion] Different GT plugin namespace for apps
There should be different GT plugin namespace for each application!

Currently only Plugins::myplugin namespace is used.

This is confusing, as there could be 2 plugins using the same name, but for different apps.

Let me show an example.

Current name example:
Plugins::Pagebuilder

To have it under different apps, you should rename it as following example shows:
Plugins::Pagebuilder_LSQL
Plugins::Pagebuilder_GComm
Plugins::Pagebuilder_DBManSQL


Instead of this should be moved under application based namespace:
Links::Plugins::Pagebuilder
Community::Plugins::Pagebuilder
Dbsql::Plugins::Pagebuilder

This would give a clear separation of plugins made for different apps.


In the meantime GT::Plugin should be modified to execute plugins under app namespace, but for backward compatibility reasons, should keep compatibility with Plugins:: namespace, too.

So plugins should be executed under these namespaces until GT apps v4.0 for compatibility reasons:
Plugins::
Links::Plugins::
Community::Plugins::
Dbsql::Plugins::

etc...

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...
Subject Author Views Date
Thread [Suggestion] Different GT plugin namespace for apps webmaster33 4319 Apr 23, 2005, 4:02 PM
Post Re: [webmaster33] [Suggestion] Different GT plugin namespace for apps
pugdog 4198 Apr 23, 2005, 6:35 PM
Thread Re: [webmaster33] [Suggestion] Different GT plugin namespace for apps
Alex 4229 Apr 26, 2005, 11:33 AM
Post Re: [Alex] [Suggestion] Different GT plugin namespace for apps
webmaster33 4168 Apr 26, 2005, 12:52 PM