I think the confusion occurred because you talked about different high-level and low-level functions. You're not referring to functions in the sense of a function like isDefined(), right? You're using it in a generic sense?
--- Lee Borkman <[EMAIL PROTECTED]> wrote: > Okay, Mike, this is right at the heart of Fusebox... > A Fusebox application has any number of "public" > functions. These are the kinds of things that > people want to do with the application: display a > form, show a report, edit some data, read an > article. We call these "Fuseactions", and when you > call a Fusebox app, you ask for a specific > Fuseaction, ie you tell it what you want it to do. > > Now, in order to perform the functions that users > want it to perform, the Fusebox application probably > needs to perform some smaller tasks that mean > nothing to the user. These "private" tasks (hidden > from the user), are called "Fuses". For example, to > Show_A_Report, the application may first need to get > some data from a database, then perform some > calculations on that data, then display that data in > a nicely formatted table. Each of these three small > (ie "low-level" tasks) would probably become a Fuse. > The piece of code that implements the Show_A_Report > Fuseaction would use <cfinclude> to call each of > these Fuses in turn, in order to perform the > high-level task that the user has requested. > > Is that helping any? > > Have fun, > LeeBB > > ----- Original Message ----- > > From: Mike > > > I am still a little confused as to what is a > higher level and low-level function. > > BTW your Portal is a great learning tool! > ----- Original Message ----- > From: Lee Borkman > > > > Hi Mike, > > Generally in Fusebox, we have a distinction > between low-level, private, atomic functions (called > Fuses) and higher-level, public functions (called > FuseActions). > > We use <cfinclude> to call the low-level Fuses, > and <cfmodule> to call entire high-level > FuseActions. > > (There is also a new, quasi-proprietary, > extension to the FB3 framework, called FuseQ, that's > getting a fair bit of discussion at the moment. It > provides an alternative method for invoking entire > FuseActions. Watch this space to see if it becomes > standardised.) > > Does that make sense? > > Thanks, > LeeBB > ----- Original Message ----- > > From: Mike > > > > Hello All, > > I was looking at some example fusebox apps and > was looking at Lee's Portal example. Can someone > let me know why Lee uses CFMODULE to include the > template instead of CFINCLUDE. I noticed this in > out_portal.cfm is there a benefit to using one over > the other? > > Thank you > > Mike > ==^================================================================ > > > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
