官术网_书友最值得收藏!

  • Flux Architecture
  • Adam Boduch
  • 201字
  • 2021-07-16 10:48:58

Preface

I love Backbone.js. It's an amazing little library that does so much with so little. It's also unopinionated—there are endless ways to do the same thing. This last point gives many Backbone.js programmers a headache. The freedom to implement things the way we see fit is great, until we start making those unavoidable consistency errors.

When I first started with Flux, I couldn't really see how such an architecture could help out a mere Backbone.js programmer. Eventually, I figured out two things. First, Flux is unopinionated where it matters—the implementation specifics. Two, Flux is very much like Backbone in the spirit of minimal moving parts that do one thing well.

As I started experimenting with Flux, I realized that Flux provides the missing architectural perspective that enables scalability. Where Backbone.js and other related technologies fall apart is when something goes wrong. In fact, these bugs can be so difficult that they're never actually fixed—the whole system is scarred with workarounds.

I decided to write this book in the hope that other programmers, from all walks of JavaScript, can experience the same level of enlightenment as I have working with this wonderful technology from Facebook.

主站蜘蛛池模板: 宝应县| 宁陵县| 平湖市| 共和县| 西吉县| 格尔木市| 赣榆县| 嘉定区| 临漳县| 白银市| 左云县| 尖扎县| 信阳市| 大城县| 靖西县| 诸暨市| 鹤山市| 乌海市| 田东县| 榆树市| 孟州市| 布尔津县| 开封县| 霍州市| 靖宇县| 沈丘县| 德江县| 安国市| 襄樊市| 博爱县| 南乐县| 柘荣县| 望城县| 从化市| 水城县| 瑞丽市| 始兴县| 东兴市| 大安市| 湘西| 新津县|