I started out responding to a posting in a parallel thread

http://groups.google.com/group/hugin-ptx/browse_thread/thread/1c51e53421e399cc#

and found, yet again, that I was being eloborate and verbose in a
thread with a heading that is about something else entirely and will
not attract casual reader. So here's a new thread!

On 16 Jun., 12:06, Gnome Nomad <[email protected]> wrote:

> > Yuval Levy wrote:
> > I prefer to call plugins *actions*, because the user is triggering an action
> > by running this code/functionality that just happens to use plugin 
> > technology
> > rather than native code.
>
> But how is an "action" different from any other menu item? Whatever.
> I've read a bit in UI design, and "actions" always strikes me as one of
> those meaningless (to non-UI designers) UI designer geek words.
>
> > And I prefer to call scripts *executables* (e.g. CLI tools like panostart,
> > which is a perl script; or enblend which is a compiled c++ binary) or
> > *programs* (e.g. GUI tools that are written in Python, Perl, or other 
> > scripted
> > language as opposed to compliled languages).
>
> Hmm, you strain out the "plugin" and "script" gnats while swallowing the
> "executables" camel? Sorry, plugin and script are much friendlier than
> "executables".

Let me add some to this debate. If I understand the vision correctly,
'plugins' are to become seamlessly integrated into hugin, so that
their functionality is just as accessible to the user as any other
piece of code that can be triggered by a menu or button. Therefore I
think that a separate entity (or, call it ghetto) for plugins only
shows that they are still considered somehow alien and different. If I
have a menu entry that allows me to do something, as a user I want to
find it next to similar options in the menu, and not in a 'plugins',
'actions' , 'helpers' or whatever you want to call it separate menu.

This throws a light on 'plugin' integration in hugin: it's nearly non-
existant, because the plugins are treated as an alien thing to be kept
apart from the rest. Resulting in the first approach to adress them
via 'run python script', and now via the 'actions' menu. This is
technology-centric and not content-centric, which is generally not
user-friendly and threfore a bad idea. Think of an image processor:
You would want to find 'plugin' filters next to 'builtin' filters, and
not in a separate menu together with, say, brush creation 'plugins',
just because those aren't 'built-in' either. In fact, as a user, you
don't even want to know something is a plugin - unless you miss it and
then - oh joy - find you can get it as a plugin!

The 'plugins are alien and belong into a separate menu' approach is
mirrored in their handling in the code. Technically, the plugin
interface can handle and invoke calls of arbitrary python code with
any number of different arguments, as long as the data types have been
wrapped by the python interface (and, believe me, these are many). Yet
hugin decides to only call plugins with one parameter - the currently
active panorama - where it could have image plugins, mask plugins,
even plugins the user never sees where python code is employed to do
something internally which just happens to lend itself to being
written in python. 'Plugins' can do just about anything. In fact, the
vision is to ultimately have near enough everything done by 'plugins'
instead of hard-linked routines in a monolithic application.

This is a majour paradigm shift, but it takes a while to sink in.
While the plugins are ghettoized, it matters little whether their
access route goes through 'run python script' or 'actions -> Kay's
toolbox'. So I'd see Yuval's current work as a step in the right
direction as far as the assignment of standard locations (install
paths) and categorization goes, but the UI's access route is IMHO
wrong. It may serve while plugins are still novel, but it's a dead
end. I have written endless amounts of text trying to attract
attention to the paradigm shift and the need for technical decisions
to enable it, and it's hugin's turn now to open up to the new
possibilities. Otherwise the usefulness of the plugin interface will
be way beyond it's potential.

Kay

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to