0% found this document useful (0 votes)
7 views

Learning Vue Maya Shavin download

The document provides information on the book 'Learning Vue' by Maya Shavin, which focuses on teaching web developers how to build scalable and interactive applications using the Vue.js framework. It covers core concepts, practical patterns, and various tools within the Vue ecosystem, including Vue Router and state management. Additionally, it emphasizes the importance of prior knowledge in HTML, CSS, and JavaScript for effective learning and development with Vue.

Uploaded by

amwiliptakas
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Learning Vue Maya Shavin download

The document provides information on the book 'Learning Vue' by Maya Shavin, which focuses on teaching web developers how to build scalable and interactive applications using the Vue.js framework. It covers core concepts, practical patterns, and various tools within the Vue ecosystem, including Vue Router and state management. Additionally, it emphasizes the importance of prior knowledge in HTML, CSS, and JavaScript for effective learning and development with Vue.

Uploaded by

amwiliptakas
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Learning Vue Maya Shavin pdf download

https://ebookmeta.com/product/learning-vue-maya-shavin/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

Learning Vue: Core Concepts and Practical Patterns for


Reusable, Composable, Scalable User Interfaces 1st
Edition Maya Shavin

https://ebookmeta.com/product/learning-vue-core-concepts-and-
practical-patterns-for-reusable-composable-scalable-user-
interfaces-1st-edition-maya-shavin/

Vue js A comprehensive beginner s guide to Vue js 1st


Edition Alexander Aronowitz Rufus Stewart

https://ebookmeta.com/product/vue-js-a-comprehensive-beginner-s-
guide-to-vue-js-1st-edition-alexander-aronowitz-rufus-stewart/

Vue js A comprehensive beginner s guide to Vue js 1st


Edition Alexander Aronowitz Rufus Stewart

https://ebookmeta.com/product/vue-js-a-comprehensive-beginner-s-
guide-to-vue-js-1st-edition-alexander-aronowitz-rufus-stewart-2/

Spatial Readings and Linguistic Landscapes 1st Edition


Alina Bako

https://ebookmeta.com/product/spatial-readings-and-linguistic-
landscapes-1st-edition-alina-bako/
Needle in a Timestack Jerry Ebooks Version Robert
Silverberg

https://ebookmeta.com/product/needle-in-a-timestack-jerry-ebooks-
version-robert-silverberg/

Spectral Invariants with Bulk Quasi Morphisms and


Lagrangian Floer Theory 1st Edition Kenji Fukaya

https://ebookmeta.com/product/spectral-invariants-with-bulk-
quasi-morphisms-and-lagrangian-floer-theory-1st-edition-kenji-
fukaya/

Routledge Handbook of Critical Studies in Whiteness 1st


Edition Taylor & Francis Group

https://ebookmeta.com/product/routledge-handbook-of-critical-
studies-in-whiteness-1st-edition-taylor-francis-group/

Claimed For Her 3 1st Edition Alexa Riley

https://ebookmeta.com/product/claimed-for-her-3-1st-edition-
alexa-riley/

Chemistry: The Molecular Nature of Matter and Change


Third Canadian Edition Martin Stuart Silberberg

https://ebookmeta.com/product/chemistry-the-molecular-nature-of-
matter-and-change-third-canadian-edition-martin-stuart-
silberberg/
Beginning Azure Cognitive Services: Data-Driven
Decision Making Through Artificial Intelligence 1st
Edition Alicia Moniz

https://ebookmeta.com/product/beginning-azure-cognitive-services-
data-driven-decision-making-through-artificial-intelligence-1st-
edition-alicia-moniz/
Learning Vue
Core Concepts and Practical Patterns for Reusable,
Composable, and Scalable User Interfaces

