Monday, April 10, 2006

forms?

Thinking of wizards, there is actually a simpler patter that is common: present form, process form. Doing this with an evaluator class is insane--there are way to many things to get wrong!

Current candidates for forms are register, login and npjs, though there are a host more coming. Seems reasonable to develop a base class for forms. And it would be nice if this class served also as a command, so we don't need to have an extra class just to invoke the form.

(It is nice to have separate UI model, command, evaluator and display classes and interfaces, but its also nice to combine them where appropriate. Call it theory and practice.)

Bill

0 Comments:

Post a Comment

<< Home