Book Image

Alfresco 3 Cookbook

Book Image

Alfresco 3 Cookbook

Overview of this book

Alfresco is the renowned and multiple award winning open source Enterprise content management system which allows you to build, design, and implement your very own ECM solutions.You have read a number of tutorials, blogs, and books on Alfresco. Now you're in the real world, trying to use Alfresco, but you’re running into problems with it. This is the book you want. Packed full of solutions that can be instantly applied, this cookbook with its practical based recipes and minimal explanation meets that demand.This Alfresco 3 cookbook boasts a comprehensive selection of recipes covering everything from the basics to the advanced. The book has recipes for quickly installing Alfresco in Windows and Linux and helping you use custom content model, rules, and search. There is also a collection of recipes focused on creating Scripts, Freemarker templates, Web Scripts, and new workflow definitions. Steps to integrate Alfresco with other systems like MS-Office are also included. You will be able to use Alfresco’s File and Email servers. Finally, step-by-step recipes are presented to create an Alfresco build environment and compile the source code. This Alfresco 3 Cookbook is perfect for developers looking to start working on Alfresco quickly, gain complete understanding, write custom implementations, and achieve expertise very easily.
Table of Contents (21 chapters)
Alfresco 3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Contents in Alfresco can be defined as any document, file, or folder created in the repository and content models are the structure of these contents. Alfresco content models are defined in the Data Dictionary as meta-model. The meta-model consists of two main structures—Content Type and Content Aspect.

The following diagram depicts a logical design of the content model architecture:

Content Type

Content Type is the fundamental structure of a content item. It defines the composition of properties and behaviors of a content item. Much like in the object-oriented programming model where an object always has to be of a defined class type, in Alfresco an item has to be of a defined type also. The content types in Alfresco abide by the inheritance construct of a object-oriented programming model.

There is a root content type defined in Alfresco, all other content types are created inheriting this root type—cm:content or http://www.alfresco.org/model/content/1.0}content.

Thus, whenever...