Adobe 38000827 Evaluator Guide - Page 13
<CFQUERY NAME=ProductList DATASOURCE=CompanyDB>, SELECT * FROM Products, </CFQUERY>, &
UPC - 718659577186
View all Adobe 38000827 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
Macromedia® ColdFusion® MX Evaluator's Guide other web technologies. Developers can then test the pages locally or deploy them on a web server where the ColdFusion MX environment has been installed. The following is an example of a simple dynamic web page written with CFML. The majority of the text is standard HTML, while the highlighted lines are ColdFusion tags. SELECT * FROM Products Product List Company X Products #ProductName# $#Price# The first ColdFusion tag embedded in this page instructs the ColdFusion environment to retrieve all of the entries from the Products table in the CompanyDB database. The second tag instructs ColdFusion to place the results from the query on the page, with each product name and its associated price on its own line. These instructions on the ColdFusion page are processed entirely on the server. Only the results, in this case the list of products and the associated HTML tags, are passed to the browser requesting the page. With its intuitive server scripting and integrated development tools, ColdFusion MX enables developers to build advanced websites and applications - including database reporting systems, content publishing solutions, portals, ecommerce sites and more - in the most rapid and cost-effective manner available. 13