Like CoughPHP?
Try LightVC, an MVC.

Archive for the ‘CoughPHP Module Ideas’ Category

Modules: Out-of-the-box Event Logging for CoughPHP

Thursday, September 4th, 2008

The Cough framework enables and encourages a number of cool (but totally optional) modules that make it even more awesome and useful. I’d like to touch on one potential module that fits nicely with ORM and would make many developers very happy: event logging, i.e. preserving the change history of information that is important to a business.

There are discussions of how to do this, at great length, in a number of books and tech blogs. The implementation varies. But in general, all meaningful user actions within our business applications should be logged.

Here are three specific methods for event logging / history tracking, agnostic to Cough.