You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

Related Topics: ColdFusion, Adobe Flex

ColdFusion: Article

Content Management with ColdFusion

How ColdFusion can be used to create a CMS covering every phase of the CMS lifecycle

As the Web develops, the need for easy and efficient Web site and portal management increases.

Developing an easy-to-use future-proof content management system (CMS) from scratch isn't easy. The basic functionalities can be assembled in a reasonable timeframe, meaning that you will be able to edit the structure and the content of the Web site. An enterprise CMS with complex features like scheduled content publishing, content replication, cluster support, sophisticated workflows, roles, and other advanced features can take several years.

In this article I'll explain the purpose of a CMS and its benefits. Then I'll describe the content lifecycle and how ColdFusion can be used in every phase. In the last section I'll provide links to helpful (mostly Open Source) ColdFusion projects that can be integrated into a CMS.

What a Content Management System Is and Why You Should Use One
A content management system delivers functionalities to empower non-technical staff to create new pages on a site and produce and modify existing content.

After the set-up and configuration process, which in many cases still has to be done by technical staff, a product manager can update the information on a new product release without any programming skills, HR managers can publish new job offers, and the PR manager can put press releases on the Web site. Web site templates and structured content classes assure that the company's corporate Web site design will always be maintained.

A flexible CMS allows the comprehensive control and management of digital content by integrating different content types (e.g., text, images, Flash, video, sound, etc.).

One of the most important features of an up-to-date CMS is a comprehensive security system including rights, roles, and groups (see Figure 1). So each Web site team member can participate in the publishing process to the degree desired, permissions such as to create, edit, change, delete, or publish content have to be easily assigned. If there are more than 10 editors you'll find it helpful to assign bundles of rights to roles and assign these roles to the editors. Typical roles are "author" "editor," "translator," and "editor-in-chief." If several sites must be maintained like an intranet, a corporate Web site, and different country Web sites, groups will help to assign the editors to the sites they're entitled to work on. For maximum flexibility it should be possible to assign arbitrary combinations of groups and roles to an editor: a person can be an author for the international Web site and an editor with more permissions for the country Web site.

Workflows help to define processes, e.g., new or changed content has to be reviewed before publishing. The CMS should inform the editor-in-chief via e-mail or an integrated notification system when an article has been finished and has to be approved. Powerful workflow systems can publish an approved article automatically or the article will revert back to the author with comments about changes.

Content management systems help companies efficiently create and maintain intranets, portals, and other Web sites. They structure and speed up the publishing process and guarantee compliance with corporate design. Last but not least, a CMS reduces Web site publishing costs in a significant way, considering that employees can easily provide and publish content and avoid the expense of Web agencies making simple content changes.

Phases of the Content Management Lifecycle
Most CMS experts describe the four phases of content management (see Figure 2) as:

  1. Content creation, editing, integration of external content
  2. Quality assurance and approval
  3. Publishing and content delivery
  4. Versioning and archiving
The first phase includes content creation, editing existing content, and integrating external content through syndication (e.g., sports or stock exchange news). It also means aggregating content, categorizing it (for target groups, personalization, etc.), and defining the metadata for optimized content retrieval. To achieve a high acceptance by editors, content creation has to be simple and accurate: functions like WYSIWYG, preview, libraries, form-based-entry, and direct edit help integrate the content fast and comfortably.

To avoid typos and unwanted information on the Web site, workflows can help create the approval process (the second phase). Sophisticated workflow systems can set up a simple four-eye principle that can be started manually, as well as predefined actions and complex processes that start automatically or periodically. In a workflow several tasks can be approved and forwarded to the next step or rejected to the author. Content repositories or libraries store the content managed and should deliver functions for editors to enable easy retrieval and reuse of captured content. The API defined in the Java specification JSR170 helps access content in a vendor- or implementation-neutral fashion. It contains several content services such as the versioning and query service.

Publishing and content delivery constitute the third phase of the content lifecycle. Publishing is the preparation of content for different target groups and channels (e.g., HTML, print, PDA output), generating files, and distributing them to different servers. Content delivery means serving static, dynamic, or hybrid pages to Web site visitors. Static pages provide highest performance but only dynamic pages allow personalized content. The choice of publishing static or dynamic pages should depend on the content, not the CMS technology.

Versioning and archiving is the fourth and last step in the content lifecycle. Changes to published content have to be saved and should be restorable with minimal effort. If content has been deleted by mistake or typos have been overlooked, rollback functions should reactivate former versions of the content in a few clicks.

Over seven major revisions ColdFusion has empowered many developers to rapidly build powerful Internet and Web applications. High-performance and scalable CMS software can and has already been built using it. In the next sections I'll show you how ColdFusion can be used to create a CMS covering every phase of the CMS lifecycle.

Using ColdFusion in the Content Creation Phase Acquisition
ColdFusion has built-in tags for HTTP support like CFHTTP, CFHeader, and CFContent.

CFHTTP can be used to retrieve data from another page or site. You can also have ColdFusion automatically save the files to the server when it gets the information back from the URL.

The conversion and import of external data (like Microsoft Office data or XML data) is possible through COM objects. For all kinds of COM questions cfComet is a good resource.

Dave Raggett's HTML TIDY is a free utility to fix HTML mistakes automatically and tidy up sloppy editing into nicely laid-out markup. Tidy can also be configured for HTML code saved from Microsoft Word.

Greg Steward wrote the ColdFusion function makexHTMLValid, which takes a string and URL as arguments and uses jTidy to parse and validate the XHTML.

