Lesson1 - Hello World!

LearnFB Add comments

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

7 Responses to “Lesson1 - Hello World!”

  1. Allex Smith Says:

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

  2. Edward Sharpless Says:

    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?

  3. macejam Says:

    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.

  4. dan Says:

    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.

  5. Kev Says:

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

  6. Paul Says:

    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..

  7. Scott Says:

    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

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in