Maya Shavin
Learning Vue
by Maya Shavin Copyright © 2024 Maya Shavin. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North,
Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales
promotional use. Online editions are also available for most titles
(http://oreilly.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.

Acquisitions Editor: Amanda Quinn

Development Editor: Michele Cronin

Production Editor: Ashley Stussy

Copyeditor: Piper Editorial Consulting, LLC

Proofreader: Liz Wheeler

Indexer: Potomac Indexing, LLC

Interior Designer: David Futato

Cover Designer: Karen Montgomery

Illustrator: Kate Dullea

December 2023: First Edition


Revision History for the First Edition
2023-12-01: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781492098829 for release
details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Learning Vue, the cover image, and related trade dress are trademarks of
O’Reilly Media, Inc.
The views expressed in this work are those of the author and do not
represent the publisher’s views. 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-492-09882-9
[LSI]
Preface

The JavaScript framework plays a significant role in modern web frontend


development. When developing web projects, companies choose a
framework for various reasons, including the quality of the final product,
the cost of development, coding standard, and ease of development. Hence,
learning to work with a JavaScript framework, such as Vue, is essential for
any modern web developer (or frontend developer or full stack developer).
This book is for programmers who want to learn and develop Web
applications using Vue library, in JavaScript and TypeScript, from end to
end. It focuses solely on how Vue and its ecosystem can help you build
scalable and interactive web applications in the most straightforward and
comfortable direction. While covering the basics, we will also get into Vue
Router and Pinia for state management, testing, animation, deployment, and
server-side rendering, making sure you are ready to move on and start
developing complex Vue projects right away.
It’s OK if you are not familiar with Vue or the concept of Virtual DOM.
This book doesn’t assume any prior knowledge of Vue or any similar
framework. I will introduce and guide you through all Vue’s basics from
scratch. I will also walk you through the Virtual DOM concept and
reactivity system in Vue in Chapter 2, as the foundation for the rest of the
book.
This book doesn’t require you to know TypeScript, though you will be
better prepared if you are familiar with TypeScript basics. You will also be
better prepared for the contents of the book if you have prior basic
knowledge of HTML, CSS, and JavaScript. A solid foundation of these
three is always crucial before diving to any web (or frontend) Javascript
framework.

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://github.com/mayashavin/learning-vue-app.
If you have a technical question or a problem using the code examples,
please send email to bookquestions@oreilly.com.
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 you’re
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 examples from O’Reilly 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 product’s documentation
does require permission.
We appreciate, but generally do not require, attribution. An attribution
usually includes the title, author, publisher, and ISBN. For example:
“Learning Vue by Maya Shavin (O’Reilly). Copyright 2024 Maya Shavin,
978-1-492-09882-9.”
If you feel your use of code examples falls outside fair use or the
permission given above, feel free to contact us at permissions@oreilly.com.

O’Reilly Online Learning

NOTE
For more than 40 years, O’Reilly Media has provided technology and business training,
knowledge, and insight to help companies succeed.
Our unique network of experts and innovators share their knowledge and
expertise through books, articles, and our online learning platform.
O’Reilly’s online learning platform gives you on-demand access to live
training courses, in-depth learning paths, interactive coding environments,
and a vast collection of text and video from O’Reilly and 200+ other
publishers. For more information, visit http://oreilly.com.

How to Contact Us
Please address comments and questions concerning this book to the
publisher:

O’Reilly Media, Inc.

1005 Gravenstein Highway North

Sebastopol, CA 95472

800-889-8969 (in the United States or Canada)

707-829-7019 (international or local)

707-829-0104 (fax)

support@oreilly.com

https://www.oreilly.com/about/contact.html

We have a web page for this book, where we list errata, examples, and any
additional information. You can access this page at https://oreil.ly/learning-
vue-1e.
For news and information about our books and courses, visit
https://oreilly.com.
Find us on LinkedIn: https://linkedin.com/company/oreilly-media
Follow us on Twitter: https://twitter.com/oreillymedia
Watch us on YouTube: https://youtube.com/oreillymedia

Acknowledgments
As I embarked on the journey of writing this book, my family was
navigating a tumultuous period, full of highs and lows. Despite enjoying
every moment, writing this book required a lot of time, effort, and
dedication, and I wouldn’t be able to commit to it without the support from
my family, particularly my husband, Natan. His encouragement, belief in
my programming skills, humor about frontend development, parenting our
children during my work travels, lending an ear to my daily grievances, and
helping me balance work with personal life have been invaluable. Without
Natan, I would not be where I am today.
Just as quality code demands thorough review, this book’s excellence owes
much to critical technical insights and encouragement from Jakub
Andrzejewski, Chris Fritz, Lipi Patnaik, Edward Wong, and Vishwesh Ravi
Shrimali. Your valuable feedback has been pivotal in sharpening my focus
and elevating the quality of this work.
My heartfelt appreciation goes to my O’Reilly team: Zan McQuade and
Amanda Quinn, for guiding me through the acquisition process of Learning
Vue, and to my exceptional editor, Michele Cronin. Michele, your insightful
feedback, professionalism, and empathy, particularly during the challenging
final stages of the book, were extraordinary. The production editing skills of
Ashley Stussy and the copyediting expertise of Beth Richards were crucial
in elevating my manuscript to production quality. This book wouldn’t have
materialized as envisioned without your collective efforts.
I extend a special thank you to the Vue core team for developing such a
great framework and ecosystem, and to the Vue community members and
friends for their support and inspiration. The knowledge and insights I
gained from you are immeasurable and continue to enrich me daily.
Finally, my profound gratitude to you, the readers. Choosing this book from
the plethora of resources available, including countless videos and tutorials,
demonstrates a trust in my work that I deeply appreciate. I hope Learning
Vue serves as a valuable tool in your journey, whether you aspire to be a
web, frontend, or full-stack developer.
Thank you, from the bottom of my heart. And remember, in the world of
web development, always “react with a Vue.”
Chapter 1. Welcome to the
Vue.js World!

Initially released in 2014, Vue.js has experienced rapid adoption, especially


in 2018. Vue is a popular framework within the developer community,
thanks to its ease of use and flexibility. If you are looking for a great tool to
build and ship excellent performant web applications to end users, Vue.js is
the answer.
This chapter highlights the core concepts of Vue.js and walks you through
the tools you need for your Vue.js development environment. It also
explores helpful tools that make your Vue.js development process more
manageable. By the end of the chapter, you will have a working
environment with a simple Vue.js application ready to start your journey in
learning Vue.js.

What Is Vue.js?
Vue.js, or Vue, means view in French; it is a JavaScript engine for building
progressive, composable, and reactive user interfaces (UI) in frontend
applications.

NOTE
We will use the term Vue to indicate Vue.js from this point on.

Vue is written on top of JavaScript and offers an organized mechanism to


structure and build a web application. It also acts as the trans-compiler
(transpiler) that compiles and translates Vue code (as a Single File
Component, which we will discuss further in “Vue Single File Component
Structure”) into equivalent HTML, CSS, and JavaScript code in build time
before deploying. In a standalone mode (with a generated script file), the
Vue engine performs the code translation at run-time instead.
Vue follows the MVVM (Model–View–ViewModel) pattern. Unlike MVC
(Model–View–Controller),1 the ViewModel is the binder that binds data
between the View and Model. Allowing direct communication for the view
and model progressively enables the component’s reactivity.
In short, Vue was created to focus only on the View layer but is
incrementally adaptable to integrate with other external libraries for more
complex usage.
Since Vue focuses solely on the View layer, it empowers the development
of single-page applications (SPAs). SPAs can move quickly and fluidly
while communicating data continuously with the backend.
The official website for Vue includes API documentation, installation, and
primary use cases for reference.

The Benefits of Vue in Modern Web


Development
A significant advantage of Vue is its well-written, easy-to-understand
documentation. In addition, the ecosystem and supporting community built
around Vue, such as Vue Router, Vuex, and Pinia, helps developers set up
and run their projects with minimum effort.
Vue APIs are straightforward and familiar to anyone who has worked with
AngularJS or jQuery before. Its powerful template syntax minimizes the
learning effort required and makes it easier to work with data or listen to
Document Object Model (DOM) events in your application.
Another significant benefit Vue offers is its size. The size of a framework is
a substantial aspect of the application’s performance, especially the initial
loading time on delivery. At the time of writing, Vue stands as the fastest
and most lightweight framework (~10kB in size). This advantage results in
less time-consuming downloading and better run-time performance from a
browser perspective.
With the release of Vue 3, the built-in support for TypeScript now offers
developers the benefit of typing in types and making their codebase more
readable, organized, and maintainable in the long term.

Installing Node.js
Working with Vue requires setting up the development ecosystem and prior
coding knowledge to keep up with the learning process. Node.js and NPM
(or Yarn) are necessary development tools to install before you start
working on any application.
Node.js (or Node) is an open source JavaScript server environment built on
Chrome’s V8 JavaScript run-time engine. Node allows developers to code
and run JavaScript applications locally or in a hosted server, outside a
browser.

NOTE
Chromium-based browsers like Chrome and Edge also use the V8 engine to interpret
JavaScript code into efficient low-level computer code and execute it.

Node is cross-platform supported and easy to install. If you are not sure you
installed Node, open your terminal (or command prompt in Windows) and
run the following command:

node -v

The output should be a Node version or “Command not found” if Node is


not installed.
If you haven’t installed Node, or your Node version is lower than 12.2.0,
please visit the Node project website and download the installer for the
latest version based on your operation system (Figure 1-1).
Once the download finishes, click on the installer and follow the
instructions to set it up.
When installing Node, besides the node command, you also have the npm
command added to the command-line tool. If you type the node -v
command, you should see the installed version number displayed.

Figure 1-1. Latest version for download in Node’s official website

NPM
The Node Package Manager (NPM) is the default package manager for
Node. It will be installed together with Node.js by default. It lets developers
download and install other remote Node packages with ease. Vue and other
frontend frameworks are examples of helpful Node packages.
NPM is a powerful tool for developing complex JavaScript applications,
with the ability to create and run task scripts (to start a local development
server, for instance) and automatically download project package
dependencies.
Similar to the Node version check, you can perform an NPM version check
through the npm command:

npm -v

To update your NPM version, use the following command:

npm install npm@latest -g

With parameter @latest, your current NPM tool automatically updates its
version to the latest version. You can run npm -v again to ensure it is
updated correctly. You can also replace the latest word to target any
specific NPM version (in the format xx.x.x). Additionally, you need to
indicate the installation at the global scope with the -g flag for the npm
command to be available everywhere on your local machine. For example,
if you run the command npm install npm@6.13.4 -g, the tool will target
the NPM package version 6.13.4 for installing and updating.

NPM VERSION FOR THIS BOOK


I recommend installing NPM version 7.x to be able to follow all the NPM code
examples in this book.

A Node project depends on a collection of Node packages2 (or


dependencies) to be up and running. In the package.json file within the
project directory, you can find these installed packages. This package.json
file also describes the project, including the name, author(s), and other
scripting commands applied to the project exclusively.
Exploring the Variety of Random
Documents with Different Content
THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree
to abide by all the terms of this agreement, you must cease
using and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project Gutenberg™
works in compliance with the terms of this agreement for
keeping the Project Gutenberg™ name associated with the
work. You can easily comply with the terms of this agreement
by keeping this work in the same format with its attached full
Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and
with almost no restrictions whatsoever. You may copy it,
give it away or re-use it under the terms of the Project
Gutenberg License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country
where you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of
the copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute


this electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the
Project Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must,
at no additional cost, fee or expense to the user, provide a copy,
a means of exporting a copy, or a means of obtaining a copy
upon request, of the work in its original “Plain Vanilla ASCII” or
other form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™
works unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or


providing access to or distributing Project Gutenberg™
electronic works provided that:

• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to the
Project Gutenberg Literary Archive Foundation. Royalty payments
must be paid within 60 days following each date on which you
prepare (or are legally required to prepare) your periodic tax
returns. Royalty payments should be clearly marked as such and
sent to the Project Gutenberg Literary Archive Foundation at the
address specified in Section 4, “Information about donations to
the Project Gutenberg Literary Archive Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project


Gutenberg™ electronic work or group of works on different
terms than are set forth in this agreement, you must obtain
permission in writing from the Project Gutenberg Literary
Archive Foundation, the manager of the Project Gutenberg™
trademark. Contact the Foundation as set forth in Section 3
below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on,
transcribe and proofread works not protected by U.S. copyright
law in creating the Project Gutenberg™ collection. Despite these
efforts, Project Gutenberg™ electronic works, and the medium
on which they may be stored, may contain “Defects,” such as,
but not limited to, incomplete, inaccurate or corrupt data,
transcription errors, a copyright or other intellectual property
infringement, a defective or damaged disk or other medium, a
computer virus, or computer codes that damage or cannot be
read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in
paragraph 1.F.3, the Project Gutenberg Literary Archive
Foundation, the owner of the Project Gutenberg™ trademark,
and any other party distributing a Project Gutenberg™ electronic
work under this agreement, disclaim all liability to you for
damages, costs and expenses, including legal fees. YOU AGREE
THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT
LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT
EXCEPT THOSE PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE
THAT THE FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of
receiving it, you can receive a refund of the money (if any) you
paid for it by sending a written explanation to the person you
received the work from. If you received the work on a physical
medium, you must return the medium with your written
explanation. The person or entity that provided you with the
defective work may elect to provide a replacement copy in lieu
of a refund. If you received the work electronically, the person
or entity providing it to you may choose to give you a second
opportunity to receive the work electronically in lieu of a refund.
If the second copy is also defective, you may demand a refund
in writing without further opportunities to fix the problem.

1.F.4. Except for the limited right of replacement or refund set


forth in paragraph 1.F.3, this work is provided to you ‘AS-IS’,
WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of
damages. If any disclaimer or limitation set forth in this
agreement violates the law of the state applicable to this
agreement, the agreement shall be interpreted to make the
maximum disclaimer or limitation permitted by the applicable
state law. The invalidity or unenforceability of any provision of
this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the


Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and
distribution of Project Gutenberg™ electronic works, harmless
from all liability, costs and expenses, including legal fees, that
arise directly or indirectly from any of the following which you
do or cause to occur: (a) distribution of this or any Project
Gutenberg™ work, (b) alteration, modification, or additions or
deletions to any Project Gutenberg™ work, and (c) any Defect
you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new
computers. It exists because of the efforts of hundreds of
volunteers and donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project
Gutenberg™’s goals and ensuring that the Project Gutenberg™
collection will remain freely available for generations to come. In
2001, the Project Gutenberg Literary Archive Foundation was
created to provide a secure and permanent future for Project
Gutenberg™ and future generations. To learn more about the
Project Gutenberg Literary Archive Foundation and how your
efforts and donations can help, see Sections 3 and 4 and the
Foundation information page at www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-
profit 501(c)(3) educational corporation organized under the
laws of the state of Mississippi and granted tax exempt status
by the Internal Revenue Service. The Foundation’s EIN or
federal tax identification number is 64-6221541. Contributions
to the Project Gutenberg Literary Archive Foundation are tax
deductible to the full extent permitted by U.S. federal laws and
your state’s laws.

The Foundation’s business office is located at 809 North 1500


West, Salt Lake City, UT 84116, (801) 596-1887. Email contact
links and up to date contact information can be found at the
Foundation’s website and official page at
www.gutenberg.org/contact
Section 4. Information about Donations to
the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission
of increasing the number of public domain and licensed works
that can be freely distributed in machine-readable form
accessible by the widest array of equipment including outdated
equipment. Many small donations ($1 to $5,000) are particularly
important to maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws


regulating charities and charitable donations in all 50 states of
the United States. Compliance requirements are not uniform
and it takes a considerable effort, much paperwork and many
fees to meet and keep up with these requirements. We do not
solicit donations in locations where we have not received written
confirmation of compliance. To SEND DONATIONS or determine
the status of compliance for any particular state visit
www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states


where we have not met the solicitation requirements, we know
of no prohibition against accepting unsolicited donations from
donors in such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot


make any statements concerning tax treatment of donations
received from outside the United States. U.S. laws alone swamp
our small staff.

Please check the Project Gutenberg web pages for current


donation methods and addresses. Donations are accepted in a
number of other ways including checks, online payments and
credit card donations. To donate, please visit:
www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could
be freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose
network of volunteer support.

Project Gutenberg™ eBooks are often created from several


printed editions, all of which are confirmed as not protected by
copyright in the U.S. unless a copyright notice is included. Thus,
we do not necessarily keep eBooks in compliance with any
particular paper edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg
Literary Archive Foundation, how to help produce our new
eBooks, and how to subscribe to our email newsletter to hear
about new eBooks.

You might also like