> On Sunday, Mar 30, 2003, at 13:15 US/Pacific, S. Isaac Dealey wrote:
> > If you do store application settings in xml they really should
> > be stored in a .cfm template so that the CF Server will protect the
> > data
> > from someone attempting to get at it from typing a URL into their
> > browser,
> 
> Why not put it outside the webroot?

Lots of developers use shared servers where this option is not generally
available. 

> > <cfset fuseaction =
> > rereplacenocase(fuseaction,"[^[:alnum:]]","","ALL")>
> > <cfinclude template="#fuseaction#.cfm">
> >
> > Which is both less code and faster -- the only disadvantage is that
> > you can
> > no longer perform a multi-file search through your application for
> > "foo.cfm"
> > and produce this page, you would have to search for "foo".
> 
> And it also ties fuseactions to filenames which is kinda against the
> whole point of FB. It lets you abstract all of the file system
> structure and names away so that the URL interface you present to your
> users is consistent.

It does tie the fuseactions to filenames, but not necessarily those of the
processing and display templates. It's simply the difference between each
fuseaction *file* being one or two lines of code and each cfcase being one
or two lines of code. For example, you could have a folder and file
structure that was only designed to mimic the circuits and fuses, i.e. just
1 or 2 lines in each file, and keep the act_, dsp_ etc. files in a
completely separate path. To me that seems a lot simpler than having to hunt
through cfswitches. 

Anyway, I'm sure there's not a lot of point second-guessing the Fusebox
committee. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to