A quick editorial note. I mentioned last week that I would be playing with Fusebox and trying to learn the basics. In case anyone comes in via Google I wanted to be clear that these are my experiences as I learn. So please be sure to read the comments.
So for my first entry I thought I'd demonstrate the process you follow to install Fusebox. Since this is rather easy, it won't be a long post.
You begin by downloading the Fusebox install files. You can find this on the Downloads page. In case it isn't obvious, you want the download named:
official FB5.1/CFMX core files (v5.1.0)
I don't know why, but the naming scheme kinda threw me for a second. I didn't know that FB was supported in CF, BlueDragon, and Railo, so that's good news if you aren't using Adobe CF.
Unpack the zip, and like Model-Glue, you have two choices. Either extract to your web root, or create a CF mapping. I know folks under ISPs can't use mappings (sometimes), but I don't have that problem so thats the route I took.
As a quick aside, I was looking for install instructions at Fusebox.org, and it isn't on the Documentation page. You can only find it in the zip. (Look for the README.txt file.) Not a big huge deal, but with an easy install I think they should brag about it. Even if it wasn't easy, I think it should be documented on the web site anyway so folks have an idea what to expect.
Next you need (or may need) a basic Fusebox application template. The Fusebox folks call this the skeleton and it too can be downloaded from the site. Grab this file:
Basic FB5.1/CFMX skeleton application (v5.1.0)
Extract this zip into your new web site (or folder), and you are good to go.
And that's it. Nice. As easy as Model-Glue. You can see my skeleton (and yes, I kept it named that because I'm a dork) over here:
http://ray.camdenfamily.com/skeleton
At this point I've confirmed the application runs and I'm calling it a day. Next I'm going to continue on through the documentation and see if I can understand all the files in the skeleton.
Comment 1 written by Nick Tong on 5 February 2007, at 4:32 PM
Comment 2 written by Nick Tong on 5 February 2007, at 4:37 PM
Comment 3 written by Brian Rinaldi on 5 February 2007, at 8:12 PM
Anyway, sorry to sidetrack the comments, but that is an issue stood when I read the post.
Comment 4 written by Paul on 6 February 2007, at 1:08 AM
*I made that number up. It represents the unquantifiable figure, "most."
Comment 5 written by Julian Halliwell on 6 February 2007, at 2:13 AM
Maybe I've missed your point.
Comment 6 written by dickbob on 6 February 2007, at 4:27 AM
@Brian, as Julian said you can make a mapping for each version of Fusebox and change the root directory called in the index.cfm file. Personally I created fusebox510b1, fusebox510b2 directories and mappings and moved app's up as I became confident with the stability of the core. The final version obviously was located/mapped in fusebox510. This give me the option to have a possible fusebox511 or fusebox512 some time in the future if needed.
Comment 7 written by Brian Rinaldi on 6 February 2007, at 6:14 AM
Comment 8 written by Diogo Moura on 6 February 2007, at 8:23 AM
Comment 9 written by DK on 6 February 2007, at 9:21 AM
Comment 10 written by Tom Mollerus on 6 February 2007, at 11:53 AM
Comment 11 written by Sean Corfield on 6 February 2007, at 11:20 PM
include template="../../fusebox/fusebox5.cfm"
Fusebox creates the core CFCs by relying on local relative paths - which is why all the fuseboxXxx.cfc files are in the same directory as fusebox5.cfm.
As for Getting Started / Install docs, good point. We have a team of people leading efforts to improve everything about Fusebox from the website to the docs to the core files to the sample apps to...
This is not your father's Fusebox :)
Comment 12 written by johnb on 7 February 2007, at 7:36 AM
Couple of things to point out here - prior to fb5 you couldn't have multiple Fusebox applications in the same cf application name space - they'd overwrite each other when they ran (now you just set <cfset Fusebox_Application_Key = "myapp"> in your application index.cfm). Remembering what came with what then, with fb5 errortemplates/plugins/lexicons were unique to the specific fusebox application so you could end up multiple copies of errortemplates/plugins etc - particular in a corporate intranet where you may have multiple fusebox applications. With fb5.1 these can now be shared amongst multiple applications so you don't need multiple copies of errortemplates/plugins/lexicons etc...
Comment 13 written by Charlie Arehart on 8 February 2007, at 9:21 AM
Comment 14 written by Josh on 23 January 2008, at 2:41 PM
[Add Comment] [Subscribe to Comments]