True, but that is not all Cold-Fusion is. The ColdFusion Markup LanguageĮarlier it was stated that ColdFusion is an application server, which is Intended for use on development boxes only. ColdFusion MX's integrated HTTP server is Macromedia does not recommend that the internal Web server (standalone mode)īe used on production boxes. To use the internal Web server you'll need to specify the port number in (bound to the integrated Web server) or using an existing Web server. You'll be asked whether you want to run ColdFusion in standalone mode Servers (like Apache and Microsoft IIS) the internal Web server runs on portĨ500 (instead of the default port 80). So as not to conflict with any other installed Web It is worth noting that ColdFusion MX actually does not need a Web serverīecause it has one built in. Or DNS based virtual hosts rather than multiple Web servers. So, if you need to support multiple hosts, use a single Web server with IP If you have multiple Web servers installed only one of them will be usable withĬoldFusion (unless you plan to do lots of tweaking, a process not recommended atĪll). But, ColdFusion is only ever bound to a single Web server, and so To ColdFusion for processing rather than return it.Īs ColdFusion is bound to a Web server, ColdFusion can be used to process anyĪnd all requests sent to a Web server, regardless of which host or virtual host Whenever a ColdFusion file is requested, the Web server knows to pass the file When ColdFusion is installed, it configures your Web server so it knows thatĪny file with an extension of. Is to be handled by an application server. Web server can then send the entire output back to the requester's browser.Īs explained earlier, the request file type tells the Web server that a request Any ColdFusion instructions are processed, and anyĮxisting results are sent to the Web server (just like in Figure 1.6 above). Any HTML or plain text is left alone and is output (they all begin with CF) or ColdFusion variables and functions (always Request, it parses through the template looking for special ColdFusion tags That's exactly what ColdFusion does not do. #Trim(MovieTitle)# - #DateFormat(DateInTheaters)#Įarlier in this chapter, it was stated that Web servers typically return theĬontents of a Web page without paying any attention to the file contents. This is a sample ColdFusion template it is one Unlike HTML files,ĬoldFusion templates can contain special tags that instruct ColdFusion to Looks much like any HTML file, with one big difference. Instructions are passed to ColdFusion using templates. The ColdFusion Application Server is the program thatĪctually parses (reads and compiles) and processes any supplied instructions. Several pieces of software (applications on Windows and daemons on Linux, Things it would not normally know how to do. Resides on the same computer as your Web server, enabling the Web server to do The ColdFusion Application ServerĬoldFusion is an application servera piece of software that (usually) The Internet and Web servers, here's where it will all fit together. You're now ready to take a look at ColdFusion so you can understand whatĪnd if you're wondering why you went through all this discussion about
0 Comments
Leave a Reply. |