Название книги: Fullstack Vue
Авторы: Хасан Джирдех, Нате Муррей, Ари Лернер
Формат: pdf, equb, mobi, code
Размер: 18.2 MB (pdf), 44,1 (mobi), 19,4 MB (epub), 5,9 MB (code)
Описание книги «Fullstack Vue»:
This book aims to be the single most useful resource on learning Vue.js. By the time you’re done reading this book, you (and your team) will have everything you need to build reliable, powerful Vue applications.
Vue is built on the premise of simplicity by being designed from the ground up to be incrementally adoptable. After the first few chapters, you’ll have a solid understanding of Vue’s fundamentals and will be able to build a wide array of rich, interactive web apps with the framework.
But beyond Vue’s core, there are tools and libraries that exist in the Vue ecosystem that’s often needed to build real-world production scale applications. Things like client-side routing between pages, managing complex state, and heavy API interaction at scale.
This book can be broken down into two parts.
In Part I, we cover all the fundamentals with a progressive, example-driven approach. You’ll first introduce Vue through a Content Delivery Network (CDN) before moving towards building within Webpack bundled applications. You’ll gain a grasp of handling user interaction, working with single-file components, understanding simple state management, and how custom events
We bookend the first part by introducing Vuex and how Vuex is integrated to manage overall application data architecture.
Part II of this book moves into more advanced concepts that you’ll often see used in large, production applications. We’ll integrate Vuex to a server-persisted app, manage rich forms, build a multi-page app that uses client-side routing, and finally explore how unit tests can be written with Vue’s official unit testing library.
First, know that you do not need to read this book linearly from cover-to-cover. However, we’ve ordered the contents of the book in a way we feel fits the order you should learn the concepts. Some sections in Part II assume you’ve acquired certain fundamental concepts from Part I. As a result, we encourage you to learn all the concepts in Part I of the book first before diving into concepts in Part II.
Second, keep in mind this package is more than just a book — it’s a course complete with example
code for every chapter. Below, we’ll tell you:
- how to approach the code examples and
- how to get help if something goes wrong
Be notified of updates via Twitter
We’d love to hear from you!
- How to Get the Most Out of This Book
Running Code Examples
Code Blocks and Context
Instruction for Windows users
- Your first Vue.js Web Application
Development environment setup
Setting up the view
Making the view data-driven
Event handling (our app’s first interaction)
v-bind and v-on shorthand syntax
- ISingle-file components
Setting up our development environment
Breaking the app into components
Managing data between components
Simple State Management
Steps to building Vue apps from scratch
Step 1: A static version of the app
Step 2: Breaking the app into components
Step 3: Hardcode Initial States
Step 4: Create state mutations (and corresponding component actions)
The Calendar App
- Custom Events
Vue Custom Events
Custom events and managing data
- Introduction to Vuex
What is Flux?
Refactoring the note-taking app
Building the components
- Vuex and Servers
The Server API
Playing with the API
Client and server
Preparing the application
The Vuex Store
Vuex and medium to large scale applications
- Form Handling
The Basic Button
What is routing?
Basic Vue Router
Dynamic Route Matching
The Server API
Starting point of the app
Supporting authenticated routes
Recap and further reading \
- Unit Testing
End-to-end vs. Unit Testing
Testing a basic Vue component
More assertions for App.vue
Writing tests for a weather app
- Fullstack Vue Screencast
Скачать «Fullstack Vue»