Learn to build professional full-stack web apps with Vue.js and Laravel
Key FeaturesEnd-to-end guide on full-stack development with Vue.js 2 and Laravel 5Developing modern user interfaces with a reusable component-based architectureUse Webpack to improve applications performance and development workflowExplore the features of Vuex to build applications that are powerful, consistent, and maintainableBook DescriptionVue is a JavaScript framework that can be used for anything from simple data display to sophisticated front-end applications and Laravel is a PHP framework used for developing fast and secure web-sites. This book gives you practical knowledge of building modern full-stack web apps from scratch using Vue with a Laravel back end.
In this book, you will build a room-booking website named "Vuebnb". This project will show you the core features of Vue, Laravel and other state-of-the-art web development tools and techniques.
The book begins with a thorough introduction to Vue.js and its core concepts like data binding, directives and computed properties, with each concept being explained first, then put into practice in the case-study project.
You will then use Laravel to set up a web service and integrate the front end into a full-stack app. You will be shown a best-practice development workflow using tools like Webpack and Laravel Mix.
With the basics covered, you will learn how sophisticated UI features can be added using ES+ syntax and a component-based architecture. You will use Vue Router to make the app multi-page and Vuex to manage application state.
Finally, you will learn how to use Laravel Passport for authenticated AJAX requests between Vue and the API, completing the full-stack architecture. Vuebnb will then be prepared for production and deployed to a free Heroku cloud server.
What you will learnCore features of Vue.js to create sophisticated user interfacesBuild a secure backend API with LaravelLearn a state-of-the-art web development workflow with WebpackFull-stack app design principles and best practicesLearn to deploy a full-stack app to a cloud server and CDNManaging complex application state with VuexSecuring a web service with Laravel PassportWho This Book Is ForThis book targets developers who are new to Vue.js, Laravel, or both, and are seeking a practical, best-practice approach to development with these technologies.
They must have some knowledge of HTML, CSS and Javascript.
Table of ContentsHello An Introduction To Vue.jsPrototyping Vuebnb, Your First Vue.js ProjectHello Getting Started With LaravelBuilding A Web Service With LaravelIntegrating Laravel And Vue.js With WebpackComposing Widgets With Vue.js ComponentsBuilding A Multi-Page App With VueManaging Your Application State With VuexAdding A User Login & API Authentication With PassportDeploying A Full-Stack App To The Cloud
This book covers all subjects related to full-stack web development: from first front-end components, back-end application development (including authentication with Laravel Passport) until deployment using Heroku and even some performance optimization using CDN. Everything powered by other stuff such as Git, MySQL, and Artisan tools like Tinker.
If you are a junior programmer you will going to be introduced to elementary concepts throughout many tools. If you are an experienced developer you will have a great opportunity to fill some knowledge gaps and update some of your techniques.
A great book for all interested in this stack, but especially for whoever needs a reference book about how to handle all these powerful technologies in a harmonious way and following good practices.