O'Reilly logo

Drupal 7 Fields/CCK by Dave Poon

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

A database perspective of fields

Now we understand the key elements in Field API. In this section, we will take a look at how Fields interact with databases and its database schema. For instance, what happens to the databases when creating a new content type.

Content types

At the very beginning of this book, we learned how to create new content types using Field UI. We can easily create custom content types with versions after Drupal 5. Prior to Drupal 5, we had to write custom code, or we could use Flexinode modules, which are the ancestors of the Content Construction Kit (CCK) modules, in order to create custom content types.

With Drupal 6, the CCK module allows us to create, update, and delete content types through the administrative user interfaces. ...

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