{%title%}
{%description%}
Welcome,
Most people don't know me or what I'm doing most of the time :)
Yet, I enjoy programming and building things that work. Or taking pictures of bugs
I am normally working on a DVIR system, but often work on open source repos.
You can find me as ReeceM or iexistin3d (cause I do)
This website is a central place for any articles tutorials or tips I share. I will also share the occasional riddle or too.
April 4, 2021
Prerender all SvelteKit pages with Prismic as the CMS 3 min read
Originally trying SvelteJS Sapper to build a site with Prismic was a bit tricky, mainly trying to get the systems to work together and also finding out that the hot module reloading was bust... When testing SvelteKit out (I had read about it on Sapper...
Read →August 19, 2021
A method to contain theme-ui styles & others with SliceMachine Slices
I have been making use of theme-ui for developing my slices in Prismic's SliceMachine. In addition to TailwindCSS I actually find the two work well in this case, as well as being similar. Granted...
3 min read →March 12, 2021
Static Form Submission To Laravel Using Next.js [Part 1]
We shall consider an interesting way to implement your own way of handling static forms with a Laravel application and a static website such as Next.js or even things like Svelte, Gatsby and the list...
9 min read →March 11, 2021
Static Form Submission To Laravel Using Next.js Api [Part 2]
This post will go through setting up your Next.js application to send your static form data to your Laravel application we setup in part one
. If you haven't gone through that one yet,...
November 28, 2020
How to Get Paddle PayLinks from a backend API Controller in Laravel
This is the follow up post to using a renderless component for Paddle paylinks. Sometimes you may have na application that has a few subscription options, sometimes not. If you have a few...
4 min read →November 13, 2020
Dynamically load Cashier Paddle buttons with renderless component
A project I have been working on has been in need of an improved billing system, with the release of the cashier-paddle package I was able to add some subscriptions to the app. Working with the...
5 min read →July 6, 2020
Use Morph Map names to resolve Model for Laravel Gate Policies
When using the Blade directives in Laravel for authorizing resources and actions such as the @can
and @cannot
you have to place the classes full path into the function, eg @can(\App\User::class)
or @can('App\User')
.
I had a cunning plan to extend the way the Gate class resolves the models in the same way as it does with Policy classes.
3 min read →