Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It depends, but generally yes as I do it. I've found that in most cases the size of data associated with an event is quite small and easily passed around as objects, arrays, or whatever is needed. So if a particular module for a sidebar, a headbar, or mainview all need to update based on an event they subscribe to, each module constructs it's own templates based in the data passed with the event.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: