Painful.
I need to integrate an event dispatcher in Orient, a library you might know, so I looked at what both Symfony2 and Zend Framework 2 are doing.
Obviously, there's no shared interface for dispatching events, because both frameworks have different needs and decided to implement their own code... so I am a bit lost: I don't want to reinvent my personal wheel when PHP's SPL has both Subject and Observer.
Ok, probably the SPL interfaces are a bit naive, so I'm here asking you: what would you do if you were me?
Since I realized that Stackoverflow could be a good place for my question, I encourage you to leave you answer there.
This entry was tagged under PHP , library
<< HTTP saves time, saves money, saves you Getting back on OrientDB >>