Field setter plugin

Posts   
 
    
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 11-Jul-2006 00:21:04   
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 11-Jul-2006 09:46:37   

Cool! simple_smile

Do you want us to host your add-ins in the 3rd party section?

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 11-Jul-2006 10:29:07   

Otis wrote:

Cool! simple_smile

Do you want us to host your add-ins in the 3rd party section?

I prefer hosting it at home (literalysimple_smile ) beacuse it gives me free hands. However, it would be nice to have a link (or did you have in mind that SVN of yours?) there. (where is this 3rd party section?)

BTW, here are my wishes for enhancing plugins:

  • enable persistence of plugin parameters (of course, plugin has to support it, too)
  • when you have the above feature, you can enable running plugin from command line
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 11-Jul-2006 11:10:16   

mihies wrote:

Otis wrote:

Cool! simple_smile

Do you want us to host your add-ins in the 3rd party section?

I prefer hosting it at home (literalysimple_smile ) beacuse it gives me free hands. However, it would be nice to have a link (or did you have in mind that SVN of yours?) there. (where is this 3rd party section?)

We don't have that at the moment in the download system, but I can re-create a page in the CMS with 3rd party links to resources like your plugin simple_smile

BTW, here are my wishes for enhancing plugins:

  • enable persistence of plugin parameters (of course, plugin has to support it, too)
  • when you have the above feature, you can enable running plugin from command line

The plugin could save its state to a .xml file of course and load it again when it's started?

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 11-Jul-2006 11:34:28   

Otis wrote:

We don't have that at the moment in the download system, but I can re-create a page in the CMS with 3rd party links to resources like your plugin simple_smile

That would be nice.

Otis wrote:

mihies wrote:

BTW, here are my wishes for enhancing plugins:

  • enable persistence of plugin parameters (of course, plugin has to support it, too)
  • when you have the above feature, you can enable running plugin from command line

The plugin could save its state to a .xml file of course and load it again when it's started?

Actually I am already doing this (well, not save, just load) through application settings. But I had a slightly different feature in mind. You could provide a mechanism for saving those xmls using different names. And likewise one could load named set just by picking a name from a combo box. In that way each plugin could have many different sets (imagine a very generic plugin that does many things) and you could easily invoke it from command line using correct property set.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 11-Jul-2006 17:02:20   

Though a plugin could do that now as well, although it then would mean that the plugin's settings responsibility is moved from llblgen pro to the plugin.

So a plugin, which has a setup-tab, could offer different pre-sets.

Frans Bouma | Lead developer LLBLGen Pro
mihies avatar
mihies
User
Posts: 800
Joined: 29-Jan-2006
# Posted on: 11-Jul-2006 18:17:15   

Otis wrote:

Though a plugin could do that now as well, although it then would mean that the plugin's settings responsibility is moved from llblgen pro to the plugin.

Exactly.

Otis wrote:

So a plugin, which has a setup-tab, could offer different pre-sets.

Yes, and user could even store new ones or modify existing ones. Something similar to the presets of the generator.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 11-Jul-2006 18:46:09   

Ok, but isn't this up to the plugin-writer? Or do you mean: the plugin should specify a set of xml documents and pass it as return types on a method call, so llblgen pro can call the method and store the xml documents and vice versa: when the plugin is loaded it gets handed a set of xml documents which are read by the designer ?

Frans Bouma | Lead developer LLBLGen Pro