▶Book Description
Vue.js is one of the latest new frameworks to have piqued the interest of web developers due to its reactivity, reusable components, and ease of use.
This book shows developers how to leverage its features to build high-performing, reactive web interfaces with Vue.js. From the initial structuring to full deployment, this book provides step-by-step guidance to developing an interactive web interface from scratch with Vue.js.
You will start by building a simple application in Vue.js which will let you observe its features in action. Delving into more complex concepts, you will learn about reactive data binding, reusable components, plugins, filters, and state management with Vuex. This book will also teach you how to bring reactivity to an existing static application using Vue.js. By the time you finish this book you will have built, tested, and deployed a complete reactive application in Vue.js from scratch.
▶What You Will Learn
- Build a fully functioning reactive web application in Vue.js from scratch.
- The importance of the MVVM architecture and how Vue.js compares with other frameworks such as Angular.js and React.js.
- How to bring reactivity to an existing static application using Vue.js.
- How to use plugins to enrich your applications.
- How to develop customized plugins to meet your needs.
- How to use Vuex to manage global application's state.
▶Key Features
- Learn how to propagate DOM changes across the website without writing extensive jQuery callbacks code.
- Learn how to achieve reactivity and easily compose views with Vue.js and understand what it does behind the scenes.
- Explore the core features of Vue.js with small examples, learn how to build dynamic content into preexisting web applications, and build Vue.js applications from scratch.
▶Who This Book Is For
This book is perfect for novice web developer seeking to learn new technologies or frameworks and also for webdev gurus eager to enrich their experience. Whatever your level of expertise, this book is a great introduction to the wonderful world of reactive web apps.
▶Style and approach
This book is a thorough, step-by-step guide showing readers how to build complete web apps with Vue.js. While teaching its intricacies, this book shows how to implement the MVVM architecture in the real world and build high-performing web interfaces.
▶What this book covers
- Chapter 1, Going Shopping with Vue.js, contains an introduction to Vue.js, to the terminology used through the book, and first basic examples.
- Chapter 2, Fundamentals –. Installing and Using, explains the behind the scenes of Vue.js, provides theoretical insights into the architectural pattern, touches nearly all the main Vue.js concepts, and bootstraps the applications that will be developed through the book.
- Chapter 3, Components –. Understanding and Using, goes deep into components and explains how to rewrite applications using a simple component system and single-file components.
- Chapter 4, Reactivity –. Binding Data to Your Application, contains a detailed explanations of the usage of data binding mechanisms in Vue.js.
- Chapter 5, Vuex –. Managing State in Your Application, contains detailed introduction to Vuex, a state management system for Vue.js, and explains how to use it in your application in order to achieve a nice, maintainable architecture.
- Chapter 6, Plugins –. Building Your House with Your Own Bricks, shows how to use plugins in Vue applications and explains how to use an existing plugin in an application and explains how to build our own plugin and then use it.
- Chapter 7, Testing –. Time to Test What We Have Done So Far, contains an introduction to the testing techniques that can be used in Vue applications to bring them to the needed level of quality. We tackle it by showing how to write unit tests and how to develop end-to-end tests for the applications in the book.
- Chapter 8, Deploying –. Time to Go Live!, shows how to bring your Vue application to the world, guaranteeing its quality with continuous integration tools. It explains how to connect a GitHub repository to the Travis continuous integration system and to the Heroku cloud deployment platform.
- Chapter 9, What Is Next, wraps up everything that has been done so far and leaves the reader with the follow up steps.
- Appendix, Solutions to Exercises, provides solutions to the exercises for first three chapters.