Building Enterprise JavaScript Applications

0
(0)

Building Enterprise JavaScript Applications
 

  • Author:Daniel Li
  • Length: 764 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2018-09-29
  • ISBN-10: 1788477324
  • ISBN-13: 9781788477321
  • Sales Rank: #2618194 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Strengthen your applications by adopting Test-Driven Development (TDD), the OpenAPI Specification, Continuous Integration (CI), and container orchestration.

    Key Features

    • Create production-grade JavaScript applications from scratch
    • Build microservices and deploy them to a Docker container for scaling applications
    • Test and deploy your code with confidence using Travis CI

    Book Description

    With the over-abundance of tools in the JavaScript ecosystem, it’s easy to feel lost. Build tools, package managers, loaders, bundlers, linters, compilers, transpilers, typecheckers – how do you make sense of it all?

    In this book, we will build a simple API and React application from scratch. We begin by setting up our development environment using Git, yarn, Babel, and ESLint. Then, we will use Express, Elasticsearch and JSON Web Tokens (JWTs) to build a stateless API service. For the front-end, we will use React, Redux, and Webpack.

    A central theme in the book is maintaining code quality. As such, we will enforce a Test-Driven Development (TDD) process using Selenium, Cucumber, Mocha, Sinon, and Istanbul. As we progress through the book, the focus will shift towards automation and infrastructure. You will learn to work with Continuous Integration (CI) servers like Jenkins, deploying services inside Docker containers, and run them on Kubernetes.

    By following this book, you would gain the skills needed to build robust, production-ready applications.

    What you will learn

    • Practice Test-Driven Development (TDD) throughout the entire book
    • Use Cucumber, Mocha and Selenium to write E2E, integration, unit and UI tests
    • Build stateless APIs using Express and Elasticsearch
    • Document your API using OpenAPI and Swagger
    • Build and bundle front-end applications using React, Redux and Webpack
    • Containerize services using Docker
    • Deploying scalable microservices using Kubernetes

    Who this book is for

    If you’re a JavaScript developer looking to expand your skillset and become a senior JavaScript developer by building production-ready web applications, then this book is for you.

    Table of Contents

    1. The Importance of Good Code
    2. Using Isomorphic JavaScript
    3. Principles of JavaScript
    4. Writing in ECMAScript 2015+
    5. Managing Version History with Git
    6. Setting Up Development Tools
    7. TDD Part I – End-to-End Tests
    8. TDD Part II – Unit / Integration Tests
    9. Deploying Your Application on a VPS
    10. Continuous Integration
    11. Security – Authentication & Authorization
    12. Documenting Our API
    13. Creating UI with React
    14. E2E Testing in React
    15. Managing State with Redux
    16. Migrating to Docker
    17. Container Management with Kubernetes
    18. Managing States with Redux
    19. Robust Infrastructure with Kubernetes

    中文:

    书名:Building Enterprise JavaScript Applications

    通过采用测试驱动开发(TDD)、OpenAPI规范、持续集成(CI)和容器编排来增强您的应用程序。

    Key Features

    • Create production-grade JavaScript applications from scratch
    • 构建微服务并将其部署到Docker容器以扩展应用
    • 使用Travis CI自信地测试和部署您的代码

    Book Description

    随着JavaScript生态系统中工具的过多,很容易让人感到迷茫。构建工具、包管理器、加载器、绑定器、链接器、编译器、代码转换程序、类型检查器–您如何理解这一切?

    在本书中,我们将从头开始构建一个简单的API和Reaction应用程序。我们首先使用Git、Year、Babel和ESLint设置我们的开发环境。然后,我们将使用Express、Elasticearch和JSON Web令牌(JWT)来构建无状态API服务。对于前端,我们将使用Reaction、Redux和webpack。

    书中的一个中心主题是维护代码质量。因此,我们将使用硒、黄瓜、摩卡、锡农和伊斯坦布尔来执行测试驱动开发(TDD)过程。随着本书的进展,重点将转向自动化和基础设施。您将学习如何使用像Jenkins这样的持续集成(CI)服务器,在Docker容器中部署服务,并在Kubernetes上运行它们。

    通过阅读本书,您将获得构建健壮的、生产就绪的应用程序所需的技能。

    What you will learn

    • 在整本书中实践测试驱动的开发(TDD)
    • 使用Cucumber、Mocha和Selify编写E2E、集成、单元和UI测试
    • 使用Express和Elasticearch构建无状态API
    • Document your API using OpenAPI and Swagger
    • 使用Reaction、Redux和webpack构建并捆绑前端应用程序
    • 使用Docker将服务集装箱化
    • 使用Kubernetes部署可伸缩微服务

    这本书是为谁而写的

    如果您是一名希望通过构建可投入生产的Web应用程序来扩展您的技能集并成为一名资深的JavaScript开发人员的Java开发人员,那么这本书是为您准备的。

    Table of Contents

    1. 好的代码的重要性
    2. 使用同构的Java脚本
    3. Java脚本的基本原理
    4. 用ECMASSIPT 2015+编写
    5. 使用Git管理版本历史记录
    6. 设置开发工具
    7. TDD第一部分:端到端测试
    8. TDD第二部分:单元/集成测试
    9. 在VPS上部署您的应用程序
    10. 持续集成
    11. 安全–认证和授权
    12. Documenting Our API
    13. 使用Reaction创建用户界面
    14. REACT中的E2E测试
    15. Managing State with Redux
    16. Migrating to Docker
    17. 使用Kubernetes进行集装箱管理
    18. 使用Redux管理状态
    19. Robust Infrastructure with Kubernetes
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册