2 Star 0 Fork 0

mirrors_jsantell / 2013.cascadiajs.com

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
building-event-driven-webapplications.md 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
Keith Bingman 提交于 2013-08-15 19:36 . fixed bio

Building Event Driven Javascript Applications

Abstract

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.

Bio

kbingman

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.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
git@gitee.com:mirrors_jsantell/mirrors_jsantell_2013.cascadiajs.com.git
mirrors_jsantell
mirrors_jsantell_2013.cascadiajs.com
2013.cascadiajs.com
master

搜索帮助