Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

Layout Components
Project Home Blog Forums Wiki Known Issues External Project Link Contact Project

Author: Steve Bryant (All RIAForge projects by this author)
Last Updated: February 15, 2010 9:54 PM
Version: 1.0 RC1
Views: 21,176
Downloads: 656
License: Apache License, Version 2

Description:

Layout Components were created to make developing and managing site layouts easy. Namely, they should solve these goals (from a 2005 CFDJ article):

* Make edits to the layout in one place
* Easily switch layouts (per page, section, etc.)
* Switch to non-HTML formats (PDF, Word, etc.)
* Use any ColdFusion tags (like cfflush)
* Do without mappings and relative paths
* Add HTML to the <head>
* See all of the layout in one file
* Avoid passing all page calls through one file (like index.cfm)

The following goals should also have been included:

* Use the same layout on multiple pages or have some pages use different layouts.
* Do without a layout on some pages.

Layout Components have been enhanced slightly in the years since that article, but remain fundamentally the same today (this is being written in early 2010).

Here is a sample page using Layout Components (with the optional cf_layout tag):
<cf_layout title="Page Title">
<cf_layout>

(some content here)

<cf_layout>

The rest of the documentation should make clear how Layout Components meet all of the goals above.

Recent Blog Entries:

Requirements:

ColdFusion MX 6.1 or better

Issue Tracker:

There are no issues for this project.

To enter issues for this (or any other) project, you must be logged in.