JavaScript at Scale

0
(0)

JavaScript at Scale
 

  • Author:Adam Boduch
  • Length: 274 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2015-09-01
  • ISBN-10: 1785282158
  • ISBN-13: 9781785282157
  • Sales Rank: #4852980 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Build web applications that last, with scaling insights from the front-line of JavaScript development

    About This Book

    • Design and implement JavaScript application architectures that scale from a number of perspectives, such as addressability, configurability, and performance
    • Understand common JavaScript scaling pitfalls and how to tackle them through practical, real-world, solutions and strategies
    • Learn techniques to deliver reusable architectures that stand the test of time

    Who This Book Is For

    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.

    All code examples are presented using ECMAScript 6 syntax, to make sure your applications are ready for next generation browsers.

    What You Will Learn

    • Identify and evaluate the external scaling influencers of your application
    • Build out component composition in large-scale JavaScript applications
    • Design for inter-component communication that scale
    • Understand the importance of addressable resources in JavaScript applications, and approaches to scaling addressability
    • Customize and configure components to meet scaling demands
    • Ensure a highly-performant user experience, despite the size and complexity of your application
    • Design a portable and testable application that’s not constrained to one environment
    • Make architectural trade-offs by removing or refactoring components
    • Design components that fail in a scalable way

    In Detail

    JavaScript applications of today look a lot different from their predecessors of just five years ago. Because of this rapid growth in sophistication and capabilities, we’ve seen an explosion in JavaScript frameworks; the JavaScript development landscape is a fragmented one. To build large-scale JavaScript applications, we need more than just tools – we need scalable architectures. We create scalable JavaScript architectures by looking at what aspects of our application need to scale and why. Only then can we apply the best patterns and components to our architecture, scaling it into the future.

    JavaScript at Scale will show you how to deal with scalability from a number of perspectives; addressability, testability and component composition.

    The book begins by defining ‘scale’ from a JavaScript point of view, and dives into the influencers of scale, as well as scalable component composition and communication. We will also look at how large-scale architectures need the ability to scale down, and recover from failing components, as well as scale up and manage new features or a large user base.

    Filled with real-world JavaScript scaling scenarios, and code-first examples, JavaScript at Scale is your guide to building out applications that last. Each topic is covered in a way that it can be applied to your own unique scenarios; by understanding the fundamentals of a scaling issue, you’ll be able to use that knowledge to tackle even the most difficult of situations.

    The code examples follow the same approach, using ECMAScript 6 syntax that can be translated to the framework of choice.

    Table of Contents

    Chapter 1: Scale from a JavaScript Perspective
    Chapter 2: Influencers of Scale
    Chapter 3: Component Composition
    Chapter 4: Component Communication and Responsibilities
    Chapter 5: Addressability and Navigation
    Chapter 6: User Preferences and Defaults
    Chapter 7: Load Time and Responsiveness
    Chapter 8: Portability and Testing
    Chapter 9: Scaling Down
    Chapter 10: Coping With Failure

    中文:

    书名:JavaScript at Scale

    构建持久的Web应用程序,并从一线的JavaScript开发中扩展洞察力

    About This Book

    • 设计和实现可从多个角度(如可寻址、可配置和性能)扩展的Java应用程序体系结构
    • 了解常见的Java扩展陷阱以及如何通过实际的解决方案和策略来解决这些问题
    • Learn techniques to deliver reusable architectures that stand the test of time

    这本书是为谁写的

    你有没有遇到过一个感觉像是建立在沙子上的应用程序?也许您的任务是创建一个在完全重写之前需要持续一年以上的应用程序?如果是这样的话,大规模的JavaScript就是您维护可伸缩体系结构所缺少的文档。

    这本书不需要必备的框架知识,然而,全书中呈现的大多数概念都是对Backbone、AngularJS或Ember等框架中组件的改编。

    所有代码示例都使用ECMAScript6语法提供,以确保您的应用程序为下一代浏览器做好了准备。

    What You Will Learn

    • 确定和评估您的应用程序的外部扩展影响因素
    • 在大规模的Java应用程序中构建组件组合
    • Design for inter-component communication that scale
    • 了解可寻址资源在Java应用程序中的重要性,以及扩展可寻址能力的方法
    • 定制和配置组件以满足扩展需求
    • 确保高性能的用户体验,无论您的应用程序有多大、多复杂
    • 设计可移植和可测试的应用程序,使其不局限于一种环境
    • 通过移除或重构组件来进行架构权衡
    • Design components that fail in a scalable way

    In Detail

    今天的JavaScript应用程序看起来与五年前的前身有很大的不同。由于复杂性和功能的快速增长,我们已经看到了JavaScript框架的爆炸性增长;JavaScript开发环境是一个零散的环境。要构建大规模的JavaScript应用程序,我们需要的不仅仅是工具–我们还需要可伸缩的架构。我们通过查看应用程序的哪些方面需要扩展以及为什么需要扩展来创建可伸缩的JavaScript体系结构。只有这样,我们才能将最好的模式和组件应用到我们的体系结构中,并将其扩展到未来。

    Scale上的JavaScript将从多个角度向您展示如何处理可伸缩性:可寻址、可测试性和组件组合。

    这本书从从JavaScript的角度定义规模开始,深入探讨了规模的影响因素,以及可伸缩的组件组合和通信。我们还将了解大型架构如何需要缩减规模和从故障组件中恢复的能力,以及向上扩展和管理新功能或庞大用户群的能力。

    充斥着真实世界的JavaScript伸缩场景和代码先行示例,《在规模上》是您构建持久应用程序的指南。每个主题都以一种可以应用于您自己独特场景的方式进行介绍;通过了解可伸缩性问题的基本原理,您将能够使用这些知识来处理即使是最困难的情况。

    代码示例遵循相同的方法,使用可转换为所选框架的ECMAScript6语法。

    Table of Contents

    Chapter 1: Scale from a JavaScript Perspective
    第二章:规模的影响因素
    第三章:组件组装
    第4章:组件通信和职责
    Chapter 5: Addressability and Navigation
    Chapter 6: User Preferences and Defaults
    Chapter 7: Load Time and Responsiveness
    Chapter 8: Portability and Testing
    第9章:缩小规模
    第十章:应对失败

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册