BlogCFC

PDF HTML FlashPaper

Theme

What follows is version 1 of the Theme spec for BlogCFC. Anything marked V2 will be done after the initial release. So if themes is in 6.0, V2 will be 6.X.

Main Principles

BlogCFC themes allow folks to radically change the look and feel of their blog by simply selecting a theme.

BlogCFC themes will be 100% code free. They will allow you to run code via includes, but the themes themselves are template based.

BlogCFC themes will not be compatible with Wordpress themes. From what I've seen, WP themes contain (or can contain) PHP code in them. This is a deal breaker for CF support as far as I'm concerned.

Implementation Details

Themes will consist of a folder of files. Certain files will be required. BlogCFC will have a checker and will refuse to run a theme that doesn't match the standard.

Themes will contain an XML file. This XML file will contain metainformation about the theme, including author, version, etc.

BlogCFC will have a theme browser that lets your browse local themes.

BlogCFC will have a connection to a remote repository of themes that will be created. (V2 feature.)

Themes will use a token language. So for example, to put in the blog title into a template, it may use something like %BLOGTITLE%. The exact token spec has not been decided yet.

Themes cannot contain CFML code. (Maybe.)

Themes will use a standard folder location for resources (css, images). This location will be themes/THEMENAME/res.

This document is NOT done. I have more to write...