Introduction

Part 1, Chapter 1


As with a lot of new technologies, I find that the best way to learn something new is to actually build something.

With that in mind, this course will teach the fundamentals of Vue by building an actual web application. Each chapter in this course will build upon itself to achieve that goal of developing a web app.

The web application that will be built in this course is for managing a list of users that are stored in a database. This type of site is called a CRUD (Create, Read, Update, and Delete) application, as it provides the key functionality for interacting with a database.

Why use a JavaScript framework?

Before jumping into how to get started with Vue, let's start with some questions: Why use Vue at all? Why not use standard (vanilla) JavaScript?

While there is nothing wrong with using standard JavaScript, using a JavaScript framework is much easier. When I use the word easier here, I really mean, well, easier...

A JavaScript framework will provide you with:

  • a set of tools to be able to write less code
  • a set of tools to build more complex functionality
  • a structure to write reusable components
  • a set of tools to keep your data synchronized with your user interface
  • a set of third-party libraries to expand your use of the framework

Using a JavaScript framework is not always the correct answer for a project. There are a lot of examples where a webpage with HTML, CSS, and a little bit of standard JavaScript is the answer (such as a restaurant's website, a personal blog, etc.).

However, as you get into more complex user interactions (as we will see in this Vue course), a JavaScript framework provides a lot of advantages in terms of reducing the complexity of the code that you need to write and for providing a structure to make reusable software modules (Vue components).

Why do I like Vue?

First, I really enjoy writing web applications with Vue. After learning JavaScript, Vue was a shining light of how to successfully use JavaScript to build more interactive web applications (beyond HTML and CSS only). The user interfaces that you can develop with Vue (really, with all JavaScript frameworks) are incredible.

After learning Vue, I simply find the framework to make sense. That's definitely a personal preference, but I hope that this course provides that same excitement for you to start building your own web applications.

I really like the flexibility that Vue provides; you can use it to enhance a section in your overall web application -OR- you can use it to build complex single-page applications (SPA).

Lastly, the documentation for Vue is really well done!

What are we building with Vue?

One of the key advantages of JavaScript frameworks is their focus on building components to structure your web application. To really highlight this concept, here is an overview of the web page that we will be creating in this course:

Webpage Overview

As we start delving into Vue, the structure of this web page will lend itself really well to a group of components:

  • Header
  • Navigation Links
  • Content
  • Footer

This is one of the great advantages of a JavaScript framework like Vue... there is already an established pattern/guidance for building reusable components that can easily be plugged into a web application.

Don't worry, you don't need to fully understand the concept of a component just yet, but I wanted to provide a preview of where we are going with Vue and how it can provide such excellent structure to your web application.




Mark as Completed