Learning Go

I’ve recently started learning the Go programming language, or Golang as some call it. The fact it isn’t like other languages and doesn’t try to be is the primary reason I was interested in learning more about it. Another reason was all of the standard libraries, like HTTP, encryption, and JSON. My Goals I want to use Go as a means to make my code more straightforward. There is much complexity to some code, with all of the design patterns, and “normal” way of doing things. [Read More]

Building a JavaScript Framework

Building something complicated is always easier when you start small. The same goes with developing a JavaScript Framework, and anything else. First, make a list of features you want. So, let’s do that now. Create HTML Elements Add attributes to the element Add event listeners to the element Add children elements to the element I think that is a good start and hopefully simple enough we don’t feel overwhelmed. [Read More]

AMPbin v2.0(18) for AMP HTML

TL;DR visit the new AMPbin website at https://ampb.in/ Last year I posted about AMPbin v1.0.0 (link), and I’m posting about it again this year! It had been a while since I checked on the website, but when I did, it wasn’t working very well. That gave me the opportunity to rewrite it from scratch.Sloth starting from scratch. Over the years I’ve learned it is better to take more time planning than to start coding without a plan. [Read More]

Discover 3 Tips Every Developer Should Know in 2018

In this post, I will help you discover 3 tips every developer should know. For the people reading this post who are hoping to learn how to program, no one is perfect, and we all make mistakes, so have fun while you learn. Everyone else, leave a comment below if you can relate or have any other tips! Debugging I think it is rare when code works as expected the first time you try it. [Read More]

Advanced PHP is Actually Simple – Learn How Today

Advanced PHP methods, practices, processes, and everything else can be a bit daunting. If you find it hard to understand some of the documentation or tutorials out there, don’t worry, I can help! I struggled to learn some of the core concepts, but eventually figured it out, I hope I can help you learn with less of a struggle. Having a good development environment is a huge step in the right direction. [Read More]

DigitalOcean Spaces – Learn how to use Spaces with PHP

Update on 10/25/2019: The Flysystem PHP is much easier. Using DigitalOcean Spaces with your next PHP project is a beautiful idea. Spaces will give you all the hard drive space that you could ever need. This post can help you build your next PHP project with DigitalOcean Spaces. Building out an infrastructure can be a difficult job for anyone, but DigitalOcean’s services make it a bit easier. Mounting Object Storage You could upload directly to S3 compatible storage using a PHP package, but it is easier to mount a bucket and let the file system handle the rest. [Read More]

New website for a new year

Keeping a website up-to-date and fresh can be time-consuming, but they need love. I like to give mine an overhaul about once a year, but sometimes I do it twice a year. Today is the day I decided to give my site a refresh. I’ve had several posts this year, and they’ve ranged from Creating a Game to the Factory Design pattern. The day I run out of things to write about is the day I have learned everything. [Read More]

Silex

This year I’ve continued to try different PHP frameworks. The ones I’ve tried are well written and have a fantastic community. I can see how some people may need to rely on a framework that does everything, but I like having control. And I prefer to add things instead of removing them. Silex has been enjoyable to use while building web applications. I have a skeleton repo that has everything I need. [Read More]

iframe, localStorage, postMessage

I recently needed to pass some data from one domain to the other. Using a server-side language, like PHP, wasn’t an option. The site that needed the data was built using Angular and communicated with an API service. I thought about it for a day or two and considered doing it a few ways. I decided to put an iframe on the source page and pass the data to the target page using JavaScript. [Read More]

Short Post

It’s been a little while since I’ve posted anything, so here is a quick update. Website I finally pulled the trigger and implemented AMP. All the pages are now Accelerated Mobile Pages. I didn’t have to sacrifice anything, but I also didn’t spend very much time on the design or presentation. I’ll pretend that I was going for a “less is more” approach. Most visitors come from mobile, so they didn’t get to see any of the fancy stuff that was only for the desktops. [Read More]