更新时间:2021-07-23 16:33:27
封面
Title Page
Copyright and Credits
Building Enterprise JavaScript Applications
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
Section 1 – Theory and practice
Section 2 – Developing our backend API
Section 3 – Developing our frontend UI
Section 4 – Infrastructure and automation
Section 5 – Important JavaScript concepts and syntax
What is not covered
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
The Importance of Good Code
Technical debt
What is technical debt?
Causes of technical debt
The debt spiral
Consequences of technical debt
Technical debt leads to low morale
Consequences of low morale
Repaying technical debt through refactoring
Preventing technical debt
Informing the decision makers
The triple constraint
The fallacy of the triple constraint
Refuse to develop
Don't be a hero
Defining processes
Test-Driven Development
Understanding the TDD process
Fixing bugs
Benefits of TDD
Avoiding manual tests
Tests as specification
Tests as documentation
Short development cycles
Difficulties with TDD adoption
When not to use TDD
Summary
The State of JavaScript
Evolution of the web application
Just-in-time (JIT) compilers
Single page applications (SPAs)
Isomorphic JavaScript applications
Benefits of Node.js
Context switching
Switching between projects
Switching between languages
The business perspective
Shared code
Managing Version History with Git
Setting up Git
Creating a new repository
Configuring Git
Configuring a user
Learning the basics
Committing to history
Understanding file states in Git
The three tracked states
Staging our changes
Quick recap
Branching and merging
Git branches
Branching models
The Driessen model
Creating a development branch
Creating feature branches
Naming sub-branches
Merging branches
Examining more realistic examples
Keeping the dev Branch Bug-Free
Keeping our history clean
Keeping our history clean with git rebase
Using merge and rebase together
Releasing code
Semantic versioning
Creating a release branch
Tagging releases
Hotfixes
Working with others
Creating a remote repository
Pulling and pushing
Cloning a repository
Conducting peer review through pull requests