O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Using the Database API

In this chapter, we will cover:

  • Creating a database table when a module gets installed
  • Creating a database index when creating a table
  • Making a database query from a module
  • Creating and using a database sequence
  • Altering a database table when a module gets upgraded
  • Cleaning up when a module is uninstalled

Introduction

Content Management Systems are often divided into two philosophical camps based upon how they approach the task of managing content: with structure or without structure. Simplistically, a structured system has one or more rigid, record-oriented formats for all pages, while an unstructured system is more free-form, allowing the users to organize the content of pages as they see fit.

In reality, most CMSes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required