durusmail: qp: Page object model
Page object model
2008-04-20
Page object model
Binger David
2008-04-20
On Apr 20, 2008, at 1:07 PM, dhess wrote:

> Oops, I didn't mean to imply that QP doesn't handle multiple forms per
> page, just that this roughed out Page object *does* handle multiple
> forms;
> it uses the feature you mention: the "prefix" keyword argument to Form

Thanks for the reminder.  I should have looked at your code
before posting my response.  (Sorry) Now I have looked at it, and
I have a better understanding of your message.

The two ideas that jump out at me from your code are that the
Form handling can be organized as submit-driven callbacks,
and that a Page class can coordinate handling of a page
of forms.  Both of these are appealing.  I guess the open question
is whether code that follows this pattern is easier to understand.














reply