Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
$48.99$48.99
Ships from: Amazon.com Sold by: Amazon.com
$44.99$44.99
$3.98 delivery May 20 - 21
Ships from: glenthebookseller Sold by: glenthebookseller
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
OK
Vue.js 2 Design Patterns and Best Practices
Purchase options and add-ons
Become an expert Vue developer by understanding the design patterns and component architecture of Vue.js to write clean and maintainable code.
Key Features
- Craft highly modular applications by exploring the design patterns and component architecture of Vue.js
- Enforce a Flux-like application architecture in your Vue.js applications with Vuex
- Easy-to-follow examples that can be used to create reusable code and extensible designs
Book Description
The book starts by comparing Vue.js with other frameworks and setting up the development environment for your application, and gradually move on to writing and styling clean, maintainable, and reusable components that can be used across your application.
Further 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 router 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 antipatterns 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.
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
Who This Book Is For
This book targets Vue Developers who care about framework design principles and utilize commonly found design patterns in developing web applications.
Table of Contents
- Vue.js Principles and Comparisons
- Proper Creation of Vue Projects
- Writing Clean and Lean code with Vue
- Vue.js Directives
- Secured communication with Vue.js Components
- Creating better UI
- HTTPS
- Vue Router Patterns
- State Management with Vuex
- Testing your app
- Performance Optimisation
- Server Side Rendering with Nuxt
- Anti Patterns
- ISBN-10178883979X
- ISBN-13978-1788839792
- PublisherPackt Publishing
- Publication dateMarch 13, 2018
- LanguageEnglish
- Dimensions7.5 x 0.72 x 9.25 inches
- Print length344 pages
Editorial Reviews
About the Author
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.
Product details
- Publisher : Packt Publishing (March 13, 2018)
- Language : English
- Paperback : 344 pages
- ISBN-10 : 178883979X
- ISBN-13 : 978-1788839792
- Item Weight : 1.3 pounds
- Dimensions : 7.5 x 0.72 x 9.25 inches
- Best Sellers Rank: #4,440,963 in Books (See Top 100 in Books)
- #1,248 in Web Services
- #1,451 in JavaScript Programming (Books)
- #4,773 in Computer Programming Languages
- Customer Reviews:
About the author
Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I have read books that cover design and best practices before. For example, The Art of Unit Testing: the author would focus on aspects of design choices and could walk you through why a certain design decision was bad, the pitfalls of it as your application scales, and how to mitigate such issues. In other words, the author provided real-world experiences of issues faced in the wild and how they were combated and why do it this way. Not the case with Vue.js 2 Design Patterns and Best Practices.
Aside from the misleading title, There were parts of this book I was excited about, namely, Vuex, and optimizations. The author, again, only reiterated the documentation of Vuex. The Optimizations chapter was far-off from what I imagined. Its main focus seemed to point you to Google's documentation and how to set up a git repo, a Firebase app, and CI/CD for the aforementioned Firebase app. Finally comes the most laughable part of this book. Chapter 13 Patterns. Again, the author reiterated the documentation. I expected more from this chapter than just that. I did like the container/presentation pattern he had in there. but, aside from that. you can just read the Vue documentation and learn the same concepts presented in this chapter.
If you are brand new to Vue.js and want to get your feet wet. I would say this book is a decent match for you. It lays out a clear path for learning Vue.js as well as hints on a few additions outside the scope of Vue that can help you in developing a modern web app using a solid front-end framework. But buy it for just that and that alone.