• Complain

Callum Macrae - Vue.js: Up and Running: Building Accessible and Performant Web Apps

Here you can read online Callum Macrae - Vue.js: Up and Running: Building Accessible and Performant Web Apps full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: O’Reilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Callum Macrae Vue.js: Up and Running: Building Accessible and Performant Web Apps
  • Book:
    Vue.js: Up and Running: Building Accessible and Performant Web Apps
  • Author:
  • Publisher:
    O’Reilly Media
  • Genre:
  • Year:
    2018
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Vue.js: Up and Running: Building Accessible and Performant Web Apps: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Vue.js: Up and Running: Building Accessible and Performant Web Apps" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Get a brisk introduction to building fast, interactive single-page web applications with Vue.js, the popular JavaScript framework that organizes and simplifies web development. With this practical guide, youll quickly move from basics to custom components and advanced featuresincluding JSX, the JavaScript syntax extension.

Author Callum Macrae shows you how to use the most useful libraries in the Vue ecosystem, such as vue-router for routing, vuex for state management, and vue-test-utils for testing. If youre a frontend developer familiar with JavaScript, HTML, and CSS, this book will show you how to develop a fully featured web application using Vue.

  • Learn Vue.js basics, including its use of templates to display data on a page
  • Set up Vue projects from scratch, or use vue-cli to set up from a template
  • Create a maintainable codebase by splitting code into self-contained components
  • Discover how Vue.js works with CSS to style your websites and applications
  • Use render functions and JSX, rather than templates, to determine what Vue displays
  • Control how code is executed and displayed with vue-router
  • Manage state in one centralized place with the Vuex library
  • Write unit tests to ensure your Vue components dont break in the future

Callum Macrae: author's other books


Who wrote Vue.js: Up and Running: Building Accessible and Performant Web Apps? Find out the surname, the name of the author of the book and a list of all author's works by series.

Vue.js: Up and Running: Building Accessible and Performant Web Apps — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Vue.js: Up and Running: Building Accessible and Performant Web Apps" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Vue.js: Up and Running

by Callum Macrae

Copyright 2018 Callum Macrae. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

  • Editors: Allyson MacDonald and Virginia Wilson
  • Production Editor: Justin Billing
  • Copyeditor: Sharon Wilkey
  • Proofreader: Jasmine Kwityn
  • Indexer: Ellen Troutman-Zaig
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Rebecca Demarest
  • March 2018: First Edition
Revision History for the First Edition
  • 2018-02-23: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781491997246 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. Vue.js: Up and Running, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-491-99724-6

[LSI]

Preface

Frontend development is changing. Websites are becoming richer and more interactive, requiring us as frontend developers to add increasingly complicated functionality and use more powerful tools. Its easy enough to update a bit of text on a page by using jQuery, but as we need to do moreupdating large, interactive sections of a page; handling complicated state; performing client-side routing; and simply writing and organizing a lot more codeusing a JavaScript framework makes our jobs a lot easier.

A framework is a JavaScript tool that makes it easier for developers to create rich, interactive websites. Vue has hundreds of collaborators and is downloaded from npm about 40,000 times every day. It contains features that are useful when developing websites and applications: a powerful templating syntax to write to the DOM and listen to events, reactivity so that you dont need to update the template after your data changes, and functionality that makes it easier for you to manipulate your data.

Who This Book Is For

If you know HTML and JavaScript and are looking to take your knowledge to the next level by learning how to use a framework, this book is for you. and most of the code examples are pretty readable anyway.

If youre experienced with React, this book is , which explains some Vue.js concepts as compared to what you already know from React.

Book Layout

This book contains seven chapters and two appendixes:

The first chapter introduces the basics of Vue.js, the main technology that this book is about. I explain how to install it and introduce it into a web page, and how you can use it to display data on a page.

Vue.js allowsand encouragesyou to split your code into components that you can then reuse around your codebase. This chapter explains exactly how you can do that to create a more maintainable and understandable codebase.

Every other section of the book deals with HTML and JavaScript, but this chapter presents the more visual side of creating websites. I explain how Vue works with CSS and styles in order to style your websites and applications, and the helper functionality it has built in to assist you with this.

In addition to the templating syntax that youll recognize if youve seen much Vue code or read the Getting Started guide, Vue supports custom render functions, which also allow you to use JSX, a syntax youre familiar with if youve used React before. I explain how to use JSX in your Vue application in this chapter.

Vue by itself is just a view layer. To create an application with multiple pages that can be accessed without making a new request (or in buzzword format: a single-page application), you need to add vue-router to your website, which you can use to handle the routingsaying which code should be executed and displayed when a given path is requested. This chapter explains how to do just that.

In more complicated applications with many levels of components, passing data between components can become a bit of a pain. Vuex enables you to handle your applications state in one centralized place, and in this chapter I explain how you can use it to easily handle complicated application state.

By this point, youll have learned everything you need to know to get your website running, but if you want to maintain your site in the future, youll need to write tests for it. This chapter covers how to use vue-test-utils to write unit tests for your Vue components to ensure that they dont break in the future.

vue-cli enables you to quickly bootstrap Vue applications from given templates. This short appendix shows you how it works and presents a few of the templates.

If youve used React before, youre probably familiar with a lot of the concepts of Vue. This appendix highlights some of the differences, and some of the similarities, between Vue and React.

Style Guide

The examples throughout this book follow the guidelines outlined in the official Vue Style Guide. Once you understand Vue and are looking to work on a larger app or collaborate with other people, I definitely recommend reading the style guide and following the guidelines.

You can find the style guide on the Vue.js website.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This element signifies a tip or suggestion.

Note

This element signifies a general note.

Warning

This element indicates a warning or caution.

Using Code Examples

Supplemental material (code examples, exercises, etc.) is available for download at https://resources.oreilly.com/examples/0636920103455.

This book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Vue.js: Up and Running: Building Accessible and Performant Web Apps»

Look at similar books to Vue.js: Up and Running: Building Accessible and Performant Web Apps. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Vue.js: Up and Running: Building Accessible and Performant Web Apps»

Discussion, reviews of the book Vue.js: Up and Running: Building Accessible and Performant Web Apps and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.