Building isomorphic JavaScript apps from concept to implementation to real-world solutions
Main Authors: | , |
---|---|
Format: | eBook |
Language: | English |
Published: |
Sebastopol, CA
O'Reilly
2016
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Part II. Building Our First AppChapter 5. Getting Started; Getting Node Up and Running; Installing from Source; Interacting with the Node REPL; Managing Projects with npm; Setting Up the Application Project; Initializing the Project; Installing the Application Server; Writing Next-Generation JavaScript (ES6); Compiling from ES6 to ES5; Setting Up a Development Workflow; Summary; Chapter 6. Serving Our First HTML Document; Serving an HTML Template; Working with Path and Query Parameters; Summary; Chapter 7. Architecting Our Application; Understanding the Problem; Responding to User Requests
- Copyright; Table of Contents; Preface; Why Isomorphic JavaScript; The Evolution of a Platform; Ajax: Rise of an Application Platform; Ajax: Accumulation of Technical Debt; The Perfect Storm: An All-Too-Common Story; Client Architecture to the Rescue; What Happened to Our Visits?; Isomorphic JavaScript: A Brave New World; The Road Ahead; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Jason Strimpel; Maxime Najim; Part I. Introduction and Key Concepts; Chapter 1. Why Isomorphic JavaScript?; Defining Isomorphic JavaScript
- Evaluating Other Web Application Architecture SolutionsA Climate for Change; Engineering Concerns; Available Architectures; Caveat: When Not to Go Isomorphic; Summary; Chapter 2. Isomorphic JavaScript as a Spectrum; Sharing Views; Sharing Templates; Sharing View Logic; Sharing Routes; Sharing Models; Summary; Chapter 3. Different Categories of Isomorphic JavaScript; Environment Agnostic; Shimmed for Each Environment; Summary; Chapter 4. Going Beyond Server-Side Rendering; Real-Time Web Applications; Isomorphic APIs; Bidirectional Data Synchronization; Client Simulation on the Server; Summary
- When and Why to Use AbstractionGetting and Setting Cookies; Defining the API; Redirecting a Request; Defining the API; Summary; Chapter 10. Serializing, Deserializing, and Attaching; Serializing Data; Creating a Controller Instance; Deserializing Data; Attaching DOM Event Handlers; Verifying the Rehydration Process; Summary; Chapter 11. Closing Thoughts; Production Readiness; Knowing How Much Structure Is Needed; Managing Change; Conclusion; Part III. Real-World Solutions; Chapter 12. Isomorphic React.js at WalmartLabs; Origin of a Species; The Problem; The Solution
- Creating the Application ClassCreating a Controller; Constructing a Controller Instance; Extending the Controller; Improving the Response Flow; Summary; Chapter 8. Transporting the Application to the Client; Bundling Our Application for the Client; Selecting a Bundling Library; Creating Our Bundle Task; Adding Our Client Implementation; Responding to User Requests; Leveraging the History API; Responding to and Calling the History API; Routing on the Client; Executing the Controller Response Flow; Organizing Our Code; Summary; Chapter 9. Creating Common Abstractions