Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

complete newbie help 2

Status
Not open for further replies.

electronicmonkey

Technical User
Feb 19, 2007
45
GB
Please forgive me for this.I have just downloaded and installed Coldfusion MX7 Developer on my pc. I have read all the instructions (read me, getting started....Found the command line web server configuration tool daunting) but somehow I can't figure out how to use the program yet. I can already build simple Coldfusion pages before this, but don't have an external server which supports Coldfusion. My purpose for installing is to be able to find out how Fusebox works with Coldfusion. Am I doing things the right way ?

 
Forgive me but what is it you are trying to do/what is the problem?

Are you trying to find how to run CF without using IIS/Apache etc?

If so Cf comes with it's own built in webserver for that, and it runs on port 8080. If memory serves, you need to put your cfm files into the cfusionmx/ folder. these files can then be run from a browser using
Hope this helps!

Tony
 
If you installed it to work with your existing web server (IIS/Apache), which used to be the default installation, all you have to do is pull up your .cfm pages in the browser. If you have them stored in "C:Inetpub/ then you just go to " in the browser.

If we haven't answered your question or helped you, then Sarky78's right and we'll need a more detailed explanation.

BTW, why in the world would you want to fool with Fusebox?


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Thanks for your help. I will give it a whirl later today. Why do I want to fool with Fusebox ? A job that I am going to do in a few week's time requires that I should be able to use Fusebox with Coldfusion. I have read a little bit on what Fusebox does , but I really need to know how it does it hands-on ; that's why the interest. Do you have any issues with Fusebox ?
thanks again

 
Or can you give me some more advice on Fusebox ? I really don't have any idea what extra it offers to Coldfusion development. Thanks.

 
Fusebox really just offers a standard way of developing n-tier applications, and an easy way for new modules/applications to be plugged into the developed system. Although it was developed with CF in mind it has been used with other development languages.

The basics are along these lines. All of the code is seperated into their own seperate files. so for a page that has a query, some processing and then some output, all of these functions would be in different files and then included into the system using cfinclude's

so where a page might have looked like this:

Code:
<cfquery ...>
  select a
  from b
</cfquery>

<cfif query.a eq 10>
  <cfset something = query.a>
<cfelse>
  <cfset something = 1>
</cfif>

<table border....>
<tr>
  <td><cfoutput>#something#</cfoutput></td>
</tr>
</table>

the page would look like this:

Code:
<cfinclude template="qrySomething.cfm">
<cfinclude template="actProcessing.cfm">
<cfinclude template="dspResults.cfm">

with all of the info from the 1st code block in the various files.

this could for example allow several people to be working on things at the same time. a db person could work on queries, a designer on the output and you could work on processing, and not trip over each other.

A query filename is proceded by qry, an action file by act and an output file by dsp. Some people use frm for a form as well but i just think that is taking things one step too far. to be honest I don't use the full fusebox specification when developing applicaton, we tend to use the bits that suit us and adapt things to out needs.

Hope this helps!

Tony
 
Thanks I am now more fusebox literate !! Appears it is also used with PHP.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top