conoremclaughlin / bones-boiler

Testing sets of Bones tools to make life easier for the impatient.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Wishlist #3

Open conoremclaughlin opened 11 years ago

conoremclaughlin commented 11 years ago

Just a quick reminder:

AdrianRossouw commented 11 years ago

i see you did some stuff around Router.send, and I thought I should mention that i found it useful to invert the behavior here. Instead of the router on the backend being responsible of sending the rendered page to the client, I introduced a 'syncView' event that the view emits to signal that it's ready to be sent to the client.

conoremclaughlin commented 11 years ago

Very, very cool. So do you still extend the Express servers with Backbone.Events and just have them listen for the syncView event? Or just use server-side router code to keep everything contained within that ecosystem? I assume this is a private project?