Book Image

WordPress Web Application Development

By : Rakhitha Nimesh Ratnayake
Book Image

WordPress Web Application Development

By: Rakhitha Nimesh Ratnayake

Overview of this book

Table of Contents (19 chapters)
WordPress Web Application Development Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Exploring the role of existing tables


Assuming that most of you are existing WordPress developers, you will have a solid understanding of an existing database table structure. However, I suggest that you continue with this section as web applications can have a different perspective on using these tables. Based on the functionality, we will categorize the existing tables into four sections as follows:

  • User-related tables

  • Post-related tables

  • Term-related tables

  • Other tables

Let's look at how each table fits into these categories and their roles in web applications.

User-related tables

This section consists of two tables for keeping the user-related information of your application. Let's take a look at the relationship between user-related tables before moving onto the explanations.

The two tables shown in the preceding diagram are as follows:

  • wp_users: All the registered users will be stored in this table with their basic details such as name, e-mail, username, password, and so on.

  • wp_usermeta: This...