Название книги: Fullstack Vue
Год: 2018
Авторы: Хасан Джирдех, Нате Муррей, Ари Лернер
Страниц: 440
Язык: Английский
Формат: pdf, epub, 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
work.
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
Оглавление:
Book Revision
Bug Reports
Be notified of updates via Twitter
We’d love to hear from you!
- Foreword
- How to Get the Most Out of This Book
Overview
Vue 2.x
Running Code Examples
Code Blocks and Context
Instruction for Windows users
Getting Help
Emailing Us
Get excited! - Your first Vue.js Web Application
Building UpVote!
Development environment setup
JavaScript ES6/ES7
Getting started
Setting up the view
Making the view data-driven
List rendering
Sorting
Event handling (our app’s first interaction)
Components
v-bind and v-on shorthand syntax
Congratulations! - ISingle-file components
Introduction
Setting up our development environment
Getting started
Single-File Components
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
Methodology review - Custom Events
Introduction
JavaScript Custom Events
Vue Custom Events
Event Bus
Custom events and managing data
Summary - Introduction to Vuex
Recap
What is Flux?
Flux implementations
Vuex
Refactoring the note-taking app
Vuex Store
Building the components - Vuex and Servers
Introduction
Preparation
The Server API
Playing with the API
Client and server
Preparing the application
The Vuex Store
productModule
cartModule
Interactivity
Vuex and medium to large scale applications
Recap - Form Handling
Introduction
Forms 101
Preparation
The Basic Button
Text Input
Multiple Fields
Validations
Async Persistence
Vuex
Form Modules - Routing
What is routing?
URL
Single-page applications
Basic Vue Router
Dynamic Route Matching
The Server API
Starting point of the app
Integrating vue-router
Supporting authenticated routes
Implementing login
Vue watch
Navigation Guards
Recap and further reading \ - Unit Testing
End-to-end vs. Unit Testing
Testing tools
Testing a basic Vue component
Setup
Testing App
vue-test-utils
More assertions for App.vue
Writing tests for a weather app
Store
Further reading - Fullstack Vue Screencast
Building SimpleCoinCap
Agenda
Скачать “Fullstack Vue”