…with the HTML form. 1. Create the HTML I am going to keep the HTML fairly simple; all we need is an input to choose a file, a text box for the name, and a button to begin the upload. Here's the necessary code: <!DOCTYPE html> <html lang="en"> <head> <meta…
…with our class, the class should be: easy to use format independent: can open, resize, and save a number of different image formats intelligent sizing: no image distortion! This isn't a tutorial on how to create classes and objects, and although this skill would help, it isn't necessary in order…
…with raw DOM nodes or nodelists. 1. Creating the Library Boilerplate We’ll start with the module itself. We will use ECMAScript Modules (ESM), a modern way of importing and exporting code on the web. export class Dome { constructor(selector) { } } As you can see, we are exporting a…
…with web development, such as Premium URL Shortener, a PHP script that you can install on your server to create custom shortened URLs. Why REST? REST is a simple way to organize interactions between independent systems. It's been growing in popularity since 2005, and it inspires the design of services…
…with storing and retrieving data, often for many thousands or even millions of users, it is natural that a database is one of the major back-end components. In this article, I'll explain what a relational database is and how to properly design your database to store your app's information. I'll…
…with the basics. I'll explain the aspects of HTTP that any potential web developer should know. Then we'll dive into the deeper and more advanced theories of HTTP. HTTP Is a Hypertext Transfer Protocol When you open a website in a browser, you see text, images, and embedded content. All…
…With that as our foundation, we will look at the finer aspects of HTTP, like connection handling, authentication, and HTTP caching. These are advanced and exhaustive topics. Thus, we would like to cover each of them, bit by bit. Table of Contents HTTP Connections Persistent Connections Parallel Connections HTTP Authentication…
…with third-party websites or services, and customized browsing experiences. In this step-by-step tutorial, I'll show you how to create an extension in Google Chrome from scratch with the basic web technologies: HTML, CSS, and JavaScript. We'll build a simple language picker extension, and in the process of building this, we'll…
…with some other great tools that are available for Node developers. To follow along with this tutorial, I'm assuming you're somewhat familiar with Node and have it installed on your system already. Understanding Middleware in Express At the heart of Express is Connect. This is a middleware framework, which comes…
…with an internet connection to share code with the world for free (not to mention the robust supporting tools for source inspection and easy viewing of commit histories). Many large open-source projects have adopted GitHub as their primary home for collaboration and contribution. But how do you join in and…