In effect the easiest thing to do is to sub-fusebox your functionality and
then provide a top-level fusebox that provides the skin (manages
layout/security/your beer requirements).

The way I write sub-fuseboxes is to assume that they only provide logic
content. In effect this enables you to write portable application
functionality which can easily be plugged into whatever you are doing.

> ----------
> From:         Russell Jones[SMTP:[EMAIL PROTECTED]]
> Sent:         20 September 2000 15:49
> To:   [EMAIL PROTECTED]
> Subject:      [Fusebox] Fusebox as tag - Display problems!!!!
> 
> Someone in allaire's forums recently mentioned a problem that I am running
> into now. 
> 
> ==== 
> 
> Calling a Fusebox application as a tag (i.e. calling the index.cfm file
> through cfmodule/cfinclude) can have advantages and disadvantages.
> 
> The main advantage is that you can encapsulate complex file management and
> processes through the very simple tag structure that is built into
> ColdFusion. So instead of trying to figure out what files are needed to do
> some action, you simple need to know the path of the index.cfm file (i.e.
> template="/directory/index.cfm") the fuseaction you want to call (i.e.
> fuseaction=somefuseaction) and any other variables that are needed for
> that
> specific fuseaction.
> 
> The main disadvantage is when dealing displays. For example if you include
> a
> layout display file that contains a menu within your application, then
> call
> that application from some parent application that already contains that
> menu layout you'll end up with two menus on the page. Which is most likely
> not what you want. 
> 
>     * http://forums.allaire.com/devconf/Index.cfm?Message_ID=572223
> 
> ==== 
> 
> Have any of you run into this, and how did you over come it?
> 
> I'm sitting at my desk right now, sipping a frosty cola beverage waiting
> for
> someone to chime in. Please feel free to email me directly.
> 
> Thanks a ton. 
> 
> -Russ 
> 
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
**********************************************************************
 This email and any attachments are confidential and solely
 for the use of the intended recipient.  They may contain
 material protected by legal professional or other privilege.
 If you are not the intended recipient or the person responsible
 for delivering to the intended recipient, you are not authorised
 to and must not disclose, copy, distribute or retain this email
 or its attachments.  Although this email and its attachments
 are believed to be free of any virus or other defect, it is the
 responsibility of the recipient to ensure that they are virus free
 and no responsibility is accepted by the company for any
 loss or damage arising from receipt or use thereof.

**********************************************************************
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to