Skip to content

zend framework 2 - list of shipped defined events (zf2)

I just read the manual since i need to know what kind of existing events are available.

SendResponseEvent defines the "EVENT_SEND_RESPONSE" event.

MvcEvent defines "EVENT_BOOTSTRAP", "EVENT_DISPATCH", "EVENT_DISPATCH_ERROR", "EVENT_FINISH", "EVENT_RENDER", "EVENT_RENDER_ERROR" and "EVENT_ROUTE" event.

ViewEvent defines "EVENT_RENDERER", "EVENT_RENDERER_POST" and "EVENT_RESPONSE".
The ModuleEvent defines "EVENT_LOAD_MODULES", "EVENT_LOAD_MODULES_RESOLVE", "EVENT_LOAD_MODULE" and the "EVENT_LOAD_MODULE_POST" event.

Last but not least, doing the following ack-grep

ack 'extends\ Event' vendor/zendframework/
has the following results.
vendor/zendframework/zendframework/library/Zend/View/ViewEvent.php
19:class ViewEvent extends Event

vendor/zendframework/zendframework/library/Zend/Mvc/ResponseSender/SendResponseEvent.php
15:class SendResponseEvent extends Event

vendor/zendframework/zendframework/library/Zend/Mvc/MvcEvent.php
18:class MvcEvent extends Event

vendor/zendframework/zendframework/library/Zend/Cache/Storage/PostEvent.php
14:class PostEvent extends Event

vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleEvent.php
18:class ModuleEvent extends Event

web - opa programming language (opalang)

Three different pages in two languages pushed an entry on top of there page so i have to investigate the linked content. The entries are about "opa", an self designated "enterpriese framework for javascript". Opa can handle server and client side javascript, and writes the javascript for you. That means while creating your web application, you write all the code in the opa programming language and the framework does the rest for you. Opa uses jQuery on the client side and node.js on the server side. After a few hours investigating, i love the fact "strong static typing" as much as "available for linux, freeBsd and other systems". I recommend the tour and walk through some examples/use cases.

By surfing through the web for opa, i stumbled upon HaXe and this looks quite promising.