Re: fusebox: Question about fuseactions and sidebar menu

2005-12-30 Thread Dustin Tinney
that would be one way to do it.  Pre-fuseactions would give you that
functionality.

If I was using a pre-fuseaction I wouldn't have it pass back the nav
or print it out.  instead I would have it set a variable..  such as
nav_template_file  and then in your main template where you would have
your sub nav instead you would do something like:



On 12/31/05, Mike Soultanian <[EMAIL PROTECTED]> wrote:
> Dustin Tinney wrote:
> > First:
> > about.abouthome you should have it be just
> > about.home or better yet, about.index...  the about should be implied
> > by the circuit.
>
> Yeah, I was going through all my circuits changing them probably at the
> same time you were typing it ;)
>
> > In my design model I would have a action on the about news and
> > anything else that would change up your navigation..  It would some
> > how set/return a navigation object that would be able to draw it's
> > self,  aka, a list or something like that.  Use CSS to do the
> > formatting...
>
> Within each section/circuit (news,about,etc.) the menu stays the same
> for all FAs within that section/circuit.  It just changes from section
> to section.  That's why I used the preFA within that circuit to include
> a fuse w/ the menu for that section.  I figured that way, regardless
> which FA is called within that circuit, they're all going to get the
> same menu.  Then the CSS takes care of the menu like you suggest.  Sound
> similar to what you were thinking?
>
> thanks,
> Mike
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228062
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: fusebox: Question about fuseactions and sidebar menu

2005-12-30 Thread Mike Soultanian
Dustin Tinney wrote:
> First:
> about.abouthome you should have it be just
> about.home or better yet, about.index...  the about should be implied
> by the circuit.

Yeah, I was going through all my circuits changing them probably at the 
same time you were typing it ;)

> In my design model I would have a action on the about news and
> anything else that would change up your navigation..  It would some
> how set/return a navigation object that would be able to draw it's
> self,  aka, a list or something like that.  Use CSS to do the
> formatting...

Within each section/circuit (news,about,etc.) the menu stays the same 
for all FAs within that section/circuit.  It just changes from section 
to section.  That's why I used the preFA within that circuit to include 
a fuse w/ the menu for that section.  I figured that way, regardless 
which FA is called within that circuit, they're all going to get the 
same menu.  Then the CSS takes care of the menu like you suggest.  Sound 
similar to what you were thinking?

thanks,
Mike

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228060
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: fusebox: Question about fuseactions and sidebar menu

2005-12-30 Thread Dustin Tinney
First:
about.abouthome you should have it be just
about.home or better yet, about.index...  the about should be implied
by the circuit.


In my design model I would have a action on the about news and
anything else that would change up your navigation..  It would some
how set/return a navigation object that would be able to draw it's
self,  aka, a list or something like that.  Use CSS to do the
formatting...



On 12/30/05, Mike Soultanian <[EMAIL PROTECTED]> wrote:
> The fusebox forum isn't that active and I've seen some fusebox posts
> here so hopefully someone can give me a little advice...
>
>
> I'm trying to figure out the best way to design my menu system
> Fuseactions.  I have a sidebar menu that changes for given main menu nav
> items.  So, let's say the top main nav bar has ABOUT, NEWS, etc.. the
> ABOUT page sidebar links will be different from the NEWS sidebar links.
>   Now, to handle this, I created separate ciruits/FAs:
>
> about.abouthome
> about.aboutnews
> about.maps
>
> and
>
> news.newshome
> news.newswhatsnew
> news.newsrandomstuff
>
> and so on...
>
> The way I have it designed now is if you call up about.abouthome, there
> is a preFA that calls up sidebarnav.navabout which has all of the XFAs
> for the various links from the ABOUT pages.  sidebarnav.navabout in
> turns calls up the sidebar fuse which is stored in a CCV and then
> assembled later.
>
> Does this seem like a good setup?  I'm not particularly happy with the
> the disconnect between the ABOUT FAs and the associated XFAs stored with
> the sidebar FA, but I thought it made more sense to put the XFAs with
> the sidebar FAs than it did in the main ABOUT FAs, especially because
> those XFAs need to be built in the sidebar fuses, not the ABOUT fuses.
>
> Does that make sense?  I'd appreciate any feedback.
>
> Thanks,
> Mike
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228058
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Fusebox Question

2002-02-28 Thread Stephen Moretti

Shawn,

> For me, the concept of Fusebox is good, but in practicality it becomes a
> pain to debug... having to track back through ALL included files to find
an
> error...
>

Not sure what version of CF you are using, but CF4.x and CF5 debug
information gives the file name of the template where the error occurred,
the route through included files , as well as the exact line and character
on that line that the error occurred, so it shouldn't be that much of a
problem.

Generally I find that Fusebox is easier to debug than other methods, simply
because the code is in much more manageable chunks, generally with only one
function in a template.  Not much to look back through and not much code to
wade through.

Just my 2p on that aspect of Fusebox.

Regards

Stephen



__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox Question

2002-02-28 Thread Shawn Grover

