Re: Auto selection



Robert,

Yeah, I think I've got it. But sometimes, I think, you cannot avoid
another dialog.

Recommended reading: Alan Cooper's /About Face 2.0/

Think about meeting the users' goals first, OO design second.

This makes more sense than you might think at first - your "internal"
design is good to the extent that it allows you to accomodate small
changes in user goals at the expense of correspondingly small changes in
code. (Bertrand Meyer's criterion of continuity.)

If your UI design cuts across the grain of user goals in the first place
you will achieve this criterion occasionally, by accident; what you want
is to achieve it reliably, by design.

Returning to your original question I suggest a small change in your
thinking about "model" and "view": there might be more than one of each
layer.

For instance your "business model" is about what things exist and how
they relate to each other: projects and files, employees and
departments. Related to that is a conceptual model of how users interact
with the business model: there is a "workspace" within which one
container thing is "open" for modifications, and in which you can
"select" contained things to "change" them. Well, this is an abstract
model - you could call it the "interaction model" - which could be
realized in different implementations (desktop PC, pocket PC, web app,
etc.).

So, your tree view talks to the interaction model, which in turn talks
to the underlying business model. "Create new file" sits at the
interaction level; it tells the interaction model "We want a new file
created with these properties". The interaction model propagates this to
the business model, updates itself to note that the newly created file
has become the current selection (this is an "interaction rule") and
notifies its dependent views that something has changed. The views,
including the tree view, query the interaction model for "what things
exist" but also "what is the current selection".

Laurent
.



Relevant Pages

  • Re: coriolis force and air currents in an ONeil colony
    ... But it's a very *very* different situation in terms of goals. ... silly to state the design is unreasonable, ... very small fraction of which ends up as stored energy in plants... ... a PV array efficiency of 30% (a bit on the high side... ...
    (rec.arts.sf.science)
  • Re: Website for Comments and or Suggestions
    ... Especially for a business site! ... | design so your pages will work well in both IE and FF, ... | Look, I am not an expert web designer, and my opinions are just that. ... | what your goals are for your site, ...
    (microsoft.public.publisher.webdesign)
  • Re: Website for Comments and or Suggestions
    ... | design so your pages will work well in both IE and FF, ... | download and easy install, and you can test your html before you upload ... | Look, I am not an expert web designer, and my opinions are just that. ... | what your goals are for your site, ...
    (microsoft.public.publisher.webdesign)
  • Re: Website for Comments and or Suggestions
    ... One of my personal goals here in this newsgroup is to offer "constructive" ... website and ask for feedback, and I admire and respect that. ... Look, I am not an expert web designer, and my opinions are just that. ... Here are two links that might help in planning the design of your site: ...
    (microsoft.public.publisher.webdesign)
  • Re: Design Hardware for Embedded Systems
    ... I would like to know how can I design the hardware of my embedded ... Jack has also reviewed a number of books ... Be specific about your goals and questions and we may be able ...
    (comp.arch.embedded)