Buy new:
$48.99
FREE delivery Thursday, May 16
Ships from: Amazon.com
Sold by: Amazon.com
$48.99
FREE Returns
FREE delivery Thursday, May 16. Order within 3 hrs 25 mins
In Stock
$$48.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$48.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day easy returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day easy returns
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$44.99
Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc... Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc... See less
$3.98 delivery May 20 - 21. Details
Only 1 left in stock - order soon.
$$48.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$48.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by glenthebookseller.
Kindle app logo image

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.

QR code to download the Kindle App

Something went wrong. Please try your request again later.

Vue.js 2 Design Patterns and Best Practices

3.9 3.9 out of 5 stars 14 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$48.99","priceAmount":48.99,"currencySymbol":"$","integerValue":"48","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JEjBAfFd1cepNKsgnYZcfRvUHA7LYdyzjOkB%2BWnQ48%2FYMyd1GiZ1MhQZtD505slG51VuPhcoA3V%2B8NMJ66tQVe7fE5LzM29IPkvXwXL6jZrPDDsahHzMeTI%2BjwREBe880zDhH6FdwSuw5JiT2o2UUQ%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$44.99","priceAmount":44.99,"currencySymbol":"$","integerValue":"44","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"JEjBAfFd1cepNKsgnYZcfRvUHA7LYdyz4L5UvWp%2BWch9bkOiSLxxOjgG%2FTl1%2BmPQO69EsZb8Ot61D4KDJRQtwR5qvOOceyWRFxOydJv18Uscpv1dmsLcYwKqYXyRxOgHqWt8PPhJMTuCqpaABdz2iLrP1JGnYPs6DrRsI%2BzbMXpMF4L%2FArUXK5R5yYVJRF4c","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

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

  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. HTTPS
  8. Vue Router Patterns
  9. State Management with Vuex
  10. Testing your app
  11. Performance Optimisation
  12. Server Side Rendering with Nuxt
  13. Anti Patterns
Read more Read less

Amazon First Reads | Editors' picks at exclusive prices

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
  • Customer Reviews:
    3.9 3.9 out of 5 stars 14 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Paul Halliday
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

3.9 out of 5 stars
3.9 out of 5
14 global ratings

Top reviews from the United States

Reviewed in the United States on April 6, 2018
Just bought the book and haven't read it all yet. Why five stars? Paul has consistently provided outstanding tutorials on line. His tutorials are clear, concise and to the point without adding unnecessary fluff or showboating. So there's no reason to think his book would be any different. The folks from GitLab have switched to Vue and Paul's been on the leading edge of training so this has to be a useful book.
Reviewed in the United States on August 14, 2018
Covers basic Vue. Not much better than Vue site. The code to pull down and try is the most useful part.
2 people found this helpful
Report
Reviewed in the United States on May 2, 2018
I was deeply disappointed in this book. I feel the title is misleading because this book more reiterates the Vue.js documentation with next to no design decisions throughout the reading. If there was a design choice, it was not objectified nor properly justified by the author; just do it this way.

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.
14 people found this helpful
Report
Reviewed in the United States on June 13, 2018
I purchased this book directly from Packt Publishing because I had some credit with them. While I have several books on Vue, this is the one I refer to the most. The author is concise which I appreciate. I understand the what & why of best practices, just not how to translate them into Vue. This book is perfect if you need to build an app in Vue and you're pressed for time. Every page contains valuable information, and it's delivered almost in checklist format, which is my personal favorite way to digest technical material.

Top reviews from other countries

Translate all reviews to English
Anonyme
2.0 out of 5 stars Pour utilisateur averti connaissant deja AngularJS
Reviewed in France on January 17, 2021
Si vous cherchez a vous former a VueJS sans deja connaitre AngularJS, passez votre chemin. Ce livre fait l'hypothese que tout le monde connait deja AngularJS et y fait constamment des references pour expliquer les differences entre les deux framework, avec comme objectif plus ou moins volontaire de precher les bienfaits de VueJS vs. AngularJS.
Marten Stockenberg
3.0 out of 5 stars Nicht ganz was es Verspricht..
Reviewed in Germany on May 10, 2019
Für Anfänger besser geeignet als für fortgeschrittene, da die erste Hälfte des Buches auf die Grundlage eingeht. Ab der zweiten Hälfte würde es spannend. Nur ist hält das Buch nicht ganz was der Titel verspricht. Der Parteien und best practice Teil ist sehr klein. Daher guckt es euch vorher an, meistens war die doc akurater.
2 people found this helpful
Report