Book Image

Learning Drupal 6 Module Development

Book Image

Learning Drupal 6 Module Development

Overview of this book

Table of Contents (14 chapters)
Learning Drupal 6 Module Development
Credits
About the Author
About the Reviewers
Preface

The Content Creation Kit


In this chapter, we are creating our new content type by coding a module.

However, there is another way we could create a new content type. One of the most prolific Drupal add-on modules is the Content Creation Kit (CCK). CCK provides a visual interface for creating custom content types.

Note

The future of CCK and Views

It is very likely that CCK will be incorporated into the core in Drupal 7. Why? Because it is a robust, well-written, useful module that is among the most frequently used, and it provides a set of features desirable in a CMS framework. A similarly popular module, the Views module, is also likely to be incorporated.

When creating a content type of moderate complexity, CCK is usually the right tool for the job. However, there are a few reasons why we will write a module instead of using CCK:

  1. 1. Writing a content type from scratch gives us more insight into internals, and provides the opportunity to examine several powerful APIs. By writing this low-level...