|
From: Matthew B. <mat...@ou...> - 2007-03-05 15:42:55
|
Just a note to say that in the process of writing a new tool I am refactoring allot of the resource creation code to move it out of facility. This will be a big change in resource creation. In the long run it will cleanup resource creations and avoid large amounts of duplicated code. It also paves the way for allowing error messages to be displayed on the resource creation page rather than requiring users to click back. Basically I am having lists of errors rather than outputting all the errors and HTML directly from the Java. Resource creation gets split into bits: - setup of new resource for request. - validation of new resource. - creation of new resource in db (put resource into tree, update metadata, create events). - post creation hook fired to allow extra stuff to get created. These changes are initially just in WebLearn but may get moved into Bodington at a later date. -- Matthew Buckett |