For me, the concept of Fusebox is good, but in practicality it becomes a
pain to debug... having to track back through ALL included files to find an
error...



-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 9:54 AM
To: CF-Talk
Subject: RE: Fusebox Question


Fusebox isn't really a changing of anything, all that it does it allow you
to have a more thought out way of managing your code. It borrows things from
oop where it applies. I use it as much as I can, I would not go back. It
allows me to reuse code much easier.

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:48 AM
To: CF-Talk
Subject: Fusebox Question


I'm evaluating whether to use Fusebox methodology for our next Intranet. My
question is how does fusebox work with CF Advanced Security? We use our NT
Security groups for many of our apps. Don't want to lose that.


Thanks


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox Question

2002-02-28 Thread Haggerty, Michael A.

Lot's of ways to get around that... like including the template name in
comments on each page. 



Mike

-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 12:02 PM
To: CF-Talk
Subject: RE: Fusebox Question


For me, the concept of Fusebox is good, but in practicality it becomes 
a
pain to debug... having to track back through ALL included files to 
find an
error...



-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 9:54 AM
To: CF-Talk
Subject: RE: Fusebox Question


Fusebox isn't really a changing of anything, all that it does it allow 
you
to have a more thought out way of managing your code. It borrows things 
from
oop where it applies. I use it as much as I can, I would not go back. 
It
allows me to reuse code much easier.

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:48 AM
To: CF-Talk
Subject: Fusebox Question


I'm evaluating whether to use Fusebox methodology for our next 
Intranet. My
question is how does fusebox work with CF Advanced Security? We use our 
NT
Security groups for many of our apps. Don't want to lose that.


Thanks



__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox Question

2002-02-28 Thread Robert Everland

Fusebox isn't really a changing of anything, all that it does it allow you
to have a more thought out way of managing your code. It borrows things from
oop where it applies. I use it as much as I can, I would not go back. It
allows me to reuse code much easier.

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:48 AM
To: CF-Talk
Subject: Fusebox Question


I'm evaluating whether to use Fusebox methodology for our next Intranet. My
question is how does fusebox work with CF Advanced Security? We use our NT
Security groups for many of our apps. Don't want to lose that.


Thanks

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Fusebox Question

2000-08-15 Thread paul smith

So how do you do the following in strict Fusebox style?

I have an app where to simplify matters for users they
only need enter a Search Term and hit Enter.  (I tried
making them select an option before they hit enter, but
did not feel it was user-friendly enuf.  BTW, this
kind of follows Creative Good's "Survival Strategy 6:
Improving Search" recommendation in their Dotcom
Survival Guide, which is a free download at this URL:
http://www.creativegood.com/survival, and an
interesting read.)

If the Search Term IS a Special Pre-Assigned One, then a
SQL lookup enables a jump to just that Special Result
Page (no action required by the user).  In addition to
the special results on that page, the page also contains
a link to Verity Search Results for the same Search Term.
(A somewhat messy alternative would be to display the
Verity Search Results below the Special Results.)

If the Search Term IS NOT a Special Pre-Assigned One,
the result page simply lists the Verity Search Results.

The current index.cfm is as follows:




















best,  paul


At 12:25 PM 8/15/00 +0100, you wrote:
> >
> > Thanks for the response.  How are situations handled where you have a
> > query within a loop handled within Fusebox?
> >
> > For example:
> >
> > 
> >  
> >   SELECT * FROM Table
> >   WHERE ID = CountLoop
> >  
> >
> >  
> >   You are at record #ID#.
> >  
> > 
> >
> > I don't see an easy way to abstract this functionality back to only
> > CFINCLUDEs at the index.cfm.
> >
>
>Kevin,
>
>I'm not sure why you would do this anyway.  The code above would be 10
>hits on the database - you would be far better doing.
>
>
>  SELECT * FROM Table
>  WHERE ID < 10
>
>
>
>#ID# - #currentrow#
>
>
>Also,  your code example from your first email...
> > 
> > 
> > 
> > 
> > 
>
>Would it not be better to do away with this and write a file called
>qry_user.cfm (or whatever) which contains a query like this:
> select * from table
> where username = '#attributes.UserName#'
>
>Its not good practice to hard code a query for a variable piece of data as
>you have in the above  statement.
>
>Fusebox applications look more like this in your index.cfm:
>
>
>
>
> 
> 
>
>
> 
> 
>
>
>
>Is this bring you any closer to understanding Kevin?
>
>Hope I've helped.
>
>Regards
>
>Stephen
>
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Fusebox Question

2000-08-15 Thread Stephen Moretti

>
> Thanks for the response.  How are situations handled where you have a
> query within a loop handled within Fusebox?
>
> For example:
>
> 
>  
>   SELECT * FROM Table
>   WHERE ID = CountLoop
>  
>
>  
>   You are at record #ID#.
>  
> 
>
> I don't see an easy way to abstract this functionality back to only
> CFINCLUDEs at the index.cfm.
>

Kevin,

I'm not sure why you would do this anyway.  The code above would be 10
hits on the database - you would be far better doing.


 SELECT * FROM Table
 WHERE ID < 10



