Ed Zynda

Coder | Hacker | Superhero

Single Executable Web Apps With Go Binary Assets

Posted on · Tagged in

Go is becoming increasingly popular with building web applications. It’s fast, lightweight and easy to learn. Another great feature is to compile your applications into a single redistributable binary. A lot of web applications depend on external assets, however. For the application to work you still need to package your css, JavaScript and image files along with the executable. Let’s see if we can fix this.

Read more »

How Easy Is It To Containerize A Go App?

Posted on · Tagged in

Recently, I wrote an article on how to create a simple chat server using WebSockets and Go. I made the source code available and it’s pretty simple to get the example up and running if you have a basic familiarization with Go. I wanted to see if I could make it easier for people to try out though. For this, I looked to the very popular Docker project. Docker has been around for quite some time but, I only recently began toying around with it more seriously.…

Read more »

Single Page Web App With Go And Vue

Posted on · Tagged in

I wrote a nice little tutorial on creating a single page web application using Go and VueJS. Check it out over at Scotch.io.…

Read more »

Test The Untestable With AspectMock

Posted on · Tagged in

Some of us have had the pleasure of working with someone else’s ancient codebase to either add new features or fix bugs. It’s never fun and usually a pain. Because of the design (or lack thereof) of the application, it doesn’t lend itself to unit testing. The code is littered with static method calls, objects instantiated inside methods rather than being injected through a constructor, and other elements of poor design.…

Read more »

Simplify PHP Configs With Environment Variables

Posted on · Tagged in

Laravel 5 and above icludes a cool feature to help simplify configuration and deployment to different environments. Before you had to create separate directories within ‘app/config’ to separate configuration based on the environment. You would then use varying methods to tell Laravel which environment it was in a bootstrap file. This can get pretty messy real quick epecially if you are adding third party libraries that may require some special configuration options.…

Read more »
Subscribe to my newsletter and get a free copy of my book, Aspect Oriented Programming in PHP.