Home


Latest Pages

Using Slim For Micro-Services

Slim is a "Micro-Services" application framework. Slim provides a minimalistic environment which is very suitable for the development of micro-services. Micro-Services (MSA), what are they exactly? It's an archectura…


Using Sessions in Slim 3

Recently, I have seen a few things pop-up around using Sessions within Slim so I'd like to take some time to show how easy it is. Sessions There are a few ways to initialize sessions, but by far the simplest is the f…


Introduction to Slim via Slimple

I would like to introduce to you my very simple slim skeleton called Slimple. Slimple is designed to be incredibly minimalist. It has 2 dependencies (Slim and Twig-View). It is totally designed just as a bootstrap for a…


Design Patterns 2: Events

This is the second post in a series aimed at applying design patterns in PHP Web Applications. You can go here to read the first post on Command Bus/Commands. In this post we will be talking about using a Event Dispatch…


Design Patterns 1: Command / Command Bus

This is the first of a few different blog posts related to Design Patterns in PHP. In this post we will explore how to use the Command Bus pattern as well as why you might want to use the pattern. I will briefly touch o…


Implementing Basic Cors in Slim

CORS, the bane of every web-dev existence. It's a pain to deal with so let me give you some boilerplate that will make it just work. CORS First off, Slim doesn't come with CORS support at all, but it does give you th…