Incoming syndication feeds (like RSS or Atom feeds) can be retrieved using CFHTTP. The ColdFusion XMLParse function can be used to parse the document. This is also a validating parser, so it will choke if you pass invalid XML.

The CFXML tag is used to create an XML document that will later be converted to a string and written to a file. This lets you create an RSS feed for your site.

ColdFusion has built-in support for Web Services and provides a function (CreateObject) and a tag (CFINVOKE) for Web Service consumption. It's easy to integrate external data using Web Services even if they're developed in other languages.

Some CMS Web-based text editors are very feature-rich and almost content management tools in themselves. Others are essentially plug-ins that act as form fields. Some are free and some are extremely expensive. The FCKeditor (see Figure 3) is one of the most popular and with good reason: it's free Open Source (LGPL, Closed Distribution Licence), easy to customize, and it works very well. On the server side, FCKeditor offers a complete integration pack for ColdFusion.

XStandard is another standards-compliant WYSIWYG plug-in editor for desktop applications and browser-based content management systems. The editor generates clean XHTML Strict or 1.1, uses CSS for formatting, and ensures the clean separation of content from presentation. Ben Nadel programmed a ColdFusion version of the XStandard Web Service.

CFFM is a cfml-based media asset repository manager intended for integration into existing Web site management solutions. It's for uploading, creating, renaming, deleting, and editing of files and directories.

The ASF File Explorer is a file manager to browse, add, and remove directories and files from a specific server location. It was built using CFForms and Flash remoting.

Using ColdFusion in the Quality Assurance and Approval Phase
An appealing Workflow GUI could easily be built using Flash or Flex. Workflow messaging, e-mail, or SMS notifications can be realized with CFMAIL and the SMS Event Gateway.

More Stories By Harry Klein

Harry Klein is cofounder and CTO at CONTENS Software GmbH, a leading supplier of enterprise content management software. He is a Certified Advanced ColdFusion developer and Microsoft MSCE.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
gg 12/19/06 04:03:20 PM EST

As the Web develops, the need for easy and efficient Web site and portal management increases. Developing an easy-to-use future-proof content management system (CMS) from scratch isn't easy. The basic functionalities can be assembled in a reasonable timeframe, meaning that you will be able to edit the structure and the content of the Web site.

Richard Fallis 12/12/06 12:44:52 PM EST

While recognizing this forum is particularly concerned with programming, I would suggest the first Phase of any CMS project is what we at Acumium.com call the 'Discovery' that determines business needs first.

Only by performing a highly interactive 'Discovery'with everyone affected by the CMS--sales, marketing, shipping, receiving, CEO, accounting etc...can a CMS be created that truly meets business needs. On time. On Budget. Everytime. Guaranteed.

In many respects the technology used is secondary.

@ThingsExpo Stories
Michael Maximilien, better known as max or Dr. Max, is a computer scientist with IBM. At IBM Research Triangle Park, he was a principal engineer for the worldwide industry point-of-sale standard: JavaPOS. At IBM Research, some highlights include pioneering research on semantic Web services, mashups, and cloud computing, and platform-as-a-service. He joined the IBM Cloud Labs in 2014 and works closely with Pivotal Inc., to help make the Cloud Found the best PaaS.
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
The Founder of NostaLab and a member of the Google Health Advisory Board, John is a unique combination of strategic thinker, marketer and entrepreneur. His career was built on the "science of advertising" combining strategy, creativity and marketing for industry-leading results. Combined with his ability to communicate complicated scientific concepts in a way that consumers and scientists alike can appreciate, John is a sought-after speaker for conferences on the forefront of healthcare science,...
Data is the fuel that drives the machine learning algorithmic engines and ultimately provides the business value. In his session at Cloud Expo, Ed Featherston, a director and senior enterprise architect at Collaborative Consulting, discussed the key considerations around quality, volume, timeliness, and pedigree that must be dealt with in order to properly fuel that engine.
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at @ThingsExpo, James Kirkland, Red Hat's Chief Archi...
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settl...
Organizations planning enterprise data center consolidation and modernization projects are faced with a challenging, costly reality. Requirements to deploy modern, cloud-native applications simultaneously with traditional client/server applications are almost impossible to achieve with hardware-centric enterprise infrastructure. Compute and network infrastructure are fast moving down a software-defined path, but storage has been a laggard. Until now.
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
DXWorldEXPO LLC announced today that the upcoming DXWorldEXPO | CloudEXPO New York event will feature 10 companies from Poland to participate at the "Poland Digital Transformation Pavilion" on November 12-13, 2018.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
The best way to leverage your CloudEXPO | DXWorldEXPO presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering CloudEXPO | DXWorldEXPO will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at CloudEXPO. Product announcements during our show provide your company with the most reach through our targeted audienc...
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
As data explodes in quantity, importance and from new sources, the need for managing and protecting data residing across physical, virtual, and cloud environments grow with it. Managing data includes protecting it, indexing and classifying it for true, long-term management, compliance and E-Discovery. Commvault can ensure this with a single pane of glass solution – whether in a private cloud, a Service Provider delivered public cloud or a hybrid cloud environment – across the heterogeneous enter...
DXWorldEXPO LLC announced today that ICC-USA, a computer systems integrator and server manufacturing company focused on developing products and product appliances, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City. ICC is a computer systems integrator and server manufacturing company focused on developing products and product appliances to meet a wide range of ...