URL Shortener built with Cloudflare Workers KV

URL Shortener

Cloudflare introduced a new service called Workers that I used to build a URL Shortener. Other cloud companies have something similar. Google has Cloud Functions and Amazon has Lambda. Since this “serverless” thing is starting to catch on I decided to build something as a way to learn more about it. At first I built

Building a JavaScript Framework

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


Guitar, Amp, and Pedals

I’ve been working on a new project called AMPbin. It is a place for everyone to create, edit, save, and share their AMP HTML. If you need to make sure your AMP HTML is valid, then be sure to check it out, because it does that on-the-fly. If something isn’t passing validation and aren’t sure

iframe, localStorage, postMessage

A sign that says we like you too :)

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

Actualización rápida – Firebase

A sign that says Hola

My pal Alex and I are writing a chat app that uses Google’s Firebase products. It’s coming along nicely and we continue to add new features. The more I use the real-time database the more I love it. Their JavaScript library makes it very easy to get started. I’m still getting used to denormalizing the

CSS, JS, and Gulp

Computer screen with code on it

I recently tried the CSS framework Skeleton. It is a minimal framework, that only provides you with some very basic styles, which is what I like about it. It has a twelve column fluid grid with a max of 960 pixels. It uses the Google font Raleway which is a nice choice for typography. It

Creating a Game

A man playing a video game on his computer

Making a basic browser-based game may not be as hard as you think. I suggest that you solve one problem at a time. If you take an object-oriented approach, you combine all of your solutions into a complete game. Taking this approach will make it easier for you to add features later. I started writing

AMP Gist Component

Erwin Mombay wrote an excellent article on creating your first AMP Component. AMP is a way to build pages for static content that render fast. AMP extensions use the power of custom elements and allows us to create new components to enhance AMP HTML pages. While at the AMP Conference Eriwin showed us how to

Node.js Package

Encryption has interested me for as long as I can remember. I’ve been writing a decent amount of JavaScript lately, so I decided to try ricmoo/aes-js. It works really well and does everything I was hoping it would do. Since it does so much, the interface requires a little more knowledge than the average person


TypeScript was created after JavaScript, but TypeScript is the parent of JavaScript. It is a little confusing, but it is similar to the what family members do in Kentucky, date their cousins. TypeScript made JavaScript fun again (and better?). JS has been around for awhile, and it has taken some twists and turns to get