Book description
In Single Page Web Applications you'll learn to build modern browser-based apps that take advantage of stronger client platforms and more predictable bandwidth. You'll learn the SPA design approach, and then start exploring new techniques like structured JavaScript and responsive design. And you'll learn how to capitalize on trends like server-side JavaScript and NoSQL data stores, as well as new frameworks that make JavaScript more manageable and testable as a first-class language.
About the Technology
Web 1.0: Sites request pages from the server one at a time. Each interaction with a page means another round-trip. Slow, awkward, and easy.
Web 2.0: AJAX . Individual elements change without updating the whole page. Great idea, but a lot more work on both the server and the client.
Enter the modern single page web application (SPA). With the near universal availability of capable browsers and powerful hardware, you can push most of the web application to the browser; including HTML rendering, data, and business logic. The only time a client needs to communicate with the server is to authenticate or synchronize data. This means users get a fluid, comfortable experience whether they're surfing at their desk or using a phone app on a sketch 3G connection.
About the Book
If your website is a jumpy collection of linked pages, you are behind. Single page web applications are your next step: pushing UI rendering and business logic to the browser and communicating with the server only to synchronize data, they provide a smooth user experience, much like a native application. But, SPAs can be hard to develop, manage, and test.
Single Page Web Applications shows how your team can easily design, test, maintain, and extend sophisticated SPAs using JavaScript end-to-end, without getting locked into a framework. Along the way, you'll develop advanced HTML5, CSS3, and JavaScript skills, and use JavaScript as the language of the web server and the database.
This book assumes basic knowledge of web development. No experience with SPAs is required.
What's Inside
- Design, build, and test a full-stack SPA
- Best-in-class tools like jQuery, TaffyDB, Node.js, and MongoDB
- Real-time web with web sockets and Socket.IO
- Touch controls for tablets and smartphones
- Common SPA design mistakes
About the Reader
This book assumes you know JavaScript and web dev basics. No experience with SPA tools and techniques required.
About the Authors
The authors are architects and engineering managers. Michael Mikowski has worked on many commercial SPAs and a platform that processes over 100 billion requests per year. Josh Powell has built some of the most heavily trafficked sites on the web.
Quotes
Insights from generations of SPA refinement.
- From the Foreword by Gregory D. Benson
Thorough, comprehensive, and methodical.
- Mark Ryall, ThoughtWorks
Essential reading, even if you’re using a framework.
- Ken Rimple, Author of "Spring Roo in Action"
I highly recommend the techniques outlined here.
- Jason Kaczor, SharePoint MVP
An excellent guide.
- Mike Greenhalgh, NHS Wales
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Cover Illlustration
- Part 1. Introducing SPAs
- Part 2. The SPA client
- Part 3. The SPA server
- Appendix A. JavaScript coding standard
- Appendix B. Testing an SPA
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Single Page Web Applications
- Author(s):
- Release date: September 2013
- Publisher(s): Manning Publications
- ISBN: 9781617290756
You might also like
book
Serverless Single Page Apps
Don't waste your time building an application server. See how to build low-cost, low-maintenance, highly available, …
book
HTML5 Unleashed
HTML5 Unleashed is the authoritative guide that covers the key web components driving the future of …
book
Mastering JavaScript Single Page Application Development
An in-depth guide to exploring the design, architecture, and techniques behind building sophisticated, scalable, and maintainable …
book
Building Web Apps that Work Everywhere
One of the joys of web development is the chance to use the latest technologies, but …