Book Image

WordPress Development Quick Start Guide

By : Rakhitha Nimesh Ratnayake
Book Image

WordPress Development Quick Start Guide

By: Rakhitha Nimesh Ratnayake

Overview of this book

WordPress is the most used CMS in the world and is the ideal way to share your knowledge with a large audience or build a profitable business. Getting started with WordPress development has often been a challenge for novice developers, and this book will help you find your way. This book explains the components used in WordPress development, when and where to use them, and why you should be using each component in specific scenarios. You begin by learning the basic development setup and coding standards of WordPress. Then you move into the most important aspects of the theme and plugin development process. Here you will also learn how themes and plugins fit into the website while learning about a range of techniques for extending themes and plugins. With the basics covered, we explore many of the APIs provided by WordPress and how we can leverage them to build rapid solutions. Next, we move on to look at the techniques for capturing, processing, and displaying user data when integrating third-party components into the site design. Finally, you will learn how to test and deploy your work with secure and maintainable code, while providing the best performance for end users.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Understanding the role of built-in database tables


The WordPress database structure is designed to store a minimum amount of data required for core features. Therefore, developers need to have a thorough understanding of the existing tables in order to use them effectively to build flexible websites. Let's take a look at the entity relationship diagram of the latest WordPress versions:

As may notice, all the existing tables don't have more than one or two relationships with other tables, and hence understanding and working with the database becomes a simpler task. Now, we are going to look at each database table with important columns, its role, and how it works with other tables. You need to refer to the preceding diagram to visualize the points in our discussion.

Posts-related database tables

Three database tables are directly involved with posts and six tables handle posts-related data. Many of the existing WordPress sites are either basic sites with a few pages, or blogs with hundreds of...