Link to home
Start Free TrialLog in
Avatar of Coast Line
Coast LineFlag for Canada

asked on

trouble with fusebox

i have one site which is purely build in coldfusion! the main file is the index.cfm file

now i have one page to which i want to convert into fusebox! i do not want to convert the whole website in fusebox!any workaround this!

the website is too big so converting the whole website will be pain in ass.

so either fusebox 4.1 or fusebox 5 or more version can help in doing such thing or fusebox 3 i can also consider!

please guide me
Avatar of gdemaria
gdemaria
Flag of United States of America image


The question is WHY do you want to do this?   It sounds really silly to convert one page to a different coding methodology, particularly since that coding methodology uses index.cfm as it's corner stone.

Whatever reason you have to convert one page into fusebox, I am sure we can solve in another way.
Avatar of Coast Line

ASKER

my client wants it as!

i know having full website in fusebox is a good task!

he says that he has one page which make use the switch/case statements that he want to call them using fusebox

But if your switch case statements are NOT in your index.cfm file, then it's just silly to put them there.   All you need to do is take the code from those switch statements and put them at the top of your form page and submit the page to itself.   Same code, but instead of putting in your index.cfm file (which is already in use) then you put it in the form page.   Must smarter!

Your client should not be coding for you.
sorry i did not understood what u said above!

@ also i went through the THEHUB Framework which seems to be solution to me! it is quite nice and too simple to config! have you had a look at it the Framework by Neil Ross

Not famous but good one
ASKER CERTIFIED SOLUTION
Avatar of gdemaria
gdemaria
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks! i came across framework which i would like you too have a look please! it is just awesome no big hassles, everything redirects from index.cfm page:

theHUB..

i implemented it and it works!

Frameworks are not my 100 % choice! they need irrelavant files to included and passing from various pages to the one page and error handling becomes difficult

I agree

seems like a decent framework, pretty simple, which is good.

Two comments..

- make sure it converts all URL variables to FORM variables (or attributes scope), so you don't have to deal with multiple scopes for inputs.

- see how it handles errors.  That is, if you submit a form and left out a required field, can you redisplay the form with all user-input in tact with an error message?

yes it do