From: Stefano C. <cam...@ya...> - 2005-02-16 10:29:33
|
Hi Paolo, I'm doing the garbage collect activity (refactoring) on the MetaManager class. I done some work, but we have to change the old platypus wiki paradigm: In fact for every HTTP request the paradigm is: 1. get the URL, (identify the "current resource") 2. load form the file system the "local jena model" 3. creating the MetaManager object, with the local jena model 4. and so on ... The "Local Model" is a list of all triples that have the "current resource" as subject or object (in other words: all resources that have a distance of one arc in the rdf graph from the "current resource"). Now we have decided to get also: labels, dc:title etc... for every Resources (with distance one arc) in the Local Model. These resources (labels, dc:title, etc..) are not at one arc distance from the current resource so: we have to change the RepositoryManager class to get also these nodes. At this moment of development, I suppose to have these in the metamanager model, and wait your updates on RepositoryManager class. In this way, my methods will work also having a total model (all triples of platypus). I like to rafact also the controller...using the Apache.Jakarta.Commons.Chain. I suggest to use the Jena Event paradigm to get synch the FileSystem model and the memory/DBMS model... We will discuss about it next Friday. :) Bye Campa |