Book Image

Alfresco 3 Web Content Management

Book Image

Alfresco 3 Web Content Management

Overview of this book

Alfresco provides a robust, easy to use, and scalable web content framework for managing multiple websites leveraging a common web infrastructure. If you are interested in configuring and building a new website quickly, determined to create a scalable infrastructure to stage multiple websites, and want to secure and control the content being pushed to external applications, then you have reached the right place.This book will guide you through creating, managing and publishing web content in staging, test and production environments. It will help you set up an infrastructure for supporting multiple websites using Alfresco, enabling a shortened web development cycle, and providing high return on investment and low cost of ownership.This book will take you from the basics of publishing style CMS – such as web forms, page templates, and staging – to the skills that will make you an Alfresco developer, covering advanced topics such as workflow, web services integration, and more. You will learn the various options used to install Alfresco including File System Deployment receivers on target production servers. You will also learn to configure a single instance of Alfresco to serve multiple web projects. Focus is given to reuse assets such as images, forms, and workflows across multiple web projects.It will introduce you to advanced concepts of separating the web content from presentation. The entire process of creating web content, getting it approved and published to a staging environment needs a robust workflow process. You will learn and have extensive hands-on experience with the examples given in the book to create a flexible workflow. You will learn about Alfresco Web Editor, a new feature released with the latest version of Alfresco 3.3. You will learn to configure Web Editor for in-context editing of web pages. You will be able to try out various integration options using Alfresco’s RESTful web services framework. By the end of the book, you will be able to set up an extensible enterprise web content management system for your company and customers.
Table of Contents (18 chapters)
Alfresco 3 Web Content Management
Credits
About the Authors
Acknowledgement
About the Reviewers
Preface

Significant enhancements in Alfresco WCM with Version 3.3


A bunch of new features focused on helping companies manage their web presence have been introduced in Version 3.3. A list of these is as follows:

  • Alfresco Web Editor: In-context editing to Alfresco (non-AVM) stored content has been introduced. This will allow content authors to edit content items stored within an Alfresco repository directly from the web page. Alfresco 3.3 also provides the Web Editor Framework, a JavaScript client-side framework, rendering a toolbar, and associated controls.

  • Transfer Service API: Developers can build solutions that transfer content between Alfresco repositories (non-AVM) using the Transfer Service API. This is useful to WCM architectures where Alfresco provides both authoring and delivery tier components and allows rich-content structures and relationships to be maintained between Alfresco environments.

  • Rendition API: The Rendition API will allow developers to build solutions for easily repurposing content for the Web. FreeMarker and XSLT templates can also be used as part of the Rendition API.

  • WCM deployment: The Alfresco Deployment Receiver is configured as sub-system and a new Data Dictionary folder called Web Deployed is configured to default as the deployment target. AVM to DM-WCM deployment facilities have been enhanced to add an additional deployment target. This additional deployment receiver allows WCM content that is authored and stored within the AVM to be deployed to local and remote Alfresco repositories (Alfresco DM).

Alfresco Web Editor

The Alfresco Web Editor (AWE) is a Spring Surf-based web application that utilizes the Forms Service to provide in-context editing capabilities to Alfresco repository content (non-AVM). Alfresco 3.3 also introduces the Web Editor Framework (WEF), which is a client-side JavaScript framework that is a dependency of the AWE.

With the initial release, the AWE will support JavaServer Pages (JSP)-based websites by providing a tag library. Additional languages will be supported in future releases with FreeMarker and PHP being on top of the list. The tags have been designed for easy implementation so that a developer can enable the AWE with minimal effort, and without effecting the CSS layout and design of the site.

The simplest and quickest way to deploy AWE is to use the prebuilt WAR (awe.war) file and deploy it in the same application server instance of your web application. Being a Spring Surf-based application, AWE does not have to be deployed in the same application server instance as the Alfresco repository. However, this section presumes that it is.