Year: 2020

sharing ideas and opinions

Common knowledge? So what? Share it anyway.

Until recently, I’ve always used to beat myself up for not having anything interesting to share with the world. Looking around me, I saw all these cool people sharing their experiences and ideas through twitter, blog posts, screencasts, and podcasts. Meanwhile, I had nothing. Nothing interesting enough to share without feeling silly for being too […]

Laravel for Frontend developers

05. Laravel for Frontend developers – request validation

Read the previous lesson or watch a screencast version of this post. If we take a look over the store method where we create a new food item, we see that we are quite optimistic by expecting the request to contain the correct parameters. Let’s see what happens when one of them is missing. Our application blows up. Our […]

Laravel for Frontend developers

04. Laravel for Frontend developers – storing, updating, and deleting records

Read the previous lesson or watch a screencast version of this post. In this post, we’ll see how we can create the API endpoints to store, update, and delete food records from the database. There’s a simple 3 step process you always have to follow when implementing a new endpoint: Add a new route – […]

Laravel for Frontend developers

03. Laravel for Frontend developers – migrations and models

Read the previous post or watch a screencast version instead of reading it. In the last post, we had a look over how routing works in a Laravel application and even added an endpoint returning some hardcoded JSON. In this post, we’ll see how we can connect to MySQL, start creating our database schema, and […]

Laravel for Frontend developers

02. Laravel for Frontend developers – Getting up and running

Read the previous post. There’s also a screencast version of this. Before we get started, make sure you have the following installed on your machine: php@7.4 mysql or mariadb composer The first thing we’re going to do is create our laravel app using composer, which is the de-facto package manager for php – think of […]

Laravel for Frontend developers

01. Laravel for Frontend developers – Intro

If you’re not into reading, watch the whole video series on youtube. Even though companies like Firebase are trying to make “backend as a service” happen, the reality is that most applications need a custom backend – to store records in a database, send e-mails, upload files, talk to other APIs, etc. The goal of […]

Unfinished features is the reason why you are not shipping. Duuh!

Unfinished features is the reason why you are not shipping your side projects

Duh! What else could it be? Everyone knows you should put all your energy into your application’s core features and ignore everything else that gets in your way. And yet we continue to build unnecessary crap and fail to ship our best work. From time to time, I run into some issues one of my […]

Inline forms validation with InertiaJs and Laravel

Inline form validation with InertiaJS, Vue, and Laravel

In this post, we’ll go over how we can handle inline form validation with InertiaJS, Vue, and Laravel. As an example, we’ll take a basic todo list where we can edit each item using an inline form. All we have above is a v-for that loops through a todos array and displays the form whenever […]

Active routes in Inertia with Laravel and VueJS

One of the problems I ran into in my Inertia & Laravel applications and saw other people do the same, was how to accurately determine the active route so you can style it accordingly. In the PingCRM demo, we have a sidebar containing a menu whose items are highlighted every time you visit a specific […]

Managing SVG icons in VueJs apps

Managing SVG Icons in VueJs applications

Using the right icons can make our applications not only better looking but also more intuitive. Inline SVG icons are safe, sharp, and easy to customize, but they tend to ruin our markup and make it less pleasant to navigate. Another problem is that they are hard to re-use. Because, one, you cannot really know […]