内容简介
Have you ever come up against an application that felt like it was built on sand? Maybe you've been tasked with creating an application that needs to last longer than a year before a complete re-write? If so, JavaScript at Scale is your missing documentation for maintaining scalable architectures.There's no prerequisite framework knowledge required for this book, however, most concepts presented throughout are adaptations of components found in frameworks such as Backbone, AngularJS, or Ember.Al
AI简介
这是一本深度剖析JavaScript应用程序扩展性的书籍。本书以JavaScript应用的发展为起点,深入探讨了前端缩放问题的挑战,并提出了理解并应用可扩展性的重要性。作者详细阐述了组件映射与透明度在组件组成中的关键角色,并介绍了前端开发中的通信模型。
书中深入探讨了用户对软件规模的影响,并分析了用户角色和分组如何影响软件的发展。同时,作者详细讲解了国际化与本地化策略,以确保JavaScript应用程序能够适应全球市场的需求。
本书还深入讨论了ECMAScript 6模块应用,并分析了组件间通信开销问题,以及如何通过性能剖析代码来了解运行时性能特征。同时,作者详细讲解了API数据量对性能影响,并介绍了如何通过结构化组件通信来优化性能。
此外,本书还深入讨论了理解端到端测试的重要性,并介绍了如何进行端到端测试。同时,作者详细讲解了性能与复杂性的挑战,并介绍了如何通过fail-fast机制来提高系统的响应性。