Hi, my responses are below...

At 17:30 02.06.2004, you wrote:

I am trying to develop the Stats/Log/Events Engine for Jahia. This would be my first contibution to Jahia and hence I would require guidance from all of you experienced people. At the moment I would like to ask you the following questions.

Sure, thank you for proposing to help out, it is greatly appreciated.

  1. Is any one already working on it?
Not that we know of...

  1. Is there any specifications or guidelines that I should follow?
No all we have is this requirement page, so you are free to come up with specifications. As far as guidelines, we were thinking of extending/revising/rewriting the current logging system. The current logging system uses EventListeners, that would probably also need to be extended to catch more events.

  1. How can I understand the Jahia architechture relevant to the module I am developing?
Basically have a look at how EventListeners work, and also how the "Audit" subsystem works. Basically here are the interesting packages :

org.jahia.data.events.*
org.jahia.services.audit.*

The current audit sub-system is really old, and has performance issues, so I think you might want to come up with something new and then look into re-using Events.

  1. I look at each page as some object to which various  contents(big text, date etc) is added and persisted in the DB. I intend to make one more such object as page named as Audit Log to which I can add contents like user info and his actions. Is this the correct approach? If so how do i persist in the db so that it could be used as any other content object.
I really think that the best way to do it is to modify the current audit log system to make it more flexible. Usually in Jahia we tend to add "properties" tables, so that it makes a sub-system extensible, in case we haven't thought of some variable that might be useful. Jahia stores the log entries in the table :

jahia_audit_log

I hope this helps get you started. Don't hesitate to ask if you need more details.

Regards,
  Serge Huber.

- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company

Reply via email to