Refactoring


Spent much of the afternoon refactoring some WebObjects components in CAREO to let me better reuse them as bits of themey goodness. Stuff like Search Results, which is currently a single Page wrapped in the PageTemplate, will become 2 separate components: a reusable component to display search results from any query, and a standalone page to wrap that reusable component to reproduce current behaviour. The big push for this is the SciQ zones, which will have all kinds of search results all over the place, with a need to customize the design of each page.

Also spent some time refactoring the theme definitions, to let me add preferences at the theme level. You will be able to override the default username and password, and possibly all kinds of funky stuff, stored in an NSDictionary in the Theme table in CAREO. Could be cool...


comments powered by Disqus