Programming JavaScript Applications: Robust Web Architecture with Node, HTML5, and Modern JS Libraries 1st Edition 22099
Take advantage of JavaScript's power to build robust web-scale or enterprise applications that are easy to extend and maintain. By applying the design patterns outlined in this practical book, experienced JavaScript developers will learn how to write flexible and resilient code that's easier—yes, easier to work with as your code base grows.
JavaScript may be the most essential web programming language, but in the real world, JavaScript applications often break when you make changes. With this book, author Eric Elliott shows you how to add client - and server-side features to a large JavaScript application without negatively affecting the rest of your code.
- Examine the anatomy of a large-scale JavaScript application
- Build modern web apps with the capabilities of desktop applications
- Learn best practices for organization code, modularity, reuse and
- Separate your application into different layers of responsibility
- Build efficient, self-describing hypermedia APIs with Node.js
- Test, integrate, and deploy software updates in rapid cycles
- Control resource access with user authentication and authorization
- Expand your application's reach through internationalization
Table of Contents
Chapter 1 The JavaScript Revolution
Advantages of JavaScript
Anatomy of a Typical Modern JavaScript App
Chapter 2 Functions
Minimize Side Effects
Function Definition
Function Scope
Design Method
Functional Programming
Asynchronous Operations
Завершення
Chapter 3 Objects
Classical Inheritance Is Obsolete
Fluent-Style JavaScript
Prototypes
Object Creation
Factories
Prototypal Inheritance with Stamps
Завершення
Chapter 4 Modules
Principles of Modularity
Interfaces
The Module Pattern
Asynchronous Module Definition
Node-Style Modules
npm
ES6 Modules
Building Client-Side Code with CommonJS, npm, Grunt, and Browserify
Завершення
Chapter 5 Separation of Concerns
Client-Side Concerns
Server-Side Concerns
Завершення
Chapter 6 Access Control
Authentication
Authorization
Завершення
Chapter 7 Logging
Debugging
Server Operations
Security
Auditing
Business Analytics
Logging Checklist
Logging Requests
Logging Errors
Sample Log Output
Logging Service Alerts
Logging Goals
Profiling and Instrumentation
Logging Client-Side Events
Deciphering Data
Завершення
Chapter 8 Building RESTful APIs
Usable
Self-Describing: Hypermedia
Responsive APIs
Optimizing for Speed
Завершення
Chapter 9 Feature Toggle
Organizing Features
Lifespan of a Feature
Implementation
Завершення
Chapter 10 Internationalization
Завершення
Appendix JavaScript Style Guide
Example Tests
QUnit Primer
Code Quality
Best Practices Quick Reference
Colophon
- АвторEric Elliott
- КатегоріяПрограмування
- МоваАнглійська
- Рік2014
- Сторінок254
- Формат170х240 мм
- ОбкладинкаМ'яка
- Тип паперуОфсетний
- Термін поставки7-10 дней
допоможіть тим, хто ще не читав