No, my mistake in my first post. Sorry....typing in a rush! The cfswitch is a collection of fuseactions, ie. In your case ValidateUser is the fuseaction, and to perform validate ValidateUser two fuses are called, qry_userinfo.cfm and act_validateUser.cfm.
> -----Original Message----- > From: Schweitzer,Dan [mailto:[EMAIL PROTECTED]] > Sent: 10 April 2002 14:59 > To: [EMAIL PROTECTED] > Subject: RE: Another newbie question > > > Okay so a Circuit is an application "usermanager" and a fuse > would be "addUser", which has one or many fuseactions. In > other words > fbxswitch.cfm > Is a circuit? > > <cfcase value="validateUser"> > <cfset XFA.success = "home.admin"> > <cfset XFA.Pfailure = "home.Pfailure"> > <cfset XFA.Ufailure = "home.Ufailure"> > <cfinclude template = "qry_userinfo.cfm"> > <cfinclude template = "act_validateUser.cfm"> > > </cfcase> > Is a fuse? > > > Dan Schweitzer > Web Content Developer > Enterprise Systems Administration > [EMAIL PROTECTED] 512.438.4365 > > -----Original Message----- > From: John Beynon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 8:37 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Another newbie question > > A circuit is a collection of fuseactions which usually > perform related actions, such as a circuit called > userManager, would have fuses, AddUser, DeleteUser, > ModifyUser etc. An application is usually made up of several circuits. > > Core Files only need to exist in the application root, ie. > Where the top level index.cfm lives. > > > -----Original Message----- > > From: Schweitzer,Dan [mailto:[EMAIL PROTECTED]] > > Sent: 10 April 2002 14:32 > > To: [EMAIL PROTECTED] > > Subject: RE: Another newbie question > > > > > > Can someone tell me the difference between a Circuit and a > Fuse? Also > > if I am reading this right; then you do not need the core > files in a > > circuit but you do in a fuse? > > > > Dan Schweitzer > > Web Content Developer > > Enterprise Systems Administration [EMAIL PROTECTED] > > 512.438.4365 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 09, 2002 12:11 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Another newbie question > > > > I'm not sure I agree that the goal is "to make all circuits > capable of > > being a circuit or functioning as their own application." > For me, the > > goal is to do as little work as possible (i.e. > reuse/recycle code <= > > semantics battle to ensue). > > > > For example, I have a circuit that I use all over the place to > > authenticate/authorize users. This circuit would never be a > > stand-alone app becuase the functionality is very limited. I always > > call this circuit from another circuit or application. Therefore, > > including all of the core files takes up unnecessary space. > (Not that > > space is so much an issue, but it is much easier to find > the file I am > > looking for if the core files aren't in the directory.) > > > > my $.02 > > > > Perry > > > > > > ---------- Original Message ---------------------------------- > > From: [EMAIL PROTECTED] > > Reply-To: [EMAIL PROTECTED] > > Date: Tue, 9 Apr 2002 10:35:11 -0500 > > > > >If it's a circuit, not really - however, the goal is to make all > > >circuits capable of being a circuit or functioning as their own > > >application. If you leave all core files in (assuming > your various > > >files are setup correctly) you can do this (if it's a > > circuit, they're > > >just ignored). > > > > > >--- > > >Billy Cravens > > > > > > > > >-----Original Message----- > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > >Sent: Tuesday, April 09, 2002 10:09 AM > > >To: [EMAIL PROTECTED] > > >Subject: Another newbie question > > > > > >I went through Hal Helms' tutorial on creating a simple fusebox > > >application and got that working. Now what do I do? In the > > tutorial, he > > >started by renaming the directory containing the FB 3.0 core > > files to > > >the desired circuit name, then modifying those files and adding > > >additional files needed. Now, what I want to do is create a > > simple home > > >page with a couple of links to other circuits, so the > > circuit I created > > >in the tutorial will be in a subdirectory of the main > fusebox. Do I > > >simply repeat the process for any additional circuits I want > > to add? I > > >guess my real question is this: Do I need all the core > files in each > > >circuit? If not, which ones do I need? > > > > > >Thanks! > > > > > > > > > > > > > > > > > > > > > > _____________________________________________________________________ > > This message has been checked for all known viruses by > UUNET delivered > > through the MessageLabs Virus Control Centre. For further > > information visit http://www.uk.uu.net/products/security/virus/ > > > > > > _____________________________________________________________________ > This message has been checked for all known viruses by UUNET > delivered > through the MessageLabs Virus Control Centre. For further > information visit http://www.uk.uu.net/products/security/virus/ > ==^================================================================ 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 ==^================================================================
