[Yanel-dev] Annotating resources
Michael Wechner
michael.wechner at wyona.com
Tue Feb 22 09:35:13 CET 2011
Hi
Thanks to Marc Schaaf we now have an "Annotatable" interface which
allows to annotate resources
and also use this information for third party applications, e.g. Boost
in order to generate tag clouds re what users are interested in. Marc
has also created a simple annotation editor which is currently used by
the yanel website realm.
I guess Marc will send some more notes re further steps (e.g. re
ontologies: http://en.wikipedia.org/wiki/Ontology_%28information_science%29)
The basic code pieces are:
U conf/resource-types.xml
A
src/realms/yanel-website/res-configs-repo/data/usecases/pageMetadataManager.html.yanel-rc
U
src/realms/yanel-website/src/java/org/wyona/yanel/website/menu/impl/YanelWebsiteMenu.java
U src/realms/yanel-website/data-repo/data/xslt/global.xsl
A src/core/java/org/wyona/yanel/core/api/attributes/AnnotatableV1.java
U
src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
A src/resources/pageMetaDataManager
A
src/resources/pageMetaDataManager/src/java/com/wyona/yanel/metadata/manager/PageMetaDataManager.java
Re code review:
* Does it build? YES
* Is the formatting correct? Should be fixed now (used tabs instead
of spaces)
* Is there an automatic test? Make sure that there are automatic
tests, which are covering the changes which the patch will imply. NO
* Is it backwards compatible? YES, because annotations are
implemented as a versioned interface
* Does it scale/perform? (Can the implementation be changed?) YES,
because of doing it as an interface
* Can it be enhanced? YES, because of versioned interface
* Can it be customized? The implementation can be customized
* Does it work within a cluster? NOT really, because the properties
are not locked yet, but we will fix that shortly. But also depends
on the repository implementation.
* Is it secure? YES, if the policies for the editor are set
correctly, but NO otherwise
* Can it be used offline? YES
* Can the patch be reverted easily? NO, because various resource
types (e.g. XMLResource) will start implementing this interface
* Does it work for all browsers? Only tested Firefox yet
Cheers
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110222/1eed317d/attachment.html>
More information about the Yanel-development
mailing list