Development

Search Results

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

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…

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…

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…

Email Setup Following Server Upgrade

We have recently updated our email server hostnames. ** THIS UPDATE HAS BEEN APPLIED TO ALL SERVERS ** This was due to a conflict in hostname records causing issues to email deliverability. To update your email to new settings: Secure SSL/TLS Settings (Recommended) Username:Email AddressPassword:Email PasswordIncoming Server:mail.<your domain here>  …

southcoastweb Gets GDPR Compliant!

Firstly let’s get the terminology sorted: • GDPR = General Data Protection Regulation• ICO = Information Commissioner’s Office As you may already be aware, the GDPR will come into effect on 25th May 2018. The fundamental change from existing data protection is that it will be implemented into law and…

The Funky Peach Case Study

Established in 2010, The Funky Peach is a personalised clothing company with an outstanding reputation in design, quality and customer service. The Funky Peach has always tried to separate itself from the usual embroidery and printing companies. As you can tell by the name they are a little bit different!…
Showing 1 to 10 of 33 items
Copyright 2007 - 2024 southcoastweb is a brand of DSM Design.