A Brief History of Fusebox - PowerPoint PPT Presentation

About This Presentation
Title:

A Brief History of Fusebox

Description:

A Brief History of Fusebox. Needed way ... Flexible enough to modify to your needs ... URL: Sports Bags = '/search/index.cfm?fuseaction=search&CategoryID=4' ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 24
Provided by: gabero
Category:
Tags: bags | brief | fusebox | history

less

Transcript and Presenter's Notes

Title: A Brief History of Fusebox


1
A Brief History of Fusebox
  • Needed way for others to inherit my applications
  • Created architecture that would be understood and
    maintainable

2
A Brief History of Fusebox
  • Moved into building with Steve Nelson
  • Discussion on cf-talk about creating a modular
    architecture
  • Fusebox.org went online

3
Benefits of using Fusebox
  • Have a developed architecture
  • Flexible enough to modify to your needs
  • Becoming widespread that new team members may not
    have to learn from scratch
  • Created by developers (this means you!)

4
Using Fusebox for eCommerce
5
Using Fusebox for eCommerce
  • Analyze and design
  • Implement structure
  • Expand and maintain

6
Analyze and Design
  • More Design Less Time Less Money
  • Most time and money spent fixing flaws missed
    during design
  • Fusebox encourages design up front

7
Determine the players and props (objects)
8
Determine the actions of the objects
9
Determine the attributes required by the objects
10
Can represent objects with UML
11
Implementing the Structure
  • Creation of each object
  • Joining the objects within the site
  • Calling individual objects

12
Creating an object
  • From our object model
  • Shopping cart
  • Attributes.Fuseaction
  • View Cart
  • Add Item
  • Remove Item
  • Clear cart

13
Creating an object
  • To the objects file (/shoppingcart/index.cfm)
  • ltcfparam name"attributes.fuseaction"
    default"attributes.fuseaction"gt
  • ltcfswitch expression"attributes.fuseaction"gt
  • ltcfcase value"ViewCart"gt lt/cfcasegt
  • ltcfcase value"addItem"gt lt/cfcasegt
  • ltcfcase value"RemoveItem"gt lt/cfcasegt
  • ltcfcase value"UpdateCart"gt lt/cfcasegt
  • ltcfcase value"ClearCart"gt lt/cfcasegt
  • lt/cfswitchgt

14
Creating an object
  • Then adding the fuses or modules
  • ltcfparam name"attributes.fuseaction"
    default"attributes.fuseaction"gt
  • ltcfswitch expression"attributes.fuseaction"gt
  • ltcfcase value"ViewCart"gt
  • ltcfinclude template"dsp_Cart.cfm"gt
  • lt/cfcasegt
  • ltcfcase value"addItem"gt
  • ltcfinclude template"act_addItem.cfm"gt
  • ltcflocation url "index.cfm?Fuseactionviewcart"
    gt
  • lt/cfcasegt
  • ltcfcase value"RemoveItem"gt
  • ltcfif BasketItems.recordCountgt
  • ltcfmodule template"act_removeItem.cfm"
    ItemID"attributes.ItemID"gt
  • lt/cfifgt
  • ltcflocation url "index.cfm?Fuseactionviewcart"
    gt
  • lt/cfcasegt

15
Creating an object
  • Or a much simpler version
  • /info/index.cfm
  • ltcfinclude template"app_locals.cfm"gt
  • ltcfinclude
  • template"dsp_attributes.fuseaction.cfm"gt

16
Containership of objects
17
Containership of objects
  • /products/index.cfm
  • app_locals.cfm
  • /app_globals.cfm
  • qry_search.cfm
  • dsp_search_results.cfm
  • dsp_product_display.cfm
  • qry_product_details.cfm

18
Tying the objects together
eBags
Shopping cart
Products
Customers
Orders
19
Tying the objects together
Each objects app_locals includes the sites
app_globals
eBags
App_Globals
Shopping cart
Products
App_locals
App_locals
Customers
Orders
App_locals
App_locals
20
Tying the objects together
21
Calling the objects
  • URL Sports Bags /search/index.cfm?fuseactions
    earchCategoryID4
  • ltcflocation url/orders/index.cfm?fuseactionshow
    Confirmationgt
  • ltcfinclude template"/shoppingcart/act_check_for_B
    asket.cfm"gt
  • ltcfmodule template/shoppingcart/act_check_for_Ba
    sket.cfm"gt

22
Quotes from Users
  • "Fusebox allows our developers to leverage the
    strengths of standard techniques and practices to
    deliver a better product along a faster
    timeline. -Joshua Cyr
  • "We are integrating Fusebox into all of our
    projects large and small. By building in
    "modularity" to the code structures and programs
    from the beginning, we have been able to speed
    our development times and create better and
    better systems that are very easy to revise and
    modify, even for rookie CFers. -Truman Esmond
  • "As a team of developers, with different styles,
    fusebox allowed us to follow a common path,
    increasing the coordination of projects, while
    decreasing time spent understanding each others
    code. -Micheal Morris - Automated Graphic
    Systems, Inc.

23
Fusebox resources
  • the site - http//www.fusebox.org
  • Mailing list - fusebox_at_houseoffusion.com
  • Forums - http//www.fuseware.com/support/Forums/In
    dex.cfm?cfapp2
Write a Comment
User Comments (0)
About PowerShow.com