Hi

This sounds great, I'm just starting to use wireframe.

One question I do have, is it possible to have a multiple line
responsibility or at least be able to add more comment for each page?

Cheers

 -----Original Message-----
From:   BORKMAN Lee [mailto:[EMAIL PROTECTED]]
Sent:   30 May 2001 07:15
To:     Fusebox
Subject:        Convert WireFrame to FuseBox code!! - demo online


> Hi all,
>
> I've been doing several actual jobs with WireFrames lately, and I wanted
> to simplify the boring step of going from a finished WireFrame to a
> FuseBox-ed prototype, so...
>
> I have now added the "Generate Code" option to the WireFrame tool.  It
> takes the data and generates a single CFSWITCH block, with a separate
> CFCASE for each page-state.  It also adds comments to each CASE, sets the
> page title, and creates a complete set of XFA definitions.
>
> It has to massage the names of states, etc, to get legal variable names,
> etc, but you will certainly have to do some post-processing ;-)
>
> Please, have a play around with the online demo at
> http://Bjork.Net/taggallery   I'll integrate this into the downloadable
> version (that'll be Version 3.0) when I have dealt with any
> suggestions/bug-reports ;-)
>
>
> thanks very much,
> Lee Bjork Borkman
>
> ps.,
>
> Here's an example of a wireframe datafile, and the CFSWITCH that gets
> generated (taken from the online demo with all of your clever additions):
>
>
> [Home]
> ;testing to see if this is how you do it
> Click to see a Movie = Movie Menu
> Go to another wireframe = home
>
> ---------------------------------------------------------
>
> [Movie Menu]
> ;I show a list of movies you can see, with links to more information about
> the movie!
> More Information about a Movie = Movie Details
> Play a Movie = Play Movie
> Home = Home
> Delete a Movie = Delete a Movie
>
> ---------------------------------------------------------
>
> [Movie Details]
> ;I show details about the move you selected from the Movie Menu page
> General Information = General Movie Information
> Cast = Cast
> Crew = Crew
> Gossip = Gossip
>
> ---------------------------------------------------------
>
> [Gossip]
> ; Show a note about gossip
> Play Movie = Play Movie
> Return to Movie Menu = Movie Menu
> Home = Home
> Abort = Abort
>
> ---------------------------------------------------------
>
> [Cast]
> ;Show data about cast members
> Return to Movie Menu = Movie Menu
> Home = Home
> Abort = Abort
>
> ---------------------------------------------------------
>
> [TITLE]
> ;BLURB
> link = XFA
>
> ---------------------------------------------------------
>
> [Abort]
> ;Abort entire program
> ex1 = exit
>
>
>
>
>
>
> becomes this...
>
> <CFSWITCH EXPRESSION="attributes.fuseaction">
>
>       <CFCASE VALUE="Home">
>       <!--- testing to see if this is how you do it --->
>               <CFSET request.XFA.Click_to_see_a_Movie =
> "movies.Movie_Menu">
>               <CFSET request.XFA.Go_to_another_wireframe = "movies.home">
>
>               <CFSET request.app.subtitle = "Home">
>       <CFCASE>
>
>
>       <CFCASE VALUE="Movie_Menu">
>       <!--- I show a list of movies you can see, with links to more
> information about the movie! --->
>               <CFSET request.XFA.More_Information_about_a_Movie =
> "movies.Movie_Details">
>               <CFSET request.XFA.Play_a_Movie = "movies.Play_Movie">
>               <CFSET request.XFA.Home = "movies.Home">
>               <CFSET request.XFA.Delete_a_Movie = "movies.Delete_a_Movie">
>
>               <CFSET request.app.subtitle = "Movie Menu">
>       <CFCASE>
>
>
>       <CFCASE VALUE="Movie_Details">
>       <!--- I show details about the move you selected from the Movie Menu
> page --->
>               <CFSET request.XFA.General_Information =
> "movies.General_Movie_Information">
>               <CFSET request.XFA.Cast = "movies.Cast">
>               <CFSET request.XFA.Crew = "movies.Crew">
>               <CFSET request.XFA.Gossip = "movies.Gossip">
>
>               <CFSET request.app.subtitle = "Movie Details">
>       <CFCASE>
>
>
>       <CFCASE VALUE="Gossip">
>       <!---  Show a note about gossip --->
>               <CFSET request.XFA.Play_Movie = "movies.Play_Movie">
>               <CFSET request.XFA.Return_to_Movie_Menu =
> "movies.Movie_Menu">
>               <CFSET request.XFA.Home = "movies.Home">
>               <CFSET request.XFA.Abort = "movies.Abort">
>
>               <CFSET request.app.subtitle = "Gossip">
>       <CFCASE>
>
>
>       <CFCASE VALUE="Cast">
>       <!--- Show data about cast members --->
>               <CFSET request.XFA.Return_to_Movie_Menu =
> "movies.Movie_Menu">
>               <CFSET request.XFA.Home = "movies.Home">
>               <CFSET request.XFA.Abort = "movies.Abort">
>
>               <CFSET request.app.subtitle = "Cast">
>       <CFCASE>
>
>
>       <CFCASE VALUE="TITLE">
>       <!--- BLURB --->
>               <CFSET request.XFA.link = "movies.XFA">
>
>               <CFSET request.app.subtitle = "TITLE">
>       <CFCASE>
>
>
>       <CFCASE VALUE="Abort">
>       <!--- Abort entire program --->
>               <CFSET request.XFA.ex1 = "movies.exit">
>
>               <CFSET request.app.subtitle = "Abort">
>       <CFCASE>
>
> </CFSWITCH>
>
>
>
>
IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee.  It is confidential and may contain legally privileged
information.  No confidentiality or privilege is waived or lost by any
mistaken transmission to you.  If you receive this e-mail in error, please
immediately delete it from your system and notify the sender.  You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.  The RTA is not responsible for any unauthorised alterations to
this e-mail or attachment to it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to