Started rambling about how an architecture like Hapi’s might be pretty useful on the client side too
Fleshed out some sample code of how I think things should look in the readme
Started work on ‘Bly’, which is what I named our Hapi inspired ‘framework’ to help building flux architected apps.
Created an outline for the app interface
Implemented a Dispatcher that is mostly like Facebook’s reference dispatcher, but grouping handlers by action.
Implemented very crude versions of the rest of bly’s App API
Passing the function to an action handler that allows it to wait for other handlers
Moved the files around and made the fixed a couple of problems in the unregister method of the dispatcher
Started writing some tests for the dispatcher
Making Dispatcher#register return the name of the handler it registered
Added ‘isDispatching’ method to the Dispatcher
Fixed the dispatching with the Dispatcher
Testing and fixed ‘waitFor’, ‘dispatch’ and ‘isDispatching’
Renamed some of Dispatcher’s handlers to appear to be private (which they are not, obviously)
Using hoek and tape
Fixed Bly’s app def (util.inherits was defined to late and redefined the prototype)
Making app.action return the ref of the handler (or an array of refs)
Wrote tests for app.action
Added tests for app.inject
Replaced Hoek.asserts with ‘invariant’, a method used by some of the other libraries we use. Got rid of Hoek all together as assert was all we used