Presentation is loading. Please wait.

Presentation is loading. Please wait.

An Introduction to FB4 An Introduction to Fusebox 4 If written directions alone would suffice, libraries wouldn't need to have the rest of the universities.

Similar presentations


Presentation on theme: "An Introduction to FB4 An Introduction to Fusebox 4 If written directions alone would suffice, libraries wouldn't need to have the rest of the universities."— Presentation transcript:

1 An Introduction to FB4 An Introduction to Fusebox 4 If written directions alone would suffice, libraries wouldn't need to have the rest of the universities attached. —Judith Martin (aka "Miss Manners")

2 An Introduction to FB4 State of Fusebox  The last two years have seen: increased corporate acceptance of Fusebox increased developer acceptance of Fusebox increased demand in job postings for Fusebox no new version of Fusebox…

3 An Introduction to FB4 Fusebox: What's in it for the client?  Less risk in software projects  Greater "project visibility"  Not locked into a non-standardized framework

4 An Introduction to FB4 Fusebox: What's in it for managers?  Reduces costs of deployment  Reduces cost of tools and training  Allows better allocation of resources

5 An Introduction to FB4 Fusebox: What's in it for me?  Helps good programmers produce great results  Lets you distinguish yourself from your competition  Helps stop the madness

6 An Introduction to FB4 FB4: It's all new!  XML file defines overall application parameters: Fusebox.xml  XML file defines individual circuits: Circuit.xml  a permissions attribute for fuseactions  Plugins allow developer extensions of core Fusebox  Content components  Change in way layouts are handled  Parsing cycle

7 An Introduction to FB4 FB4: It's just the same!  Core files process a fuseaction request  Circuits provide logical groupings of fuseactions  Fuses hold the code dsp for display act for action qry for query lay for layout

8 An Introduction to FB4 Building a simple FB4 app

9 An Introduction to FB4 Download/install the FB 4 core files

10 An Introduction to FB4 Add a circuits/Users directory

11 An Introduction to FB4 Write Fusedocs  Omitted here for space

12 An Introduction to FB4 Write fuses: qryAllUsers.cfm AllUsers userID,firstName,lastName,newsletters 100|Stan|Cox|19 200|Haywood U.|Buzzoff|5 300|Marge|Inoferror|11

13 An Introduction to FB4 Write fuses: dspUserList.cfm User List #lastName#,#firstName# | New user |

14 An Introduction to FB4 Write fuses: qryNewsletters.cfm Newsletters newsletterID,newsletterName 1|Journal of Misanthropy 2|Today's Mendicant 4|Spotlight on Great Managers 8|WaffleWorld 16|GeekWeek

15 An Introduction to FB4 Write fuses: qryUserInfo.cfm AllUsers userID,firstName,lastName,newsletters 100|Stan|Cox|19 200|Haywood U.|Buzzoff|5 300|Marge|Inoferror|11 SELECT * FROM AllUsers WHERE userID = #attributes.userID#

16 An Introduction to FB4 Write fuses: dspUserInfoForm.cfm User Profile First name: Last name:

17 An Introduction to FB4 Write fuses: dspUserInfoForm.cfm Newsletters: checked > #newsletterName#

18 An Introduction to FB4 Write fuses: dspUserInfoForm.cfm

19 An Introduction to FB4 Write fuses: qryUserInfoEmpty.cfm UserInfo userID,firstName,lastName,newsletters ""|""|""|0

20 An Introduction to FB4 Write test harnesses!!!  Make sure that all your fuses fulfill their contract  For this, you will need to use the Fusedocs

21 An Introduction to FB4 Define how/what fuseactions the Users circuit will handle: circuit.xml

22 An Introduction to FB4 Define how/what fuseactions the Users circuit will handle: circuit.xml

23 An Introduction to FB4 Define the configuration for the Fusebox application: fusebox.xml

24 An Introduction to FB4 Define the configuration for the Fusebox application: fusebox.xml (continued)

25 An Introduction to FB4 Define the configuration for the Fusebox application: fusebox.xml (continued)

26 An Introduction to FB4 Define the configuration for the Fusebox application: fusebox.xml

27 An Introduction to FB4 Try it out…

28 An Introduction to FB4 The Fusebox grammar  include  set  xfa  do  relocate  if  loop

29 An Introduction to FB4 Good Stuff in Fusebox 4 1. Language/version-neutral syntax 2. Extensibility through plugins 3. Improved performance 4. No gut-wrenching changes 5. Can execute multiple fuseactions in same HTTP request (reduces calls) 6. Very flexible content components 7. Less need to understand the Fusebox API

30 An Introduction to FB4 For more info…  www.fusebox.org site and forums  Discovering Fusebox 4 book at techspedition.com  Classes (halhelms.com) FastTrack to Fusebox 4 Fusebox Mastery class Fusebox Lifecycle Process (FLiP)  Articles in "ColdFusion Developer's Journal"


Download ppt "An Introduction to FB4 An Introduction to Fusebox 4 If written directions alone would suffice, libraries wouldn't need to have the rest of the universities."

Similar presentations


Ads by Google