Hi Hugi,

Take a look at Houdah Frameworks. I think the Audit Trail [1][2] solution provided by this framework could be helpful.

The Wonder Bug Tracker application also includes support for audit trail. Maybe you can learn something from there.

[1]http://code.google.com/p/houdah-webobjects-frameworks/wiki/HoudahAuditTrail
[2]http://code.google.com/p/houdah-webobjects-frameworks/wiki/AuditTrail

Cheers,

Henrique

Hugi Thordarson wrote:
Well, for each off-topic post, I guess you must send at least one on-topic post :-).

So, I work on government databases, and a big part of our requirements revolves around keeping track of changes. We need to know exactly how our databases looked at some point in time, and we need to know who made what modifications when.

So I'm curious about how people are implementing transaction logging. Attached is a (simplified version of a) class that demonstrates how I do this today - you can plug it into your application by calling Spy.register(), for example in yor application constructor (Oh - and you should probably change the createAndInsertTransactionForEO() method to use something other than that EO class called "Transaction" ;-).

Does anyone have any transaction logging stories, examples or code to share? What is the best way to do this?

Cheers,
- Hugi


------------------------------------------------------------------------

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com

This email sent to hpra...@gmail.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to