Latest Post

iPhone 3.0 bugs

So here are details of two bugs I’ve found so far; In the Camera application in the bottom left corner is (I guess) your latest picture in your Camera Roll except the picture I’m being shown is about 6 pictures ago and not updating. I sync my iPhone to my iMac at home but as is often the...

Read More

Lesson1 – Hello World!

Posted by johnb | Posted in Uncategorized | Posted on 24-08-2004

Tags:

10

This lesson gets you to create a simple Helloworld fusebox4 application.
If you can’t get the application working, you can download the source files below.

Download Lesson 1 PDF

Download Lesson 1 ZIP

Comments (10)

Thanks for this quick guide. Very easy to understand. Keep up the good work!

I am running the PHP version of FB4.1 and wonder how to create an application.php file to require every file request goes through the index.php(cfm) file.

Can someone direct me to Fusebox/PHP resources?

Just dowloaded this tutorial (which I assume was written for fusebox4) to try out fusebox4.2. Created a subfolder called main; put the circuit and dsp_helloworld.cfm file in this; added main/ to the circuit path in fusebox.xml. Bingo, it worked. Yes very exciting for me!
Thanks John.

I think it is a bad first lession. For example what are the "core files" and what other steps need to be taken to get the "Hello World" up and running after you downloaded the FB zip.

Simple and consise!! Like it!
Good work!!!

I notice the first thing you did in Lesson1 was to create the dsp_helloworld.cfm file. In building these fusebox apps, is it generally the case to begin with the display templates and then kind of backwards engineer everything? I’m new to fusebox and am just wondering how experienced developers sit down and start building the bits and pieces that make up these apps..

I downloaded the Lesson 1 application and ran it with no problems. Then, I added a new fuseaction of “goodbyeworld” and called it like this: http://localhost/LearnFB/lesson1/index.cfm?fuseaction=LearnFB.goodbyeworld but it didn’t work…I just saw the “Hello World” message again. Once I got to Lesson 2, I realized the issue with this…the variable “fuseactionVariable” (which is set in fusebox.xml.cfm) was set to “method”. So for my new fuseaction to work I had to call it like this: http://localhost/LearnFB/lesson1/index.cfm?method=LearnFB.goodbyeworld

John:

I really appreciate your maintaining this tutorial for us poor souls starting out with Fusebox late in life. :o )

Unfortunately the zip file that goes along with lesson one is missing which makes that lesson a bit hard to follow.

Thanks,

Steve

fixed. damn casing!

Thanks for the effort. All of your tutorials were concise and I was able to begin implementing this framework almost immediately.

Write a comment