Features
- Chunks. Chunks are re-usable pieces of text, stored in their own seperate files. They can be page-specific, or site-wide. To include the contents of a chunk in your page, simply add the placeholder {{chunkname}} where chunkname is the name of the chunk. When the page is requested, the placeholder will be replaced with the contents of the chunk.
- File-based organization. oddCMS forgoes complex database structures and cryptic file names, instead leveraging the filesystem for the organization of content. A single storage directory is used for all data storage -- within it, three subdirectories: styles holds templates and stylesheets, pages stores page content, and chunks holds chunk files.
Looking to organize your site with subdirectories? Just make a subdirectory in the pages directory, and place your content into it. Requests will automatically be mapped to the appropriate subdirectory (i.e. http://www.example.com/sd/page will display content from 'page.content' in the 'sd' subdirectory of the pages storage directory.
- Dead simple templating. Create your template as you like it. Simply place {{content}} where you want the content to appear. It's that easy. Everything else (menus, etc.) can be handled using the equally-simple chunks.
- Built-in gzip support. Enabling gzip support is as simple as changing a '0' to a '1' -- oddCMS will then gzip all of its output, including stylesheets.
- Built-in Content-type support. oddCMS can be configured to send any Content-type header you want.
- Handles stylesheets. oddCMS can be configured to minify and/or gzip stylesheets -- simply place them in a directory you specify, point oddCMS at that directory, and use a URI such as '/stylesheets/nameofstylesheet.css' to retrieve them. If gzip is enabled, they'll be gzipped, and oddCMS will ensure that they're sent with the appropriate MIME type. oddCMS can even be configured to set a far-future expires header to help ensure that browsers keep stylesheets cached. oddCMS can strip excess whitespace and comments from your stylesheets (minification), cutting down on bandwith usage and improving page load times.
- More to come... oddCMS is under active development, so more features will be coming soon...