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

Chapter 2. Managing Database Structure, Storage, and Retrieval

The databaseis the primary location for storing application data. WordPress provides a built-in database with pre-defined tables, compared to traditional web applications, where the database is designed from scratch. Getting used to the pros and cons of the existing database table is the key to developing quality themes and plugins.

In this chapter, we will learn the power and limitations of the existing database tables in Wordpress. You will get an overview of existing database tables and their role, while understanding how data is managed in common functions such as post creation, user creation, media uploads, and so on. You will also learn the uses of custom tables in development, and using the query functions to retrieve data. 

In this chapter, we will cover the following topics:

  • Understanding the role of default database tables
  • Tracking and understanding database usage of primary features
  • Creating and managing custom tables
  • Implementing...