markoshust's blog

Fri, 08/12/2016 - 10:32

Creating a better reactive ReactJS JavaScript architecture

Submitted by markoshust Fri, 08/12/2016 - 10:32

After working through a few ReactJS JavaScript projects based in Meteor, what the ecosystem lacks is a really good architecture that will grow with you. Not only should it be adaptable and somewhat future-proof in a space that seems to be ever-changing at a rapid pace, but it lacks having an established organizational paradigm present, specifically when dealing with reactive, single-page applications.

Thu, 06/02/2016 - 13:58

Creating a multi-page form using MobX with Meteor & React

Submitted by markoshust Thu, 06/02/2016 - 13:58

Mobx is a really simple state manager that can be used really nicely with React, when you don't need the complexity of a Redux implementation.

Using Mobx is pretty straight-forward, however their getting started documentation uses stage-0 class properties, which are currently not supported with Meteor 1.3. The simple fix is to use ES6 formatting.

Mon, 02/01/2016 - 12:58

Creating a Custom Production Docker Image for Meteor 1.3

Submitted by markoshust Mon, 02/01/2016 - 12:58

Meteor 1.3 introduces custom package.json support, which allows you to use custom NPM packages within your Meteor app. This is great, because up to Meteor 1.2 you needed to use oddly formatted "NPM wrapper" packages.

This setup does include a slightly different build process though, as we need to install these custom NPM packages within our production Meteor app.

Mon, 12/21/2015 - 11:39

Deploy Magento 2 to Digital Ocean using Tutum

Submitted by markoshust Mon, 12/21/2015 - 11:39

Note that this blog post was originally written by myself on Mage Inferno's blog, which no longer exists. Many old user comments have been lost, but this post won't be!

Tutum is a great deployment service for Docker-based services, and was just recently acquired by Docker. It provides a very simple way to deploy an entire Docker-based infrastructure.

Mon, 11/23/2015 - 21:31

Setting Up Kubernetes Architecture on Google Cloud Platform

Submitted by markoshust Mon, 11/23/2015 - 21:31

I needed a quick way to kick off some Docker containers, and wanted some experience working with Kubernetes. I've been playing around with Docker for some time now, and wanted to test out a real deployment to Google Cloud Platform.

Architecture Overview

Here's a quick architecture diagram of the different pieces of the Kubernetes architecture.

Wed, 10/21/2015 - 23:38

Create a customer address attribute in Magento with a custom installer script

Submitted by markoshust Wed, 10/21/2015 - 23:38

Recently, I needed to create a custom customer address attribute, and needed a real simple way to do it. There are a lot of bloated examples online, but this is actually really easy.

First, create your module definition file. Note that we're putting our module in the local code pool because it's specific to just our one store.