Yikes, I meant to say that your assertion that you only set XFA's in the switch file is NOT completely true. That paragraph probably makes a lot more sense now. ;-)
Brian Kotek wrote: > My point was that the core Fusebox file (or more accurately the Fusebox > API Spec) works exactly the same whether you use XFAs or not. It > couldn't care less. XFA's are a benefit for developers in terms of > reusability, flexibility, and maintainability. > > Also, your assertion that the only place you reference a Fuseaction is > in a switch file is completely true. There's no law about that...while > the MAJORITY of XFA's are in fact set in your switch file, there are > times when XFA's are effectively set elsewhere (in an fbx_settings file, > > or when one fuse alters or sets an XFA to be used in another fuse). One > > big benefit, at least to me, of using XFAs is that you can alter, on the > > fly, at runtime, what that XFA actually does. > > Am I making any sense? Of course, this is just my point of view as > well! > > Regards, > > Brian > > Andy wrote: > > > > Now that I find interesting. Even if XFAs are not part of the core (the > > "framework") I always thought they were a part of the core methodology. > > Isn't it true that you always aim for this ... > > > > A) The only thing that references fusefiles is the switch in the same > > circuit. > > > > B) The only place that fuseactions are referenced explicitly is in a > > switch file (either local circuit or remote). > > > > Aren't XFA's essential to implementing that principle ? > > > > Andy. > > > > > > > > > > > > Brian Kotek wrote: > > > John, I'm pretty sure that XFA's are independent of which core you use. > > > > > > > > > > > > They're more of a best practice thing than a Fusebox API thing. Nothing > > > > > > > > > > > > in the core will scold you if you aren't using XFA's, because they are > > > just variables that get evaluated to Fuseactions at runtime. XFA's just > > > > > > > > > > > > make your life a lot easier when it comes to reusing code or increasing > > > your fuses' flexibility (as I'm sure you know). So I'm quite sure that > > > you can XFA to your hearts content. > > > > > > > > > > > > > --- > > > --- ==^================================================================ 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 ==^================================================================
