A Straight-Up Guide

One-Liner

Microservice is a style of architecture that composes applications out of remotely accessible components.

Also, “microservice” refers to an instance of such a component.

Put another way, an application is considered to be in this style if it is comprised of microservices.

Simple Idea, Seems Complex

Microservice architecture is one of those ideas that…


JavaScript Finds a Hero

Photo by Марьян Блан | @marjanblan on Unsplash

Since I first started writing JavaScript, there’s always been a background feeling of slowly evolving towards something better.

A few milestones along the way included jQuery’s introduction of CSS selectors, Firebug’s introduction of sophisticated dev tooling, component libraries like Dojo and Angular 1.

Most significantly, the more recent introduction of…


AWS, Azure, GCP: App Architecture Tools

The number and types of services and tools available to software developers is bewildering. This article gives a survey of the tools the flagship cloud vendors offer for application architecture, in simple context with one another.

Photo by Christina @ wocintechchat.com on Unsplash

Application Architecture Tools

How to deploy and manage the actual application business logic is the most central…


Introducing the New Render Engine

The React engine is evolving to incorporate some advanced rendering capabilities. Read on to get an overview of the new, incoming Concurrent Render Mode.

This is pretty exciting.

“…a certain amount of work in your components will always cause stutter… Concurrent Mode fixes this fundamental limitation by making rendering interruptible.”


Functional Lifecycle and Variable Watching

Having arrived at the conclusion that Functional Components are Better, let’s be clear: hooks are what makes functions as full-featured as classes. Hooks deliver the goods in a gradually-adoptable way.

When you need lifecycle callbacks, you can employ useEffect.

The prefix “use” is convention for React hooks. With useEffect the…


But Only by a Little

Me and Photopea.com

It’s become pretty clear that straight-function components in React offer a simplicity edge on class-based components.

I did not arrive at this conclusion without some mental anguish. I like to observe software trends with an intransigent detachment. The ongoing FP vs. OOP hoopla gives all the signs of a reactionary cat fight.

It’s always useful to stand outside the debate and hold it as it were…


Finally, Something That Actually Makes Life Simpler

Modified from Photo by Kelly Sikkema on Unsplash

There’s always some new way to do things around the corner. Sometimes, its actually better.

A sigh of relief washed over me when I groked the useState plus functional component combo.

Yes! This is actually simpler.

import { useState } from ‘react’;function philosophyComponent(){
const [profoundInsight, setProfoundInsight] = useState(“Beauty…


Generic, reusable components

The key idea to keep in mind when exploring higher-order components is they’re intended to support code reuse between components. That’s it. That’s why they exist.

Now, a few more ideas to bear in mind:

  • Higher-order components are so called because they’re components that consume and return another component
  • The…


ASAP: As Simple as Possible

In React, there is a very simple way to set up communication from child-to-parent:

class Parent extends React.Component {
constructor(props) {
super(props)
this.state = {
title: "Foo"
}
this.onTitleChange = function(){…

Matthew Tyson

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store