I ran into a case where I felt it best to put logic in index.cfm

I have a form to enter a search term.

Originally, it was intended to enable users search Yellow Page Headings & 
Listings.

I then came up with the idea to allocate a "KeyWord" that would jump 
immediately to a specific Yellow Page Listing.

To make it easy and simple for users, I didn't want them to have to do 
anything except enter a search term and click GO

So I first check the search term to see if it's a KeyWord.  If it's not, I 
then search Headings and Listing for the search term.  I later came up with 
other options.  The simplest was was to put logic in index.cfm

best,  paul

At 08:50 AM 4/9/01 -0400, you wrote:
>In my preceeding act_ file, I cflocate to a new fuseaction that includes the
>query.  I don't put any logic in the index.cfm itself, unless it just can't
>be helped.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to