Book Image

OpenCms 7 Development

By : Dan Liliedahl
Book Image

OpenCms 7 Development

By: Dan Liliedahl

Overview of this book

<p>OpenCms is a professional-level open-source Website Content Management System, based on Java and XML. Many companies or organizations have requirements that go beyond what is available in the standard OpenCms application. Thankfully, OpenCms can be used by Java developers to create sophisticated add-ons and customizations that extend the power of OpenCms in virtually unlimited directions.<br /><br />Targeting version 7 of OpenCms, this book is for Java developers interested in extending and further customizing OpenCms through its Java API.<br /><br />Starting by showing how to set up a development environment for OpenCms work, the book moves you through various tasks of increasing complexity. Some of the common tasks covered are building OpenCms, XML asset type development, templating, module development, user and role setup, and search integration. In addition to these common tasks some more advanced topics are covered such as self-registering users, RSS support, developing custom widgets and extending the administrative interface. All the topics include examples and are presented while building a sample blog site. <br /><br />The skills you develop will make you an OpenCms developer to be reckoned with!</p>
Table of Contents (16 chapters)
OpenCms 7 Development
Credits
About the Author
About the Reviewer
Preface
Index

Common Module Types


Due to the flexibility of the module mechanism, there is no specific attribute that is used to determine a modules type. However, here are some examples of typical module types one might find:

  • Content Type Module: This type of module contains XML data type definitions and resources that allow for new resource types to be introduced to OpenCms.

  • Template Module: This module type contains templates for a site. The templates are based upon the requirements of a given site and are tied to specific content types. Thus, the module is usually dependant upon a Content Type Module.

  • Content Module: This module type may contain site content. Although the database export feature may also be used to manage site content, it is sometimes advantageous to use a module for this.

  • Extension Module: This type of module contains class files and jar files that add new features or change existing features.

  • Integration Module: This type of module contains JSP, class files, and jar files that integrate...