#ID# - #currentrow#


Also,  your code example from your first email...
> 
> 
> 
> 
> 

Would it not be better to do away with this and write a file called
qry_user.cfm (or whatever) which contains a query like this:
select * from table
where username = '#attributes.UserName#'

Its not good practice to hard code a query for a variable piece of data as
you have in the above  statement.

Fusebox applications look more like this in your index.cfm:













Is this bring you any closer to understanding Kevin?

Hope I've helped.

Regards

Stephen

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Fusebox Question

2000-08-14 Thread Gregory Harris

I'm not sure if I understand you.  But here it goes.  This looks like a regular 
programming construct that could be handled within any CF Block.  Just use a query or 
action file (qry_file or act_file) as appropriate. 

Remember that templates can be dependent on other templates to do actions, this is a 
virtual necessity of programming.  As long as you use CFINCLUDE, variables will pass 
from one template to another without a problem.  All a CFINCLUDE does essentially is 
copy and paste the code from it's source into the current page, so variables will 
carry.  

Hope this helped, if not, lemme know!

Gregory Harris
Los Angeles Information Technology Agency (ITA)
[EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 08/14 1:19 PM >>>

Thanks for the response.  How are situations handled where you have a
query within a loop handled within Fusebox?

For example:


 
  SELECT * FROM Table
  WHERE ID = CountLoop
 

 
  You are at record #ID#.
 


I don't see an easy way to abstract this functionality back to only
CFINCLUDEs at the index.cfm. 

Thanks,

Kevin


>>> [EMAIL PROTECTED] 08/14/00 09:54AM >>>
Hey, my answers are indicated by  below.

Gregory Harris
Los Angeles Information Technology Agency (ITA)
[EMAIL PROTECTED] 


>>> [EMAIL PROTECTED] 08/14 9:45 AM >>>

I am new to the fusebox methodology, and hoping that someone might give
me some structural pointers.

It seems like there will be plenty of situations where query content
will be required to provide content to a display page.  In this
scenario, is the preferred method to go back to the index.cfm page to
include the query file, or is it ok to include the file directly from
the display file?

Good Fusebox code will not include a fuse within a fuse, all code
should be built to include directly from the fuse central (index.cfm
usually). 

How about conditional includes?  Should the following code be contained
within the index.cfm or not?  Should includes be contained within the
index.cfm file only?

Fusebox does not recognize conditional includes, you should build
your conditions around the templates, not the index itself.  The ONLY
thing the index page should have is the necessary includes for a given
action (and of course an app_globals file).


 

 


TIA,

Kevin

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Fusebox Question

2000-08-14 Thread Kevin Miller


Thanks for the response.  How are situations handled where you have a
query within a loop handled within Fusebox?

For example:


 
  SELECT * FROM Table
  WHERE ID = CountLoop
 

 
  You are at record #ID#.
 


I don't see an easy way to abstract this functionality back to only
CFINCLUDEs at the index.cfm. 

Thanks,

Kevin


>>> [EMAIL PROTECTED] 08/14/00 09:54AM >>>
Hey, my answers are indicated by  below.

Gregory Harris
Los Angeles Information Technology Agency (ITA)
[EMAIL PROTECTED] 


>>> [EMAIL PROTECTED] 08/14 9:45 AM >>>

I am new to the fusebox methodology, and hoping that someone might give
me some structural pointers.

It seems like there will be plenty of situations where query content
will be required to provide content to a display page.  In this
scenario, is the preferred method to go back to the index.cfm page to
include the query file, or is it ok to include the file directly from
the display file?

Good Fusebox code will not include a fuse within a fuse, all code
should be built to include directly from the fuse central (index.cfm
usually). 

How about conditional includes?  Should the following code be contained
within the index.cfm or not?  Should includes be contained within the
index.cfm file only?

Fusebox does not recognize conditional includes, you should build
your conditions around the templates, not the index itself.  The ONLY
thing the index page should have is the necessary includes for a given
action (and of course an app_globals file).


 

 


TIA,

Kevin

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Fusebox Question

2000-08-14 Thread Gregory Harris

Hey, my answers are indicated by  below.

Gregory Harris
Los Angeles Information Technology Agency (ITA)
[EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 08/14 9:45 AM >>>

I am new to the fusebox methodology, and hoping that someone might give me some 
structural pointers.

It seems like there will be plenty of situations where query content will be required 
to provide content to a display page.  In this scenario, is the preferred method to go 
back to the index.cfm page to include the query file, or is it ok to include the file 
directly from the display file?

Good Fusebox code will not include a fuse within a fuse, all code should be built 
>to include directly from the fuse central (index.cfm usually). 

How about conditional includes?  Should the following code be contained within the 
index.cfm or not?  Should includes be contained within the index.cfm file only?

Fusebox does not recognize conditional includes, you should build your conditions 
>around the templates, not the index itself.  The ONLY thing the index page should 
>have is the necessary includes for a given action (and of course an app_globals file).


 

 


TIA,

Kevin

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ 
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.