SPA with Vue.js and Laravel: Routing Basics

If you remember in the previous part, we created our very first page component. Well, to be more accurate, it's not really our very first page; it is the master page. We all know, one of the most basic things in templates is...
Read more...

SPA with Vue.js and Laravel: Setting Things up

As with all projects, we start by setting things up. We'll scaffold a new Laravel project, configure Elixir, prepare our Laravel's main view, and create our very first Vue page component. Please note that since this series is...
Read more...

Building a Single Page Application from Scratch with Vue.js and Laravel

SPAs (Single Page Applications) are everywhere these days. YouTube, Gmail, Twitter, and Medium are just a few examples where SPAs are implemented either fully or partially. SPAs extremely improve the user experience; they giv...
Read more...

Cleaner Database Queries with Repositories

The traditional way to query something from the database is just to execute a bunch of SQL statements from the controller and get the results. Or maybe you use some package or a framework component to abstract the database ac...
Read more...

Make Your JavaScript Cleaner with Destructuring Assignment

Which one of the following code snippets would you prefer to write? This? // ES6 function displayInfo ({ name = 'No name', email = 'No email', occupation = 'No occupation' }) { console.log(name); console.log(email);...
Read more...