Category Archives: Uncategorized

A Simple Data Transcoder in JavaScript

The JavaScript program below converts data encoded in UTF8, Base64, or hexadecimal format into one of the other encodings. To see the code in action, copy it into a .html file and open that file in a text encoder that … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Exploring the SVG Vector Image File Format in JavaScript

The JavaScript program below accepts a vector-based “path” in JSON format and converts that path to the SVG format. The output can then be viewed in a program that understands the SVG format, such as most modern web browsers. The … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Drawing Ellipses (Ovals) to an HTML5 Canvas with JavaScript

The JavaScript code below, when run, prompts the user to input information about an ellipse (oval), and then draws that ellipse to the screen. To see it in action, copy it into an .html file and open that file in … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

A Binary To Image File Transcoder In JavaScript

The JavaScript program below, when run, allows the user to load an arbitrary file as bytes, convert it to a PNG image, save the image as a file, reload that image file, convert it back to bytes, and re-save the … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

A Rudimentary JavaScript Minifier

The code below implements a rudimentary JavaScript minifier. A “minifier” takes a code listing and removes unnecessary space in it, primarily by renaming functions and variables using shorter names. Minifying JavaScript allows it to be transported and compiled more efficiently. … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Hello World with the Bootstrap Web UI Framework

The instructions below can be followed to build and run a minimal web page using Bootstrap. Bootstrap is a free and open source web UI development framework originally created by developers working at Twitter. (To be honest, there’s not much … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Installing and Running Magento

The instructions below can be followed to install and run a sample e-commerce site using Magento. Magento is an open-source e-commerce platform implemented in PHP and originally developed by Varien, Inc. 1. Download and install XAMPP, a software package which … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment