25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

What this book covers<br />

Building a full-stack app requires a wide variety of knowledge, not just about<br />

<strong>Vue</strong> <strong>and</strong> <strong>Laravel</strong>, but also <strong>Vue</strong> Router, <strong>Vue</strong>x, <strong>and</strong> Webpack, not to mention<br />

JavaScript, PHP, <strong>and</strong> web development in general.<br />

As such, one of the biggest challenges for me as the author was deciding what<br />

should <strong>and</strong> shouldn't be included. The topics I ultimately settled upon arose as<br />

answers to one of the two following questions:<br />

What are the essential features, tools, <strong>and</strong> design patterns that the reader<br />

will use in all, or most, of their <strong>Vue</strong>.<strong>js</strong> apps?<br />

What are the key issues of designing <strong>and</strong> building full-stack <strong>Vue</strong>.<strong>js</strong> apps as<br />

opposed to other architectures?<br />

Here's how the chosen topics are distributed across the chapters of the book: Chap<br />

ter 1, Hello <strong>Vue</strong> - An Introduction to <strong>Vue</strong>.<strong>js</strong>, presents an overview of <strong>Vue</strong>.<strong>js</strong>, <strong>and</strong><br />

the book's case-study project, <strong>Vue</strong>bnb.<br />

Chapter 2, Prototyping <strong>Vue</strong>bnb, Your First <strong>Vue</strong>.<strong>js</strong> Project, provides a practical<br />

introduction to the essential features of <strong>Vue</strong>.<strong>js</strong>, including installation, template<br />

syntax, directives, lifecycle hooks <strong>and</strong> so on.<br />

Chapter 3, Setting Up a <strong>Laravel</strong> Development Environment, shows how to set up a<br />

new <strong>Laravel</strong> project for inclusion in a full-stack <strong>Vue</strong>.<strong>js</strong> app.<br />

Chapter 4, Building a Web Service with <strong>Laravel</strong>, is about laying the foundations of<br />

the backend of our case-study project, by setting up the database, models, <strong>and</strong><br />

API endpoints.<br />

Chapter 5, Integrating <strong>Laravel</strong> <strong>and</strong> <strong>Vue</strong>.<strong>js</strong> with Webpack, explains how a<br />

sophisticated <strong>Vue</strong> app will require a build step, <strong>and</strong> introduces Webpack for<br />

bundling project assets.<br />

Chapter 6, Composing Widgets with <strong>Vue</strong>.<strong>js</strong> Components, teaches how components<br />

are an essential concept of modern UI development <strong>and</strong> one of the most

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!