Setting Up Lumen + Redis

This is more of an extension of my previous post "Setting Up Lumen + Mail". I wanted to take it a step furthur and show the basic setup for getting Redis to work, so you can queue not only mail, but jobs. First, run composer require illuminate/redis:5.…

Setting Up Lumen + Mailer

What is Lumen? Lumen is a micro-framework built by Laravel. Its geared towards small services like APIs, job handling, or very small projects. Laravel is all-inclusive, where as Lumen is bare-bones but still featured. Setting Up Mailing Recently I ported a small app from Sinatra to Lumen for trial with…

Pomodoro Method

I've had a history of a bad back and neck, ever since I was a kid. I've seen a chiropractor countless times about my issues. Sitting all day at a desk in my adult years, doesn't help at all to that. Researching in help for this, besides ergonomics of the…

Introducing Laravel Shopify

Background As an active Ruby (and Rails) developer, I found myself regularly making Shopify apps in Rails and Sinatra. I've even released my own Gems to solve common (small) issues I've faced developing for these platforms. PHP itself... I haven't been active in years on that front. With PHP7 however,…

Reactive VueJS Plugins

VueJS has been my go-to framework from building small to medium-sized frontend applications and add-ins. Its simply great - easy to develop with and able to plug into existing systems as a simple view layer. Plugins & Reactivity Plugins in Vue, allow you to extract code into a re-usable module.…

Developing sanely on Windows: Revisited

Back in November I wrote a post about how to develop sanely on Windows. It was a successful experiment which resulted in a usable environment to develop. Today, I am re-visiting this with some more notes as I've now been full-time developing on Windows for a month now. With this,…

Moving away from CanCanCan to Pundit

What is Pundit & CanCanCan? Pundit is a simple, platform-agnostic, plain-ol-Ruby authorization library. It provides a set of helpers to get authorization done simply no matter if its plain Ruby, Sinatra, or Rails. CanCanCan is a fork of the original CanCan Gem for Rails. CanCanCan, like Pundit, is an authorization…

Opinion: When to use a VPS vs PaaS

Introduction What is a VPS? A VPS is a Virtual Private Server. A server running on more powerful hardware than standard "shared hosting" plans (usually). Every "account" has its own physical space on the server in virtual compartments with super-level access. Software is setup independently in…

Toggling TinyMCE v4

Heres a easy way to turn on and off the TinyMCE editor for version 4. document.getElementById('toggle-tinymce').addEventListener('click', function(e) { e.preventDefault(); var editorID = this.dataset.editorId; var editor = tinymce.EditorManager.get(editorID); if (editor) { editor.remove(); } else { editor = tinymce.EditorManager.createEditor(editorID, tinyMCE.settings); editor.render(); } }); You…