Building modern web applications, particularly javascript driven single page applications can quickly devolve in a mess of callbacks and spaghetti code. One way out of this madness to require each part of the application to communicate with nothing more than events. Backbone applications, while allowing this behaviour, do not exactly encourage it and building such applications is sometimes harder than it should be.
Twitter Flight, on the other hand, is a new minimal framework that allows nothing else. Each part of the application is entirely driven by events, either emitting or receiving them and has no other connection to any part of the application.
Enforcing such a drastic architecture creates a cleaner, modular application and lessons learned from Twitter's approach can easily be applied to other front-end frameworks.
Originally from Seattle and freshly moved to Vancouver via a 15 stint in Southern Germany, I am a photographer turned Ruby on Rails developer turned Front End Javascript Developer. I am currently working at Mobify, building both customer websites and single-page applications for our Product Team.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。