Articles

Search Results

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

Using Vues class function in your own composables

Inside your <template>, you may be used to stacking lots of conditionally applied classes onto elements. You can add dynamic classes (e.g. .btn--${props.type}), arrays of conditional if/else classes (e.g. props.error ? 'has-error' : 'is-valid') or even whole objects of conditionals (e.g. { 'is-disabled': props.disabled }. But what do we do…

Why you should be using backed enums in Laravel

Another year, another new “killer” feature for the poor, embattled software developer to learn rears its ugly head. Fortunately, enums only take a few minutes to learn and can be pretty useful for standardising database columns. Are they going to change the world? Probably not. Are they going to make…

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…

Essential Features of a Website Your Business Needs

If you want to establish a robust online presence, generate more traffic, and attract a larger audience, your business must have a website with the essential features to achieve all these and more. A website is like a virtual entrance to your business and plays a crucial role in attracting…

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…
Showing 1 to 10 of 47 items
Copyright 2007 - 2024 southcoastweb is a brand of DSM Design.