Hi Oliver and thanks for the quick response! Got a few more question :)
On 15.2.2004, at 11:18, Oliver Zeigermann wrote:
Hi Eirikur!Sure when I get to that point I will probably be an expert on what not to do ; )
I agree many things are confusing, as apropriate, up to date documentation is yet a weak spot of Slide. But, once you get it, Slide's architecture actually is quite obvious and nice. I will try to add more docs as soon as possible and will also try to talk other people into writing some. How about you when you have finally solved your problems ;)
Are there any docs on what the methods in those interfaces should actually be doing? Example from ContentStore interface:
Anyway, to have Slide use your stores for content and user information you will have to provide your own implementation of org.apache.slide.store.ContentStore and org.apache.slide.store.SecurityStore.
NodeRevisionContent retrieveRevisionContent (Uri uri, NodeRevisionDescriptor revisionDescriptor)
I can figure out what the NodeRevisionContent and the descriptor but what does the "uri" contain when you are using a database as a repository?
Also are you forced to use versioning of files? We haven't yet implemented versions for files in our system.
You will have to configure your implementation in Domain.xml as well. Consider Eirikur.filestore implements org.apache.slide.store.ContentStore and Eirikur.userstore implements org.apache.slide.store.SecurityStore this configuration taken over from the standard configuration of a J2EE store might be what you have:What does the org.apache.slide.store.impl.rdbms.J2EE handle then? What are the "rest" of the stores?
<store name="j2ee" >
<nodestore classname="org.apache.slide.store.impl.rdbms.J2EE">
<parameter name="datasource">jdbc/mtx</parameter>
<parameter name="adapter">org.apache.slide.store.impl.rdbms.SQLServerRDBMSAdapter< /parameter>
<parameter name="compress">true</parameter>
And what does compress true mean?
</nodestore> <contentstore classname="Eirikur.filestore"> </contentstore> <securitystore classname="Eirikur.userstore"> </securitystore> <lockstore> <reference store="nodestore" /> </lockstore> <revisiondescriptorsstore> <reference store="nodestore" /> </revisiondescriptorsstore> <revisiondescriptorstore> <reference store="nodestore" /> </revisiondescriptorstore> </store> <scope match="/" store="j2ee"/>
For a reference how to implement those interfaces have a look atYes it really helps thank you : )
org.apache.slide.store.txfile.TxFileContentStore as the default implementation for the content store and org.apache.slide.store.impl.rdbms.J2EEStore for both.
Hope this helps as a starting point and this is the information you were looking for. Feel free to come back to the list for any open issues.
Best regards
-Eiki, idega
Eirikur Hrafnsson wrote:
Hi all,
I have been sitting on the sidelines watching this developer mailinglist to try to figure out what strategy to take in my integration of Slide into our web application framework. We have a pure object based J2EE web framework (almost JSF compliant ;) that has it's own database driven filesystem and user system (with roles and group permissions) and would like to make the filesystem available through WebDAV with Slide. We are also working on embedding an java LDAP server that some guys at codehause.org have resurrected from a dead to open up our user system to others and there we only have to implement our own backend.
In my little knowledge of Slide it seems to be the same task at hand but it's very...very confusing as to what exactly we need to do?
What do we have to do so Slide uses our user system for authentication (possible through LDAP) and our filesystem as a supplier of the files and folders published in webdav?
Please give me two scenarios a) where we use our own file system data-structure b) we use the data-structure that comes with Slide and somehow just link to it.
Hope someone has the answers : )
Thanks in advance for any help you can give me and congratulations on the beta version coming out...
Best regards
Eirikur S. Hrafnsson, [EMAIL PROTECTED]
Chief Software Engineer
Idega Software
http://www.idega.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
