[MKSearch-dev] Week 29 round up
Phil Shaw
phil at mkdoc.com
Fri Apr 29 16:39:23 BST 2005
This week has been one long refactoring to introduce the new
StoreManager interface, which is now complete barring coverage
testing.
To start with, this new layer only does what previous code did but
removes responsibility for the storage aspect from the plugins. It
moves us towards a position where the plugins could be configured
with any form of storage implementation. For now there is a residual
coupling between plugin types and storage types, but its much looser.
Best regards,
Phil
Tuesday
~~~~~~~
Created concrete implementations of SubjectManager types for N-Triple
and HTML storage on the file system, and RDF storage in a local
Sesame Repository. Copied the bulk of the storage-oriented code from
the JSpider plugins and marked copy points for subsequent deletion.
Completed the storage system to the point where it was functionally
equivalent to the existing code base.
Wednesday
~~~~~~~~~
Introduced additional constructors to the custom SAX parsers so they
could be constructed with a SubjectManager interface, and refactored
their methods so they could obtain their output from either source.
Switched the plugin classes to use the SubjectManager interfaces
rather than direct access to the file system or Sesame repository.
Refactored the plugin hierarchy to remove abstract base classes and
redundant intermediary layers. Removed remaining legacy methods from
SAX and JSpider classes.
Friday
~~~~~~
Adapted all unit tests to the new scheme, commenting out tests for
methods transferred to the store manager classes for re-use in their
own unit tests. Made a few final amendments, corrections and
refactorings to get all unit tests running. Created a new
MockSubjectManager for testing the SAX parsers and deleted tests for
deleted classes. Updated JSpider configuration files with new
SubjectManager configuration and did a spider run on the test site.
--
MKSearch (alpha)
<URL:http://www.mksearch.mkdoc.org/>
Free, open source metadata search engine with RDF storage and query.
More information about the MKSearch-dev
mailing list