Skip to Content
精通模块化JavaScript
book

精通模块化JavaScript

by Nicolás Bevacqua
April 2020
Intermediate to advanced
177 pages
1h 45m
Chinese
Publishing House of Electronics Industry

Overview

如果你有使用JavaScript和ECMAScript 6(ES6)的经验,那么这本实用指南会帮助你应用模块化编程编写出易读、易维护并且易扩展的代码。你将会学习JavaScript基本的模块化结构,了解在每一个系统层级(包括客户端和服务器端)编写独立代码的好处。

Nicolás Bevacqua,Practical Modern JavaScript一书的作者,阐述了怎样通过把代码库分解成更小的模块来扩展JavaScript应用。遵循本书所介绍的设计实践,资深开发者、技术团队领导者和软件架构师都可以学会如何创建简单而灵活的模块,同时使内部的复杂性可控。

  • 学习模块化设计的要素,包括你的应用是怎样被使用的以及哪些部分应该放在接口中。
  • 设计模块内部结构来保证你的代码易读且意图清晰。
  • 通过重构代码、控制和消除状态来降低代码复杂性。
  • 利用现代JavaScript的特性编写整洁的代码并降低复杂性。
  • 在前端和后端JavaScript应用开发中使用十二要素应用原则(Twelve-Factor App Principals)。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据驱动力:企业数据分析实战

数据驱动力:企业数据分析实战

Carl Anderson
基于Python的智能文本分析

基于Python的智能文本分析

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Lua游戏AI开发指南

Lua游戏AI开发指南

Posts & Telecom Press, David Young

Publisher Resources

ISBN: 9787121387074