On Mon, May 28, 2012 at 10:00:18AM +0200, Egon Willighagen wrote:
> On Mon, May 28, 2012 at 9:14 AM, <ralf@...> wrote:
> > OK. Is Controller allowed to have GUI specific code, in your opinion?
> No, the controller too works with commands (Edit objects)...
> > Is it allowed to have app-specific code?
> This controller only changes the model... there is no reason not to
> have an additional controller for the application!
> > You see, app-specific logic, like the behaviour of a button, is IMHO part of the app code, i.e., JCP.
> > Is there a reason you have this in cdk?
> No, all GUI functionality should be outside the CDK library.
> Of course, some things need to sneak in... like a mouse button push
> events... this needs to be (and is) abstracted, so that it works with
> various toolkits, as well as from a scripting language...
I'm glad we agree on this.
> > If it's unclear which parts of Controller would be app-specific, then
> > I would like to postpone this question until the Renderer issues are
> > cleaned up. While doing this, things will get moved to Controller, too,
> > so the picture will only be whole after the Renderer cleanup.
> Please make sure to discuss changes before you put a lot of effort in,
> so that Arvid particularly can respond too...
Well, you have the final say with all my pull requests.
But Arvid has to either read the cdk-devel list or follow
the git issue tracker.