Mastering Modular JavaScript - Nicolas Bevacqua (2018) [O'Reilly].pdf
(
2802 KB
)
Pobierz
M O D U L A R J AVA S C R I P T S E R I E S
MASTERING
MODULAR
JAVASCRIPT
N I CO L Á S B E VA CQU A
Mastering Modular
JavaScript
Nicolás Bevacqua
Beijing
Boston Farnham Sebastopol
Tokyo
Mastering Modular JavaScript
by Nicolás Bevacqua
Copyright © 2018 Nicolás Bevacqua. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA
95472.
O’Reilly books may be purchased for educational, business, or sales promotional use.
Online editions are also available for most titles (http://oreilly.com/safari). For more
information, contact our corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Acquisitions Editor:
Allyson MacDonald
Editor:
Virginia Wilson
Production Editor:
Colleen Cole
Copyeditor:
Sharon Wilkey
Proofreader:
Jasmine Kwityn
September 2018:
First Edition
Indexer:
Angela Howard
Interior Designer:
Monica Kamsvaag
Cover Designer:
Randy Comer
Illustrator:
Rebecca Demarest
Revision History for the First Edition
2018-08-24:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491955680
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Mastering Modu‐
lar JavaScript,
the cover image, and related trade dress are trademarks of O’Reilly
Media, Inc.
The views expressed in this work are those of the author and do not represent the
publisher’s views. While the publisher and the author have used good faith efforts to
ensure that the information and instructions contained in this work are accurate, the
publisher and the author disclaim all responsibility for errors or omissions, includ‐
ing without limitation responsibility for damages resulting from the use of or reli‐
ance on this work. Use of the information and instructions contained in this work is
at your own risk. If any code samples or other technology this work contains or
describes is subject to open source licenses or the intellectual property rights of oth‐
ers, it is your responsibility to ensure that your use thereof complies with such licen‐
ses and/or rights.
978-1-491-95568-0
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
1.
Module Thinking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Introduction to Module Thinking
1.2 A Brief History of Modularity
1.3 The Perks of Modular Design
1.4 Modular Granularity
1.5 Modular JavaScript: A Necessity
1
3
10
11
13
19
2.
Modularity Principles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.1 Modular Design Essentials
2.2 CRUST: Consistent, Resilient, Unambiguous, Simple,
and Tiny
3.1 Growing a Module
3.2 CRUST Considerations
3.3 Pruning a Module
31
41
50
56
65
70
86
92
99
iii
3.
Module Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.
Shaping Internals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4.1 Internal Complexity
4.2 Refactoring Complex Code
4.3 State as Entropy
4.4 Data Structures Are King
5.
Modular Patterns and Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
5.1 Leveraging Modern JavaScript
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
M.Wooldridge, L.Wooldridge - Teach Yourself Visually HTML and CSS - 2008.pdf
(92435 KB)
M Hoogendoorn & B Funk - Machine Learning for the Quantified Self.pdf
(11215 KB)
M Is for (Data) Monkey - Ken Puls.epub
(10058 KB)
M Rollins - The UBTECH Jimu Robots Builder's Guide.pdf
(10784 KB)
M. Chirimuuta - Outside Color.pdf
(19180 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin