Mastering JavaScript Single Page Application Development
Philip Klauzinski, John Moore
- 452 páginas
- English
- ePUB (apto para móviles)
- Disponible en iOS y Android
Mastering JavaScript Single Page Application Development
Philip Klauzinski, John Moore
Información del libro
An in-depth guide to exploring the design, architecture, and techniques behind building sophisticated, scalable, and maintainable single-page applications in JavaScript
About This Book
- Build large-scale, feature-complete SPAs by leveraging widely used tools and techniques.
- Gain a solid understanding of architecture and SPA design to build applications using the library or framework of your choice.
- Explore the various facets of SPA development to build web apps that are fast, scalable, and easy to test.
Who This Book Is For
This book is ideal for JavaScript developers who want to build complex single-page applications in JavaScript. Some basic understanding of SPA concepts will be helpful but not essential.
What You Will Learn
- Organize your development environment using the command line with NPM, Bower, and Grunt.
- Choose an accurate design pattern for your app
- Understand modular JavaScript programming and Node.js
- Interact with a REST API using JavaScript and AJAX with practical examples
- Build a single page application using the MEAN stack
- Connect your app across popular social media platforms such as Facebook, Twitter, and LinkedIn
- Test your app, both on the server side and in views
- Prepare your app for the real world and deploy it to Heroku
In Detail
Single-page web applications—or SPAs, as they are commonly referred to—are quickly becoming the de facto standard for web app development. The fact that a major part of the app runs inside a single web page makes it very interesting and appealing. Also, the accelerated growth of browser capabilities is pushing us closer to the day when all apps will run entirely in the browser.
This book will take your JavaScript development skills to the next level by teaching you to create a single-page application within a full-stack JavaScript environment. Using only JavaScript, you can go from being a front-end developer to a full-stack application developer with relative ease.
You will learn to cross the boundary from front-end development to server-side development through the use of JavaScript on both ends. Use your existing knowledge of JavaScript by learning to manage a JSON document data store with MongoDB, writing a JavaScript powered REST API with Node.js and Express, and designing a front-end powered by AngularJS.
This book will teach you to leverage the MEAN stack to do everything from document database design, routing REST web API requests, data-binding within views, and adding authentication and security to building a full-fledged, complex, single-page web application.
In addition to building a full-stack JavaScript app, you will learn to test it with JavaScript-powered testing tools such as Mocha, Karma, and Jasmine. Finally, you will learn about deployment and scaling so that you can launch your own apps into the real world.
Style and approach
Following a structured approach, this book helps readers gain expertise in SPA development. Its thorough coverage of SPA architecture and design, along with practical use cases, provides readers with a clear path to building applications with the library of their choice. For readers who are afraid to take the plunge straightaway, the book also offers step-by-step guidance on developing a complex web app.
Preguntas frecuentes
Información
Mastering JavaScript Single Page Application Development
Mastering JavaScript Single Page Application Development
Credits
Authors Philip Klauzinski John Moore | Copy Editor Safis Editing |
Reviewers Ciro Artigot | Project Coordinator Ritika Manoj |
Commissioning Editor Wilson D'souza | Proofreader Safis Editing |
Acquisition Editor Reshma Raman | Indexer Rekha Nair |
Content Development Editor Divij Kotian | Graphics Jason Monteiro |
Technical Editor Sachit Bedi | Production Coordinator Aparna Bhagat |
About the Authors
I would like to thank my Mom and Dad for always stressing the importance of education in my life, not just institutional education, but more importantly, the pursuance of self-education. My own interest in technology and software from a young age has driven my subsequent, self-taught approach to my career. As a result, I love what I do for a living, and I have been able to shape my professional life around the things in which I am truly interested. I am inherently driven to learn more every day, and I believe that is what has led to my success. Thank you, Mom and Dad!
I would like to thank my wife, Dr. Myra Salapare, and daughters, Mila Moore and Sophia Moore, for all of their support. I would also like to thank Andrea Shiflet, Erin Benner, and Lauren Grousd for their tremendous help.
About the Reviewer
I would like to thank Pampa, Diego,and Hugo, for giving me the time to review this book, and my parents and brothers, for making it possible for me to devote myself to what I like best—develop
www.PacktPub.com
Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser