Web applications can be split into two main parts:
Since a web application back-end is concerned 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 also explain what database normalization entails, with practical examples.
A database stores data in an organised way so that it can be searched and retrieved later. The database is made up of one or more tables. A table is much like a spreadsheet, in that it's made up of rows and columns. All rows have the same columns, and each column contains the data itself. If it helps, think of a table as being like a spreadsheet in Excel or Google Sheets.
Data can be inserted, retrieved, updated, and deleted from a table. The word created is generally used instead of inserted, so, collectively, these four functions are affectionately abbreviated as CRUD.
A relational database is a type of database that organises data into tables and creates links between these tables, based on defined relationships. These relationships enable you to retrieve and combine data from one or more tables with a single query.
But to truly understand a relational database, you need to make one yourself! Let's get started by getting some real data with which we can work.
Let's start with some Twitter data. I searched Twitter for #databases and took the following sample of ten tweets:
Table 1
full_name | username | text | created_at | following_username |
---|---|---|---|---|
"Boris Hadjur" | "_DreamLead" | "What do you think about #emailing #campaigns #traffic in #USA? Is it a good market nowadays? do you have #databases?" | "Tue, 12 Feb 2013 08:43:09 +0000" | "Scootmedia", "MetiersInternet" |
"Gunnar Svalander" | "GunnarSvalander" | "Bill Gates Talks Databases, Free Software on Reddit https://t.co/ShX4hZlA #billgates #databases" | "Tue, 12 Feb 2013 07:31:06 +0000" | "klout", "zillow" |
"GE Software" | "GEsoftware" | "RT @KirkDBorne: Readings in #Databases: excellent reading list, many categories: https://t.co/S6RBUNxq via @rxin Fascinating." | "Tue, 12 Feb 2013 07:30:24 +0000" | "DayJobDoc", "byosko" |
"Adrian Burch" | "adrianburch" | "RT @tisakovich: @NimbusData at the @Barclays Big Data conference in San Francisco today, talking #virtualization, #databases, and #flash memory." | "Tue, 12 Feb 2013 06:58:22 +0000" | "CindyCrawford", "Arjantim" |
"Andy Ryder" | "AndyRyder5" | "http://t.co/D3KOJIvF article about Madden 2013 using AI to prodict the super bowl #databases #bus311" | "Tue, 12 Feb 2013 05:29:41 +0000" | "MichaelDell", "Yahoo" |
"Andy Ryder" | "AndyRyder5" | "http://t.co/rBhBXjma an article about privacy settings and facebook #databases #bus311" | "Tue, 12 Feb 2013 05:24:17 +0000" | "MichaelDell", "Yahoo" |
"Brett Englebert" | "Brett_Englebert" | "#BUS311 University of Minnesota's NCFPD is creating #databases to prevent "food fraud." http://t.co/0LsAbKqJ" | "Tue, 12 Feb 2013 01:49:19 +0000" | "RealSkipBayless", "stephenasmith" |
Brett Englebert | "Brett_Englebert" | "#BUS311 companies might be protecting their production #databases, but what about their backup files? http://t.co/okJjV3Bm" | "Tue, 12 Feb 2013 01:31:52 +0000" | "RealSkipBayless", "stephenasmith" |
"Nimbus Data Systems" | "NimbusData" | "@NimbusData CEO @tisakovich @BarclaysOnline Big Data conference in San Francisco today, talking #virtualization, #databases,& #flash memory" | "Mon, 11 Feb 2013 23:15:05 +0000" | "dellock6", "rohitkilam" |
"SSWUG.ORG" | "SSWUGorg" | "Don't forget to sign up for our FREE expo this Friday: #Databases, #BI, and #Sharepoint: What You Need to Know! http://t.co/Ijrqrz29" | "Mon, 11 Feb 2013 22:15:37 +0000" | "drsql", "steam_games" |
Here's what each column name means:
full_name
: the user's full nameusername
: the user's Twitter handletext
: the tweet itselfcreated_at
: the timestamp of the tweetfollowing_username
: a list of people this user follows, separated by commas. For brevity, I limited the list length to two.This is all real data; you can search Twitter and actually find these tweets.
This is good. The data is all in one place, so it's easy to find, right? Not exactly. There are a couple of problems with this table.
username
and following_username
columns are repetitive, because both contain the same type of data: Twitter handles.following_username
column. The fields should only contain one value, but each following_username
field contains two.Duplicates are problematic because they make the CRUD operations more challenging. For example, it would take longer to retrieve data because time would be wasted going through duplicate rows. Also, updating data would be an issue; if a user changes their Twitter handle, we would need to find every duplicate and update it.
Repetitive data is a problem. We can fix this problem by splitting Table 1 into separate tables. Let's proceed by first resolving the issue of repetition across columns.
As noted above, the username
and following_username
columns in Table 1 are repetitive. This repetition occurred because I was trying to express the follow relationship between users. Let's improve on Table 1's design by splitting it up into two tables: one just for the following relationships and one for the rest of the information.
Because @Brett_Englebert follows @RealSkipBayless, the following
table will express that relationship by storing @Brett_Englebert as the from_user
and @RealSkipBayless as the to_user
. Let's go ahead and split table 1 into these two tables:
Table 2: The following
Table
from_user | to_user |
---|---|
_DreamLead | Scootmedia |
_DreamLead | MetiersInternet |
GunnarSvalander | klout |
GunnarSvalander | zillow |
GEsoftware | DayJobDoc |
GEsoftware | byosko |
adrianburch | CindyCrawford |
adrianburch | Arjantim |
AndyRyder | MichaelDell |
AndyRyder | Yahoo |
Brett_Englebert | RealSkipBayless |
Brett_Englebert | stephenasmith |
NimbusData | dellock6 |
NimbusData | rohitkilam |
SSWUGorg | drsql |
SSWUGorg | steam_games |
Table 3: The users
Table
full_name | username | text | created_at |
---|---|---|---|
"Boris Hadjur" | "_DreamLead" | "What do you think about #emailing #campaigns #traffic in #USA? Is it a good market nowadays? do you have #databases?" | "Tue, 12 Feb 2013 08:43:09 +0000" |
"Gunnar Svalander" | "GunnarSvalander" | "Bill Gates Talks Databases, Free Software on Reddit http://t.co/ShX4hZlA #billgates #databases" | "Tue, 12 Feb 2013 07:31:06 +0000" |
"GE Software" | "GEsoftware" | "RT @KirkDBorne: Readings in #Databases: excellent reading list, many categories: http://t.co/S6RBUNxq via @rxin Fascinating." | "Tue, 12 Feb 2013 07:30:24 +0000" |
"Adrian Burch" | "adrianburch" | "RT @tisakovich: @NimbusData at the @Barclays Big Data conference in San Francisco today, talking #virtualization, #databases, and #flash memory." | "Tue, 12 Feb 2013 06:58:22 +0000" |
"Andy Ryder" | "AndyRyder5" | "http://t.co/D3KOJIvF article about Madden 2013 using AI to prodict the super bowl #databases #bus311" | "Tue, 12 Feb 2013 05:29:41 +0000" |
"Andy Ryder" | "AndyRyder5" | "http://t.co/rBhBXjma an article about privacy settings and facebook #databases #bus311" | "Tue, 12 Feb 2013 05:24:17 +0000" |
"Brett Englebert" | "Brett_Englebert" | "#BUS311 University of Minnesota's NCFPD is creating #databases to prevent "food fraud." http://t.co/0LsAbKqJ" | "Tue, 12 Feb 2013 01:49:19 +0000" |
Brett Englebert | "Brett_Englebert" | "#BUS311 companies might be protecting their production #databases, but what about their backup files? http://t.co/okJjV3Bm" | "Tue, 12 Feb 2013 01:31:52 +0000" |
"Nimbus Data Systems" | "NimbusData" | "@NimbusData CEO @tisakovich @BarclaysOnline Big Data conference in San Francisco today, talking #virtualization, #databases,& #flash memory" | "Mon, 11 Feb 2013 23:15:05 +0000" |
"SSWUG.ORG" | "SSWUGorg" | "Don't forget to sign up for our FREE expo this Friday: #Databases, #BI, and #Sharepoint: What You Need to Know! http://t.co/Ijrqrz29" | "Mon, 11 Feb 2013 22:15:37 +0000" |
This is looking better. Now, in the users
table, there is only one column with Twitter handles. In the following
table, the is only one Twitter handle per field in the to_user
column.
Edgar F. Codd, the computer scientist who laid down the theoretical basis of relational databases, called this step of removing repetitive data across columns the first normal form (1NF) in database normalization.
Database normalization is a database design method that avoids data duplication and gets rid of undesired aspects like insertion, update, and deletion anomalies. Using relationships, database normalization rules break up larger tables into smaller ones. Normalization serves the dual purposes of removing unnecessary (repetitive) data and ensuring logical data storage.
In the first step of removing repetitive data across columns, we employed the first normal form (1NF).
When every attribute in a relation is a single valued attribute and has a unique name for each attribute or column, then we can say that relation is in its first normal form.
Now that we have fixed repetitions across columns, we need to fix repetitions across rows. Since the users @AndyRyder5 and @Brett_Englebert each tweeted twice, their information is duplicated in the users
table. This indicates that we need to pull out the tweets and place them in their own table.
As before, "text" stores the tweet itself. Since the "created_at" column stores the timestamp of the tweet, it makes sense to pull it into this table as well. I also include a reference to the "username" column so we know who published the tweet. Here is the result of placing the tweets in their own table:
Table 4: The tweets Table
text | created_at | username |
---|---|---|
"What do you think about #emailing #campaigns #traffic in #USA? Is it a good market nowadays? do you have #databases?" | "Tue, 12 Feb 2013 08:43:09 +0000" | "_DreamLead" |
"Bill Gates Talks Databases, Free Software on Reddit http://t.co/ShX4hZlA #billgates #databases" | "Tue, 12 Feb 2013 07:31:06 +0000" | "GunnarSvalander" |
"RT @KirkDBorne: Readings in #Databases: excellent reading list, many categories: http://t.co/S6RBUNxq via @rxin Fascinating." | "Tue, 12 Feb 2013 07:30:24 +0000" | "GEsoftware" |
"RT @tisakovich: @NimbusData at the @Barclays Big Data conference in San Francisco today, talking #virtualization, #databases, and #flash memory." | "Tue, 12 Feb 2013 06:58:22 +0000" | "adrianburch" |
"http://t.co/D3KOJIvF article about Madden 2013 using AI to prodict the super bowl #databases #bus311" | "Tue, 12 Feb 2013 05:29:41 +0000" | "AndyRyder5" |
"http://t.co/rBhBXjma an article about privacy settings and facebook #databases #bus311" | "Tue, 12 Feb 2013 05:24:17 +0000" | "AndyRyder5" |
"#BUS311 University of Minnesota's NCFPD is creating #databases to prevent "food fraud." http://t.co/0LsAbKqJ" | "Tue, 12 Feb 2013 01:49:19 +0000" | "Brett_Englebert" |
"#BUS311 companies might be protecting their production #databases, but what about their backup files? http://t.co/okJjV3Bm" | "Tue, 12 Feb 2013 01:31:52 +0000" | "Brett_Englebert" |
"@NimbusData CEO @tisakovich @BarclaysOnline Big Data conference in San Francisco today, talking #virtualization, #databases,& #flash memory" | "Mon, 11 Feb 2013 23:15:05 +0000" | "NimbusData" |
"Don't forget to sign up for our FREE expo this Friday: #Databases, #BI, and #Sharepoint: What You Need to Know! http://t.co/Ijrqrz29" | "Mon, 11 Feb 2013 22:15:37 +0000" | "SSWUGorg" |
Table 5: The users Table
full_name | username |
---|---|
"Boris Hadjur" | "_DreamLead" |
"Gunnar Svalander" | "GunnarSvalander" |
"GE Software" | "GEsoftware" |
"Adrian Burch" | "adrianburch" |
"Andy Ryder" | "AndyRyder5" |
"Brett Englebert" | "Brett_Englebert" |
"Nimbus Data Systems" | "NimbusData" |
"SSWUG.ORG" | "SSWUGorg" |
After the split, the users
table has unique rows for users and their Twitter handles.
Edgar F. Codd called this step of removing repetitive data across rows the second normal form (2NF).
The next stage of normalizing a database is called the second normal form (2NF). 2NF advances the first normal form (1NF). The 2NF makes sure that every piece of information with a many-to-many link is sorted and stored in a separate table.
A table must be in the first normal form and also free of partial dependencies in order to be in the second normal form.
When an attribute in a table depends solely on a portion of a composite primary key rather than the entire primary key, this is known as partial dependence.
We can separate the table, remove the property that is generating partial dependency (text
), and relocate it to another table (tweets
) where it will fit in nicely to eliminate partial dependency.
Data can be inserted, retrieved, updated, and deleted from a table.
So far, table 1 has been split into three new tables: following
, tweets
, and users
. But how is this useful? Repetitive data has been removed, but now the data is spread out across three independent tables. In order to retrieve the data, we need to draw meaningful links between the tables. This way, we can express queries like "what a user has tweeted and who a user is following".
The way to draw links between tables is to first give each row in a table a unique identifier, termed a primary key, and then reference that primary key in the other table to which you want to link.
We've already done this in users
and tweets
. In the users
table, the primary key is the username
column because no two users will have the same Twitter handle. In tweets
, we reference this key in the username
column so we know who tweeted what. Since it is a reference, the username
column in tweets
is called a foreign key. In this way, the username
key links the users
and tweets
tables together.
But is the
username
column the best idea for a primary key for the users table?
On one hand, it's a natural key—it makes sense to search using a Twitter handle instead of assigning each user a numerical ID and searching on that. On the other hand, what if a user wants to change their Twitter handle? That could cause errors if the primary key and all referencing foreign keys aren't updated accurately, errors that could be avoided if a constant numerical ID was used. Ultimately, the choice depends on your system. If you want to give your users the ability to change their username, it's better to add a numerical auto-incrementing id
column to users
and use that as the primary key. Otherwise, username
should do just fine. I'll continue to use username
as the primary key for users
.
Let's move on to tweets
. A primary key should uniquely identify each row, so what should the primary key be here? The created_at
field won't work because if two users tweet at the same time, their tweets would have an identical timestamp. The text
has the same problem in that if two users both tweet "Hello world," we couldn't distinguish between the rows. The username
column is the foreign key that defines the link with the users
so let's not mess with that. Since the other columns are not good candidates, it makes sense here to add a numerical auto-incrementing id
column and use that as the primary key.
Table 6: The tweets Table With an id
Column
id | text | created_at | username |
---|---|---|---|
1 | "What do you think about #emailing #campaigns #traffic in #USA? Is it a good market nowadays? do you have #databases?" | "Tue, 12 Feb 2013 08:43:09 +0000" | "_DreamLead" |
2 | "Bill Gates Talks Databases, Free Software on Reddit http://t.co/ShX4hZlA #billgates #databases" | "Tue, 12 Feb 2013 07:31:06 +0000" | "GunnarSvalander" |
3 | "RT @KirkDBorne: Readings in #Databases: excellent reading list, many categories: http://t.co/S6RBUNxq via @rxin Fascinating." | "Tue, 12 Feb 2013 07:30:24 +0000" | "GEsoftware" |
4 | "RT @tisakovich: @NimbusData at the @Barclays Big Data conference in San Francisco today, talking #virtualization, #databases, and #flash memory." | "Tue, 12 Feb 2013 06:58:22 +0000" | "adrianburch" |
5 | "http://t.co/D3KOJIvF article about Madden 2013 using AI to prodict the super bowl #databases #bus311" | "Tue, 12 Feb 2013 05:29:41 +0000" | "AndyRyder5" |
6 | "http://t.co/rBhBXjma an article about privacy settings and facebook #databases #bus311" | "Tue, 12 Feb 2013 05:24:17 +0000" | "AndyRyder5" |
7 | "#BUS311 University of Minnesota's NCFPD is creating #databases to prevent "food fraud." http://t.co/0LsAbKqJ" | "Tue, 12 Feb 2013 01:49:19 +0000" | "Brett_Englebert" |
8 | "#BUS311 companies might be protecting their production #databases, but what about their backup files? http://t.co/okJjV3Bm" | "Tue, 12 Feb 2013 01:31:52 +0000" | "Brett_Englebert" |
9 | "@NimbusData CEO @tisakovich @BarclaysOnline Big Data conference in San Francisco today, talking #virtualization, #databases,& #flash memory" | "Mon, 11 Feb 2013 23:15:05 +0000" | "NimbusData" |
10 | "Don't forget to sign up for our FREE expo this Friday: #Databases, #BI, and #Sharepoint: What You Need to Know! http://t.co/Ijrqrz29" | "Mon, 11 Feb 2013 22:15:37 +0000" | "SSWUGorg" |
Finally, let's add a primary key to the following
table. In this table, neither the from_user
column nor the to_user
column uniquely identifies each row on its own. However, from_user
and to_user
together do, since they represent a single relationship. A primary key can be defined on more than one column, so we'll use both these columns as the primary key for the following
table.
As for the foreign key, from_user
and to_user
are each foreign keys since they can be used to define a link with the users table. If we query for a Twitter handle on the from_user
column, we'll get all the users they follow. Correspondingly, if we query for a Twitter handle on the to_user
column, we'll get all the users following them.
We've accomplished a lot so far. We removed repetitions across columns and rows by separating data into three different tables, and then we chose meaningful primary keys to link the tables together. This process is called normalization, and its output consists of data that is clean and organized according to the relational model. The consequence of this organization is that rows will appear in the database only once moving forward, which in turn will make the CRUD operations easier.
The figure below shows the finalized database schema. The three tables are linked, and the primary keys are highlighted.
Now that we know how to design a relational database, how do we actually implement one? Relational database management systems (RDBMS) are software that let you create and use relational databases. There are several commercial and open-source vendors to choose from. On the commercial side, Oracle Database, IBM DB2, and Microsoft SQL Server are three well-known solutions. On the free and open-source side, MySQL, SQLite, and PostgreSQL are three widely used solutions.
MySQL is used at just about every Internet company you have heard of. In the context of this article, Twitter uses MySQL to store its users' tweets.
SQLite is common in embedded systems. iOS and Android let developers use SQLite to manage their app's private database. Google Chrome uses SQLite to store your browsing history, cookies, and your thumbnails on the "Most visited" page.
PostgreSQL is also a widely used RDBMS. Its PostGIS extension supplements PostgreSQL with geospatial functions that make it useful for mapping applications. A notable user of PostgreSQL is OpenStreetMap.
Once you've downloaded and set up an RDBMS on your system, the next step is to create a database and tables inside it in order to insert and manage your relational data. The way you do this is with Structured Query Language (SQL), which is the standard language for working with RDBMSs.
Here's a brief overview of common SQL statements that are relevant to the example Twitter data above.
development
CREATE DATABASE development;
users
CREATE TABLE users ( full_name VARCHAR(100), username VARCHAR(100) );
RDBMSs require that each column in a table is given a data type. Here I have assigned the "full_name" and "username" columns the data type VARCHAR
, which is a string that can vary in width. I've arbitrarily set a max length of 100. A full list of the various data types can be found on Wikipedia.
INSERT INTO users (full_name, username) VALUES ("Boris Hadjur", "_DreamLead");
SELECT text, created_at FROM tweets WHERE username="_DreamLead";
UPDATE users SET full_name="Boris H" WHERE username="_DreamLead";
DELETE FROM users WHERE username="_DreamLead";
SQL is pretty similar to regular English sentences. There are small variations in SQL between each RDBMS vendor, termed SQL dialects, but the differences are not so dramatic that you can't easily transfer your SQL knowledge from one to the other.
In this article, we learned how to design a relational database. We took a collection of data and organised it into related tables. We learned about normalizing the database with the first and second normal forms.
We also briefly looked at RDBMS solutions and SQL. So get started by downloading an RDBMS and normalizing some of your data into a relational database today.
Preview Image Source: FindIcons.com/Barry Mieny
The Best Small Business Web Designs by DesignRush
/Create Modern Vue Apps Using Create-Vue and Vite
/Pros and Cons of Using WordPress
/How to Fix the “There Has Been a Critical Error in Your Website” Error in WordPress
/How To Fix The “There Has Been A Critical Error in Your Website” Error in WordPress
/How to Create a Privacy Policy Page in WordPress
/How Long Does It Take to Learn JavaScript?
/The Best Way to Deep Copy an Object in JavaScript
/Adding and Removing Elements From Arrays in JavaScript
/Create a JavaScript AJAX Post Request: With and Without jQuery
/5 Real-Life Uses for the JavaScript reduce() Method
/How to Enable or Disable a Button With JavaScript: jQuery vs. Vanilla
/How to Enable or Disable a Button With JavaScript: jQuery vs Vanilla
/Confirm Yes or No With JavaScript
/How to Change the URL in JavaScript: Redirecting
/15+ Best WordPress Twitter Widgets
/27 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/21 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/30 HTML Best Practices for Beginners
/31 Best WordPress Calendar Plugins and Widgets (With 5 Free Plugins)
/25 Ridiculously Impressive HTML5 Canvas Experiments
/How to Implement Email Verification for New Members
/How to Create a Simple Web-Based Chat Application
/30 Popular WordPress User Interface Elements
/Top 18 Best Practices for Writing Super Readable Code
/Best Affiliate WooCommerce Plugins Compared
/18 Best WordPress Star Rating Plugins
/10+ Best WordPress Twitter Widgets
/20+ Best WordPress Booking and Reservation Plugins
/Working With Tables in React: Part Two
/Best CSS Animations and Effects on CodeCanyon
/30 CSS Best Practices for Beginners
/How to Create a Custom WordPress Plugin From Scratch
/10 Best Responsive HTML5 Sliders for Images and Text… and 3 Free Options
/16 Best Tab and Accordion Widget Plugins for WordPress
/18 Best WordPress Membership Plugins and 5 Free Plugins
/25 Best WooCommerce Plugins for Products, Pricing, Payments and More
/10 Best WordPress Twitter Widgets
1 /12 Best Contact Form PHP Scripts for 2020
/20 Popular WordPress User Interface Elements
/10 Best WordPress Star Rating Plugins
/12 Best CSS Animations on CodeCanyon
/12 Best WordPress Booking and Reservation Plugins
/20 Best WordPress Calendar Plugins and Widgets
/12 Elegant CSS Pricing Tables for Your Latest Web Project
/24 Best WordPress Form Plugins for 2020
/14 Best PHP Event Calendar and Booking Scripts
/Create a Blog for Each Category or Department in Your WooCommerce Store
/8 Best WordPress Booking and Reservation Plugins
/Best Exit Popups for WordPress Compared
/Best Exit Popups for WordPress Compared
/11 Best Tab & Accordion WordPress Widgets & Plugins
/12 Best Tab & Accordion WordPress Widgets & Plugins
1New Course: Practical React Fundamentals
/Short Course: Better Angular App Architecture With Modules
/Preview Our New Course on Angular Material
/Build Your Own CAPTCHA and Contact Form in PHP
/Object-Oriented PHP With Classes and Objects
/Best Practices for ARIA Implementation
/Accessible Apps: Barriers to Access and Getting Started With Accessibility
/Dramatically Speed Up Your React Front-End App Using Lazy Loading
/15 Best Modern JavaScript Admin Templates for React, Angular, and Vue.js
/15 Best Modern JavaScript Admin Templates for React, Angular and Vue.js
/19 Best JavaScript Admin Templates for React, Angular, and Vue.js
/New Course: Build an App With JavaScript and the MEAN Stack
/Hands-on With ARIA: Accessibility Recipes for Web Apps
/10 Best WordPress Facebook Widgets
13 /Hands-on With ARIA: Accessibility for eCommerce
/New eBooks Available for Subscribers
/Hands-on With ARIA: Homepage Elements and Standard Navigation
/How Secure Are Your JavaScript Open-Source Dependencies?
/New Course: Secure Your WordPress Site With SSL
/Testing Components in React Using Jest and Enzyme
/Testing Components in React Using Jest: The Basics
/15 Best PHP Event Calendar and Booking Scripts
/Create Interactive Gradient Animations Using Granim.js
/How to Build Complex, Large-Scale Vue.js Apps With Vuex
1 /Examples of Dependency Injection in PHP With Symfony Components
/Set Up Routing in PHP Applications Using the Symfony Routing Component
1 /A Beginner’s Guide to Regular Expressions in JavaScript
/Introduction to Popmotion: Custom Animation Scrubber
/Introduction to Popmotion: Pointers and Physics
/New Course: Connect to a Database With Laravel’s Eloquent ORM
/How to Create a Custom Settings Panel in WooCommerce
/Building the DOM faster: speculative parsing, async, defer and preload
1 /20 Useful PHP Scripts Available on CodeCanyon
3 /How to Find and Fix Poor Page Load Times With Raygun
/Introduction to the Stimulus Framework
/Single-Page React Applications With the React-Router and React-Transition-Group Modules
/12 Best Contact Form PHP Scripts
1 /Getting Started With the Mojs Animation Library: The ShapeSwirl and Stagger Modules
/Getting Started With the Mojs Animation Library: The Shape Module
/Getting Started With the Mojs Animation Library: The HTML Module
/Project Management Considerations for Your WordPress Project
/8 Things That Make Jest the Best React Testing Framework
/Creating an Image Editor Using CamanJS: Layers, Blend Modes, and Events
/New Short Course: Code a Front-End App With GraphQL and React
/Creating an Image Editor Using CamanJS: Applying Basic Filters
/Creating an Image Editor Using CamanJS: Creating Custom Filters and Blend Modes
/Modern Web Scraping With BeautifulSoup and Selenium
/Challenge: Create a To-Do List in React
1 /Deploy PHP Web Applications Using Laravel Forge
/Getting Started With the Mojs Animation Library: The Burst Module
/10 Things Men Can Do to Support Women in Tech
/A Gentle Introduction to Higher-Order Components in React: Best Practices
/A Gentle Introduction to HOC in React: Learn by Example
/A Gentle Introduction to Higher-Order Components in React
/Creating Pretty Popup Messages Using SweetAlert2
/Creating Stylish and Responsive Progress Bars Using ProgressBar.js
/18 Best Contact Form PHP Scripts for 2022
/How to Make a Real-Time Sports Application Using Node.js
/Creating a Blogging App Using Angular & MongoDB: Delete Post
/Set Up an OAuth2 Server Using Passport in Laravel
/Creating a Blogging App Using Angular & MongoDB: Edit Post
/Creating a Blogging App Using Angular & MongoDB: Add Post
/Introduction to Mocking in Python
/Creating a Blogging App Using Angular & MongoDB: Show Post
/Creating a Blogging App Using Angular & MongoDB: Home
/Creating a Blogging App Using Angular & MongoDB: Login
/Creating Your First Angular App: Implement Routing
/Persisted WordPress Admin Notices: Part 4
/Creating Your First Angular App: Components, Part 2
/Persisted WordPress Admin Notices: Part 3
/Creating Your First Angular App: Components, Part 1
/How Laravel Broadcasting Works
/Persisted WordPress Admin Notices: Part 2
/Create Your First Angular App: Storing and Accessing Data
/Persisted WordPress Admin Notices: Part 1
/Error and Performance Monitoring for Web & Mobile Apps Using Raygun
/Using Luxon for Date and Time in JavaScript
7 /How to Create an Audio Oscillator With the Web Audio API
/How to Cache Using Redis in Django Applications
/20 Essential WordPress Utilities to Manage Your Site
/Introduction to API Calls With React and Axios
/Beginner’s Guide to Angular 4: HTTP
/Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io
/Beginners Guide to Angular 4: Routing
/Beginner’s Guide to Angular 4: Services
/Beginner’s Guide to Angular 4: Components
/Creating a Drop-Down Menu for Mobile Pages
/Introduction to Forms in Angular 4: Writing Custom Form Validators
/10 Best WordPress Booking & Reservation Plugins
/Getting Started With Redux: Connecting Redux With React
/Getting Started With Redux: Learn by Example
/Getting Started With Redux: Why Redux?
/Understanding Recursion With JavaScript
/How to Auto Update WordPress Salts
/How to Download Files in Python
/Eloquent Mutators and Accessors in Laravel
1 /10 Best HTML5 Sliders for Images and Text
/Creating a Task Manager App Using Ionic: Part 2
/Creating a Task Manager App Using Ionic: Part 1
/Introduction to Forms in Angular 4: Reactive Forms
/Introduction to Forms in Angular 4: Template-Driven Forms
/24 Essential WordPress Utilities to Manage Your Site
/25 Essential WordPress Utilities to Manage Your Site
/Get Rid of Bugs Quickly Using BugReplay
1 /Manipulating HTML5 Canvas Using Konva: Part 1, Getting Started
/10 Must-See Easy Digital Downloads Extensions for Your WordPress Site
22 Best WordPress Booking and Reservation Plugins
/Understanding ExpressJS Routing
/15 Best WordPress Star Rating Plugins
/Creating Your First Angular App: Basics
/Inheritance and Extending Objects With JavaScript
/Introduction to the CSS Grid Layout With Examples
1Performant Animations Using KUTE.js: Part 5, Easing Functions and Attributes
/Performant Animations Using KUTE.js: Part 4, Animating Text
/Performant Animations Using KUTE.js: Part 3, Animating SVG
/New Course: Code a Quiz App With Vue.js
/Performant Animations Using KUTE.js: Part 2, Animating CSS Properties
Performant Animations Using KUTE.js: Part 1, Getting Started
/10 Best Responsive HTML5 Sliders for Images and Text (Plus 3 Free Options)
/Single-Page Applications With ngRoute and ngAnimate in AngularJS
/Deferring Tasks in Laravel Using Queues
/Site Authentication in Node.js: User Signup and Login
/Working With Tables in React, Part Two
/Working With Tables in React, Part One
/How to Set Up a Scalable, E-Commerce-Ready WordPress Site Using ClusterCS
/New Course on WordPress Conditional Tags
/TypeScript for Beginners, Part 5: Generics
/Building With Vue.js 2 and Firebase
6 /Best Unique Bootstrap JavaScript Plugins
/Essential JavaScript Libraries and Frameworks You Should Know About
/Vue.js Crash Course: Create a Simple Blog Using Vue.js
/Build a React App With a Laravel RESTful Back End: Part 1, Laravel 5.5 API
/API Authentication With Node.js
/Beginner’s Guide to Angular: HTTP
/Beginner’s Guide to Angular: Routing
/Beginners Guide to Angular: Routing
/Beginner’s Guide to Angular: Services
/Beginner’s Guide to Angular: Components
/How to Create a Custom Authentication Guard in Laravel
/Learn Computer Science With JavaScript: Part 3, Loops
/Build Web Applications Using Node.js
/Learn Computer Science With JavaScript: Part 4, Functions
/Learn Computer Science With JavaScript: Part 2, Conditionals
/Create Interactive Charts Using Plotly.js, Part 5: Pie and Gauge Charts
/Create Interactive Charts Using Plotly.js, Part 4: Bubble and Dot Charts
/Create Interactive Charts Using Plotly.js, Part 3: Bar Charts
/Awesome JavaScript Libraries and Frameworks You Should Know About
/Create Interactive Charts Using Plotly.js, Part 2: Line Charts
/Bulk Import a CSV File Into MongoDB Using Mongoose With Node.js
/Getting Started With End-to-End Testing in Angular Using Protractor
/TypeScript for Beginners, Part 4: Classes
/Object-Oriented Programming With JavaScript
/Stateful vs. Stateless Functional Components in React
/Make Your JavaScript Code Robust With Flow
/Build a To-Do API With Node and Restify
/Testing Components in Angular Using Jasmine: Part 2, Services
/Testing Components in Angular Using Jasmine: Part 1
/Creating a Blogging App Using React, Part 6: Tags
/React Crash Course for Beginners, Part 3
/React Crash Course for Beginners, Part 2
/React Crash Course for Beginners, Part 1
/Set Up a React Environment, Part 4
1 /Set Up a React Environment, Part 3
/New Course: Get Started With Phoenix
/Set Up a React Environment, Part 2
/Set Up a React Environment, Part 1
/Command Line Basics and Useful Tricks With the Terminal
/How to Create a Real-Time Feed Using Phoenix and React
/Build a React App With a Laravel Back End: Part 2, React
/Build a React App With a Laravel RESTful Back End: Part 1, Laravel 9 API
/Creating a Blogging App Using React, Part 5: Profile Page
/Pagination in CodeIgniter: The Complete Guide
/JavaScript-Based Animations Using Anime.js, Part 4: Callbacks, Easings, and SVG
JavaScript-Based Animations Using Anime.js, Part 3: Values, Timeline, and Playback
/Learn to Code With JavaScript: Part 1, The Basics
/10 Elegant CSS Pricing Tables for Your Latest Web Project
/Getting Started With the Flux Architecture in React
/Getting Started With Matter.js: The Composites and Composite Modules
/Getting Started With Matter.js: The Engine and World Modules
/10 More Popular HTML5 Projects for You to Use and Study
/Understand the Basics of Laravel Middleware
/Iterating Fast With Django & Heroku
/Creating a Blogging App Using React, Part 4: Update & Delete Posts
Creating a jQuery Plugin for Long Shadow Design
/How to Register & Use Laravel Service Providers
2 /Unit Testing in React: Shallow vs. Static Testing
/Creating a Blogging App Using React, Part 3: Add & Display Post
/Creating a Blogging App Using React, Part 2: User Sign-Up
20Creating a Blogging App Using React, Part 1: User Sign-In
/9 More Popular HTML5 Projects for You to Use and Study
/Creating a Grocery List Manager Using Angular, Part 2: Managing Items
/9 Elegant CSS Pricing Tables for Your Latest Web Project
/Dynamic Page Templates in WordPress, Part 3
/Angular vs. React: 7 Key Features Compared
/Creating a Grocery List Manager Using Angular, Part 1: Add & Display Items
/New eBooks Available for Subscribers in June 2017
/Create Interactive Charts Using Plotly.js, Part 1: Getting Started
/The 5 Best IDEs for WordPress Development (And Why)
/33 Popular WordPress User Interface Elements
/New Course: How to Hack Your Own App
/How to Install Yii on Windows or a Mac
/What Is a JavaScript Operator?
/How to Register and Use Laravel Service Providers
/
waly Good blog post. I absolutely love this…