Login  Register

Re: moving Java plugins from highly interactive to "batch friendly"

Posted by feelc on Sep 09, 2019; 7:31pm
URL: http://imagej.273.s1.nabble.com/moving-Java-plugins-from-highly-interactive-to-batch-friendly-tp5022429p5022430.html

Hi Kenneth,

I guess you're asking a software architecture question-Correct me if i'm
wrong. You can check Mvc,  hexagonal and microservices patterns. Hope
that's in line with what you're looking for.

Best,

Felipe

On Mon, 9 Sep 2019, 21:21 Kenneth Sloan, <[hidden email]> wrote:

> I have (almost exclusively) implemented Java plugins for ImageJ which
> are highly interactive.  While I have tried to compartmentalize the
> user interaction (mostly through dialog boxes) from the actual
> computations, I haven't always been completely successful.
>
> I'm looking for "best practices" on writing Java plugins which require
> multiple parameters - and which are written to accept these parameters
> either
> from their invocation, or as responses from  user interacting with dialog
> boxes.
>
> The movivation, of course, is that now many of the things which I have
> written
> as "exploratory, interactive mini-applications" have entered the world of
> "production use".
> I'm "on deadine" now with processing that will take me 8 hours to do
> interactively.  I suspect
> it will take me MORE than 8 hours to modify the existing code to be
> script-driven, but...once
> I get past this deadline I'll be strongly motivated to do some serious
> re-writing.
>
> One or two really good examples would be wonderful.
>
> --
> Kenneth Sloan
> [hidden email]
> Vision is the art of seeing what is invisible to others.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html