Welcome Guest, Not a member yet? Register   Sign In
A new event library

[eluser]Rich Cavanaugh[/eluser]
The company I work at, Tycoon Research, has just released a new CI event library. I've put up a blog post about it and about why we decided to write our own instead of use one of the existing libraries.


I think we've hit a good balance of flexibility and transparency. The two big points on those issues are:

- A single configuration that you can see all the event to handler mappings in. No wondering what's handling what.
- Multiple ways of passing data into the handlers both at run-time and in the config file. Allows for more effective re-use of handlers.

The actual code is on github if you want to skip the blog post:


Thoughts? Questions?

I'm really intrigued by this. I'm definitely going to have to grab a copy and kick the tires. Thanks for contributing this!

[eluser]Rich Cavanaugh[/eluser]
Let me know if you have any questions or problems. I'm happy to help.

I posted a question in the comments on your blog today because of some issues I'm having. Any insight you can share would be awesome!

[eluser]Rich Cavanaugh[/eluser]
Your problem was simply the case of your library name. The library names in the events.php config file need to be all lowercase. Once you make it lowercase, it should work.

For reference, I've published a demo app at http://github.com/rich/ci-events-demo-app

Thanks for the heads up, I'll give it a go tomorrow and check it out.

Theme © iAndrew 2016 - Forum software by © MyBB