SummarySPA Design and Architecture teaches you the design and development skills you need to create SPAs. Includes an overview of MV* frameworks, unit testing, routing, layout management, data access, pub/sub, and client-side task automation. This book is full of easy-to-follow examples you can apply to the library or framework of your choice.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyThe next step in the development of web-based software, single-page web applications deliver the sleekness and fluidity of a native desktop application in a browser. If you’re ready to make the leap from traditional web applications to SPAs, but don’t know where to begin, this book will get you going.About the BookSPA Design and Architecture teaches you the design and development skills you need to create SPAs. You’ll start with an introduction to the SPA model and see how it builds on the standard approach using linked pages. The author guides you through the practical issues of building an SPA, including an overview of MV* frameworks, unit testing, routing, layout management, data access, pub/sub, and client-side task automation. This book is full of easy-to-follow examples you can apply to the library or framework of your choice.What’s InsideWorking with modular JavaScriptUnderstanding MV* frameworksLayout managementClient-side task automationTesting SPAsAbout the ReaderThis book assumes you are a web developer and know JavaScript basics.About the AuthorEmmit Scott is a senior software engineer and architect with experience building large-scale, web-based applications.Table of ContentsPART 1 THE BASICSWhat is a single-page application?The role of MV* frameworksModular JavaScriptPART 2 CORE CONCEPTSNavigating the single pageView composition and layoutInter-module interactionCommunicating with the serverUnit testingClient-side task automationAPPENDIXESEmployee directory example walk-throughReview of the XMLHttpRequest APIChapter 7 server-side setup and summaryInstalling Node.js and Gulp.js