Alexander,

    I'd like to get feedback from the rest of the list on this. I  
would be willing to help start documenting how the framework is put  
together. Just diving into it, its a little difficult for me to map  
out the flow of everything. Thankfully python is very easy to look at.

On Jul 14, 2009, at 2:34 AM, Alexander Berezhnoy wrote:

> Hi list,
>
> I want to share with you my opinion about the current configuration
> framework design (which is a result of developing the consoleUi and
> current changing the gtkUi)
> First, a summary:
>
> 1) Plugin instance you get from the core is not the same instance that
> will be run => a bit misleading
> 2) Plugin may return the option list, ok
> 3) w3af core returns the option list too, but those are only the
> changed options => misleading
> 4) Options in the optlist have only getDefaultValue() method, even if
> they represent the changed values => misleading
> 5) To update some of the options for the plugin, you need to send the
> optlist with all the options changed (not only recently changed). You
> cannot say: update only this option to that value. => messy
> 6) To get the current value of an option, you always get the plugin
> instance and the changed options, and look what was or was not
> changed. => messy
> 7) Options may duplicate in the option list => ?
>
> So, my proposal (one of several possible) is:
>
> - Plugins are created in the exactly one instance
> - Options are stored in their plugins and other configurable items,
> never in the core.
> - Every option is created in the single instance too
>
> Those assumptions would make the thing more clear, what do you think?
>
> Sasha.
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> W3af-develop mailing list
> W3af-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/w3af-develop


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to