Managed Hosting



Project Home Blog Forums Known Issues Contact Project

Author: John Farrar (All RIAForge projects by this author)
Admins: Timothy Farrar
Last Updated: October 25, 2008 2:08 PM
Version: 2.1.1
Views: 25,405
Downloads: 929
License: Apache License, Version 2


The concept to this CFC is to manage the buffered content of a web page call. You have your standard body section of the page and then you have things like title, keywords, description, perhaps a header logo image and then the JavaScript and CSS of course. This cfc will also make sure what order your JS files are inserted and check to make sure things like adding jquery.js only happens once. This is part of the SOS framework but we refactored the logic so others could use it also.

(And if you are curious... this does mean SOS v5 is getting closer to the next beta release.)
2.1.1 Update - Modified addContent method to support positional adding (valid options include 'first', or numeric position)
- There are some template methods specific to SOS
- There are also some simple content methods we use for SES type functionality for description, title and keywords.
2.0.1 Update - Modified getHeadContent method to add a line after css includes rather than before. Previously if you had css and javascript includes, the first js include was on the same line as the last css include. All includes are now on their own lines.

Issue Tracker:

There are no issues for this project.

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

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/soscontent.

To view files and changelists associated with this repository, go here: http://soscontent.riaforge.org/index.cfm?event=page.svnbrowse.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/