Categories
Journal

Started to learn Rust

Today is the day when I start to learn the Rust programming language.

Categories
Journal

Been learning to use Docker Swarm

Despite not yet managing to get what I have learnt implemented, I have nonetheless took on board some good concepts around docker and docker swarm

Categories
Articles

How I would set up Laravel with Docker

This is a quick brain dump for myself to remember how I set up Laravel with Docker. Hopefully it can help others out also.

Categories
Articles

How to easily set a custom redirect in Laravel form requests

In Laravel you can create custom request classes where you can house the validation for any given route. If that validation then fails, Laravel’s default action is to redirect the visitor back to the previous page. This is commonly used for when a form is submitted incorrectly – The visitor will be redirected back to…

Categories
Journal

Stretching before running

Categories
Articles

Laravel Blade push and stack

Laravel’s blade view compiler is second to none. I’ve used a couple of different templating engines and blade is by far my favourite. Including Partials The way in which we include partials of views within our main views is as follows:@include(‘partials.my-first-partial’)It will inject that partial’s content in the specified place. Defining Sections Within our views,…

Categories
Articles

Bypassing Laravel’s CSRF Middleware on selected routes (from 5.1)

A handy way to have some of your routes skip the middleware for CSRF protection. Handy in some situations.