![]() |
|
|
ColdCourse
Project Home • Blog • Forums • Known Issues • Contact Project
Author: Adam Fortuna (All RIAForge projects by this author) Description:
ColdCourse uses Rails style URL routing to convert a "pretty" URL to the event or fuseaction based URLs used by most Coldfusion frameworks. Instead of going to a URL such as
http://localhost/index.cfm?fuseaction=home.about You can have the same resource available at http://localhost/home/about Additional parameters can be used which are then converted to URLs variables. For instance you may want to access: http://localhost/user/about/BenForta Which would, by default, be the same as accessing http://localhost/index.cfm?fuseaction=user.about&id=BenForta. Another example may be a blog where you want to be able to view by date where you had a URL such as: http://localhost/blog/2007/2 Which you want to list all blog posts from February 2007. This would then route to something similar to http://localhost/index.cfm?fuseaction=blog.list&year=2007&month=2 Additionally, Coldcourse can handle keeping your URLs unique. Once installed you wouldn't want to have 2 URLs available with the same content. Coldcourse handles making sure only one such location for each URL exists. This is heavily based on the amazing routes system written by Rob Cameron & Per Djurner for Coldfusion on Wheels (http://www.cfwheels.com/) which is responsible a huge majority of the codebase.
Recent Blog Entries:
3/21/07 Initial post about Coldcourse
Requirements:
Any ColdFusion server should be able to run the short form if you don't mind your URLs looking like http://localhost/index.cfm/controller/action.
If you want your URLs to be even prettier (http://localhostcontroller/action) you must be able to run either .htaccess files, which is enabled with apache, or be running IIS and be able to install an Isapi filter for URL rewriting. Most windows shared hosts are not able to run the minimized version. Coldcourse has not been tested on many CF servers or alternate OS's, but it does work on IIS/apache and linux/windows with ColdFusion 7 and 8. Here are the basics of what would be needed for other CF servers: cgi.path_info and cgi.script_name variables. CFCs application scope (although it could be configured to work without it). Application.cfc/Application.cfm (out of the box this is where the application scope is set, although that could easily be changed). Issue Tracker:
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/coldcourse. To view files and changelists associated with this repository, go here: http://coldcourse.riaforge.org/index.cfm?event=page.svnbrowse. You may download the latest set of files from Subversion as a zip file. 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/ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.