[kforge-dev] view classes revisited
john.bywater at appropriatesoftwarefoundation.org
Fri May 12 11:57:01 UTC 2006
Just a note to say that I've nearly finished the views (again).
It was relatively difficult to develop general support for actions on
domain objects held as collections by other domain objects, especially
as I wanted to reuse most of the list/create/read/update/delete code
from the basic domain object views.
I'm feeling much better about the views now (it was tricky work). But
things are really quite neat now  ... :-)
There are some neat abstract classes which really carry the load ,
and the concrete view classes are really quite short statements about
access control, template file, navigation, a bit of workflow, and
mapping the parsed location onto the domain model. However, these
aspects could still be refactored much more.
There's also a powerful ViewTestCase , which the view class unit
tests use. There's also good coverage from webunit tests .
There are still a few loose ends to finished off (such as finishing
service and member update and delete views, and redeveloping support for
extensions to the service object, otherwise known as service plugins).
But the major problems have been solved, and almost everything is
More information about the kforge-dev