Drupal + Alfresco - A Next Gen Content Strategy
Why Drupal & Alfresco?
Organizations are using Enterprise Content Management (ECM) to manage their digital content. ECM is used to manage traditional documents like: word, excel, ppt and pdfs that are created with complex workflows. ECM is popular in the Financial Services, Medical Services, Manufacturing, Government and Publishing. ECM brings with it storage, versioning, workflows and highly customizable metadata models. Some of the popular ECMs include: DocuShare, OnBase by Hyland, Laserfiche, SpringCM Contract Management, Seismic, Lexmark Enterprise Software, Nuxeo, Oracle WebCenter Content, IBM FileNet Content Manager, Alfresco . Amongst these Alfresco is available as an Open Source Solution.
Today the content has evolved, over and above the traditional form of content - words, excels, pdf and presentations, we generate a large no of Dynamic HTML content, VIDEOS, PODCASTS, INFOGRAPHICS, etc. Also content no longer stands alone, the end-users/customers can interact with the content using features like commenting, rating, sharing tools, etc. Today the content is Multimedia and Collaborative. To provide for this new content, Organizations will need a Web Content Management System (WCM) like Drupal.
Drupal with it’s Web Content Management capabilities and Integration Capabilities, helps both WCM and ECM to coexist. Integrating Drupal with Alfresco would help Companies to leverage the best aspects of WCM and ECM, to build a robust unified Content Management System. Drupal also brings with it enhanced, responsive user interface capabilities.
Some of the key Benefits of using Drupal are:
- Speed to Market - Faster Publishing of content
- Customer Experience Improvements by bringing a Uniform, Consistent Experience across the Different Channels - Responsive design & Omni channel publishing
- Personalization Capabilities, Targeted Marketing and Marketing Automation
- Operational Efficiencies by bringing technologies that would assist in facilitating content publishing with minimal or zero support from technical team - eg. Content Management Tools & Experience for Editors with In Context Editing & WYSIWYG Capabilities, Layout Management & more.
- Process Improvement by bringing in workflows and version control for Business approvals/compliance
- Integration Capabilities - RESTful APIs Support
- Social Media Tools & Search Engine Optimization
- Support for Analytics tools include Google Analytics
- Use of single code base to manage multiple platforms to simplify management of code base
- Multi Lingual Capabilities
- E Commerce Capabilities
Alfresco is an architecture that combines ECM (Enterprise Content Management) and BPM (Business Process Management) solutions on cloud. Alfresco is a powerful open platform that is easy to extend, customize and integrate with existing applications. The ECM tools provides easy mobile access to content, delivers a simple but rich collaboration user experience. The BPM tools of Alfresco allow organizations to manage a wide range of critical business processes. In short, Alfresco reduces the complexity of document handling, improving time and process efficiency and enhancing user productivity. It is developed on Java framework.
Users of Alfresco
Alfresco is used in industries like
Drawbacks of Alfresco
- Content Publishing between systems needs Manual Intervention
- Web Content managed interfaces lack inline editing or WYSIWYG capabilities
- Missing Taxonomy/Categorization tools
- Lacking several support resources including FAQs and live chat
- Standardized document templates
- Limited Customization of User Interface
How to Integrate Drupal & Alfresco?
Drupal can be integrated with Alfresco using the CMIS API project. The CMIS API Project aims to provide a generic API for integrating with CMIS compliant Enterprise CMS (ECM) systems.
What is CMIS - Content Management interoperability Service ?
Content Management Interoperability Services (CMIS) is an open standard that allows different Content Management Systems to inter-operate over the Internet. Specifically, CMIS defines an abstraction layer for controlling diverse document management systems and repositories using web protocols.
Authenticating using CMIS standard
Authenticating CMIS doesn’t actually dictate how authentication happens other than to say it is up to the underlying protocol to handle the authentication. In Alfresco, you have a couple of options: pass a ticket as an argument or use basic authentication
Option 1: Pass a ticket You can do a GET against the login URL (non-CMIS) and Alfresco will return a ticket. You’ll need to include the ticket in subsequent calls against the server.
Option 2: Basic Authentication The second option is to take advantage of HTTP Basic Authentication and curl knows how to do that. To use this option, just pass the username and password as an argument to curl.
Drupal CMIS Module
“The CMIS API package of modules provide an API for connecting to any CMIS compliant systems to bi-directionally synchronize content between the CMIS ECM system and Drupal. In addition to the API, this package provides a range of basic functionality for creating, updating, browsing and searching content in the CMIS ECM system via the Drupal interface. The overall goal of the modules is to provide an easy-to-use, WCM front-end in Drupal for ECM systems that are often unfamiliar to web content managers.”
The module provides basic interfaces and functionality out of the box. The module also provides hooks and functions that could be used to extend for advanced integrations.
Drupal would help provide web content managers an interface to easily add documents to sites, while continuing to use the advanced workflow or security provided by Alfresco for document management. The Below image summarizes the functionality provided by Drupal CMIS module.
SSO between Drupal and Alfresco
CMIS Headerswing Settings - The CMIS Header swing module provides a mechanism for relaying (or "swinging") HTTP header data from Drupal to the CMIS repository. This is particularly useful for passing user authentication information from Drupal to the CMIS repository, providing Single Sign-On (SSO), when authentication is managed by a third party component that populates $_SERVER vars with credentials, such as HTTP Basic or NTLM.
Re requisites - PHP cURL
Steps for Repository Configuration
User : Generic username used by cmis_common to authenticate Drupal to the CMIS repository. optional: used by cmis_common.
Password : Generic password used by cmis_common to authenticate Drupal to the CMIS repository optional: used by cmis_common.
URL : CMIS repository end point URL. Mandatory : Used by cmis_common.
This will enable the synchronization process which will sync drupal nodes of type page to cmis:document cmis objects under /SomePath folder. For each created/updated node, sync process will create/update a cmis object under cmis_folderPath by mapping $node->title to cmis:name and $node->body to cmis object's content stream.
For more details refer to the CMIS Module README.txt file.