Vue.js 2 Design Patterns and Best Practices: Build enterprise-ready, modular Vue.js applications with Vuex and Nuxt
By 作者: Paul Halliday
ISBN-10 书号: 178883979X
ISBN-13 书号: 9781788839792
Release Finelybook 出版日期: 2018-03-14
pages 页数: 344
Book Description to Finelybook sorting
This book starts off by comparing Vue.js with other frameworks and setting up the development environment for your application. It gradually moves on to writing and styling clean, maintainable, and reusable components that can be used across your application.
Moving on, you’ll look at common UI patterns, Vue form submission, and various modifiers such as lazy binding, number typecasting, and string trimming to create better UIs. You will also explore best practices for integrating HTTP into Vue.js applications to create an application with dynamic data.
Routing is a vitally important part of any SPA, so you will focus on the Vue route and explore routing a user between multiple pages. Next, you’ll also explore state management with Vuex, write testable code for your application, and create performant, server-side rendered applications with Nuxt.
Towards the end we’ll look at common anti-patterns to avoid, to save you from a lot of trial and error and development headaches.
By the end of this book, you’ll be well on your way to becoming an expert Vue developer who can leverage design patterns to efficiently architect the design of your application and write clean and maintainable code.
1: VUE.JS PRINCIPLES AND COMPARISONS
2: PROPER CREATION OF VUE PROJECTS
3: WRITING CLEAN AND LEAN CODE WITH VUE
4: VUE.JS DIRECTIVES
5: SECURED COMMUNICATION WITH VUE.JS COMPONENTS
6: CREATING BETTER UI
7: HTTP AND WEBSOCKET COMMUNICATION
8: VUE ROUTER PATTERNS
9: STATE MANAGEMENT WITH VUEX
10: TESTING VUE.JS APPLICATIONS
12: SERVER-SIDE RENDERING WITH NUXT
What You Will Learn
Understand the theory and patterns of Vue.js
Build scalable and modular Vue.js applications
Take advantage of Vuex for reactive state management.
Create Single Page Applications with vue-router.
Use Nuxt for FAST server side rendered Vue applications.
Convert your application to a Progressive Web App (PWA) and add ServiceWorkers, offline support, and more
Build your app with Vue.js by following up with best practices and explore the common anti-patterns to avoid
Paul Halliday (BSc Hons) is a developer advocate with a focus on fast-moving technologies. His online courses have taught over 25,000 students across a wide variety of software development subjects. He’s also a progress developer expert with expertise in NativeScript and Kendo UI.
Vue.js 2 Design Patterns and Best Practices