Tutorial

Search Results

Use the search box on the top of the page to search posts in Tutorial

Automating your service and repository patterns in Laravel with command generators

“Why spend 20 seconds doing something when you can spent 4 hours automating it,” goes the proverb. See any professional proverbists around any more? No, because they’ve all been automated. Also it’s fun. Whatever your programming pattern in Laravel, chances are that the php artisan make:x command is going to…

Passing through slots in Vue

If you’re keeping your Vue component sizes small, there’s a good chance you’ll need to implement a wrapper component at some point. If you’re only utilising the default slot for these, it can be as simple as putting a <slot /> tag inside your wrapper component. However, there’s a bit…

How to Create a Simple Button Component in Figma

This tutorial is part of the series
Figma Basics
In this tutorial, we’ll create a simple button using Figma’s built-in component system. To create our button, we’ll first start by drawing a rectangle and adding some text. To do this, select the rectangle tool in the top left toolbar, or hit “R” on your keyboard. Draw out your rectangle,…

cPanel Setup File Explorer

This tutorial is part of the series
cPanel Server Setup Guide
Continuing with our cPanel Setup series, this tutorial will give you an overview about setting up ConfigServer Explorer (CSE) onto your WHM powered VPS. This is not an essential plugin, but definitely one that is very handy, and again it is completely free, so why not? We will be installing…

cPanel Setup Firewall

This tutorial is part of the series
cPanel Server Setup Guide
In this tutorial, which is part of our cPanel Setup series, we will give you a brief overview about setting up ConfigServer Firewall (CSF) onto your WHM powered VPS. This will protect your server from unwanted visitors and attempts at brute forcing onto the server. A firewall to protect your…

Easier Laravel polymorphic relationships with MorphMap

Polymorphic relationships are a hugely powerful way to make connections between tables in a Laravel application. Say you have tables called companies, users, & admins and all three needed to store addresses, without polymorphic relationships, we’d either have to forego standard two-way relationships in an addresses table and just use…

Composable Design Patterns in Vue 3

Back in the days of Vue 2, the mixin was king. Had some code you wanted to reuse in separate components? Create a mixin, import and register it in the component and its provided props, data and methods would magically be available. The problem with mixins was that magic. You’d…

Automatic Vue Component Registration with Vite

Developing a large web application is a constant struggle to not keep writing the same things over and and over again. Part of this can be the need to continually import your components within a Vue application. While there are some great tools to help automatically register all of your…

Export Messages From Mail to Excel With AppleScript

My eldest daughter was sat at home today when I got home from work, copy-pasting emails from her Yahoo mailbox into an Excel sheet. She needed the email in this format for some part of her work and she was on email 157 of 656 and well into her 6th…

PHP Code Snippets Episode 2 Use An Array To fill a Option Box

In this post I am going to show you how to take the values from an array and use them, in a form option box. First of all we are going to make a simple array.. For this example i will just make a basic array, however you could use…
Showing 1 to 10 of 10 items
First
Last
Copyright 2007 - 2024 southcoastweb is a brand of DSM Design.