當前位置

首頁 > 商務英語 > 計算機英語 > 什麼是ColdFusion

什麼是ColdFusion

推薦人: 來源: 閱讀: 3.26K 次

ColdFusion(直譯:冷聚變),是一個動態Web服務器,其CFML(ColdFusionMarkupLanguage)是一種程序設計語言,類似現在的JavaServerPage裏的JSTL(JSPStandardTagLib),從1995年開始開發,其設計思想被一些人認爲非常先進,被一些語言所借鑑。接下來小編爲大家整理了什麼是ColdFusion,希望對你有幫助哦!

什麼是ColdFusion

ColdFusion is a tag based language similar to HTML, generally recognized to be fairly easy for people coming straight from HTML to learn.

While ColdFusion is a programming language, many programmers (mistakenly) think of it more as a scripting language, due to its very simple tag-based syntax, typeless variables and weak support for programming anything but web-based applications prior to version 6 (MX). In fact, this misconception (that ColdFusion is a scripting language) is so prevalent, that it often overshadows what ColdFusion really has become, namely, a productivity layer over raw J2EE or development, more closely related to products in Bowstreet's portal development suite than a scripting language like VBA or Javascript. Imagine bits of Struts, Spring, Hibernate, JavaServer Faces, and various Apache components (XML-FOP, Commons, and a few other odds and ends) all rolled together, synthesized into a single coherent product, and you're getting close to what ColdFusion has evolved into.

  Contents

  ColdFusion Early Days

The language and its application server were originally created by J. J. Allaire and his brother Jeremy Allaire. The original server was a database to web application engine with access to all CGI information passed along with a page request. This basic beginning was expanded upon many times until the server and language was a solid enterprise level product. The engine was originally written with a C base that compiled the templates down to p-code.

  ColdFusion MX 7

With the release of ColdFusion 7.0, the naming convention was HTTPs://www.yydjb.com/tags-6238-0.html" target="_blank" >amended, rendering the product name "Macromedia Coldfusion MX 7". CFMX 7 added Flash-based web forms and a report builder that output in Adobe PDF as well as Flash Paper, RTF and Excel. The Adobe PDF output is also available as a wrapper to any HTML page, converting that page to a quality printable document. The enterprise edition also added Gateways. (These provide interaction with such things as IM Services, SMS, Directory Watchers, and an asynchronous execution... or add your own gateways.) XML support was boosted in this version to include native schema checking.

  ColdFusion MX

Somewhere before 2000, Allaire began work on rewriting the basis of ColdFusion using Java (codenamed "Neo"), which would allow for greater portability among different platforms.

On January 16, 2001, Allaire announced that it would be merging with Macromedia. Shortly after the merger, Macromedia continued with the incremental release of ColdFusion 5.00 and in June 2002, Macromedia released Macromedia ColdFusion MX (6.0), extending the naming convention of Macromedia's line of products. ColdFusion MX was completely rebuilt from the ground up and was based on the Java 2 Platform, Enterprise Edition (J2EE) platform. ColdFusion MX was also designed to integrate well with Macromedia Flash using Macromedia Flash Remoting MX.

Starting from the MX (6.0) release, ColdFusion is compiled to bytecode, like JSP and . The compiled s files are readily accessible, and are cached until their source changes, like JSPs.

With the release of ColdFusion MX, the CFML language was also extended to support basic OOP. Apart from the tag-based CFML syntax, ColdFusion supports embedded scripts that can be written in a JavaScript-like language.

  Object Oriented Coding In Coldfusion

Coldfusion was originally not an objected-oriented programming language, and even today lacks some OO features. This lack is common for dynamically typed language and is shared with such languages as Ruby. However, with the MX release (6 ), Coldfusion introduced the component language construct which resembles classes in OO languages (such as Java, Smalltalk, and C ). Each component may contain any number of properties and methods. One component may also extend another (inheritance). Components only support single inheritance, and do not currently support Java-style interfaces. On the other hand, Ruby style Mixins are becoming popular and take the place of interfaces. Coldfusion components use the file extension cfc to differentiate them from ColdFusion templates (). It's also worth mentioning that due to the MX layered architecture, full OO support is available by embedding pure java into your CFML (similar to how JSPs also support embedding of java).

Another advantage to components is that component methods may be made available as web services with no additional coding and configuration. All that is required is for a method's access to be declared 'remote'. Coldfusion automatically generates a WSDL at the URL for the component thusly: http://path/to/components/ Aside from SOAP, the services are offered in Flash Remoting binary format.

Methods which are declared remote may also be invoked via a HTTP GET request, for example: http://path/to/components/ query&mode=strict. This will invoke the component's search function, passing arguments "your query" and "strict" as arguments.

The Coldfusion server will automatically generate documentation for a component if you navigate to its URL and insert the appropriate code within the component's declarations. This is an application of component introspection, available to developers of Coldfusion components. Access to a components documentation requires a password.

  Mixing ColdFusion and Java

ColdFusion runs as a web application and can be deployed in a number of supported servlet containers, including Jakarta Tomcat, Macromedia JRun, and IBM WebSphere, and even on a app server (New Atlanta).

Because of ColdFusion's Java code-base, it is possible to mix Java classes with ColdFusion code to create a variety of applications and utilize existing Java libraries. ColdFusion has access to all the underlying Java classes, allowing usage of Java classes. ColdFusion also supports mixed usage of JSP custom tag libraries alongside CFML.

Prior to ColdFusion 7.0.1, ColdFusion components could only be used by Java or by declaring them as web services. However, beginning in ColdFusion MX 7.0.1, it is now possible to utilize ColdFusion components directly within Java classes using the CFCProxy class.

  Acronym

The acronym for the ColdFusion Markup Language is CFML. When ColdFusion templates are saved to disk, they are traditionally given the extension or . The extension is used for ColdFusion Components. The original extension was DBM or DBML, which stood for Database Markup Language. When talking about ColdFusion, most users use the Acronym CF and this is used for numerous ColdFusion resources such as user groups (CFUGs) and sites.

  Alternative Server Environments

ColdFusion originated as proprietary technology based on Web technology industry standards. However, it is becoming a less closed technology through the availability of competing products. Products include New Atlanta's BlueDragon, IgniteFusion, Railo, Coral Web Builder and DigitalLattice Orange.

In fact, one could now make the argument that ColdFusion is even less platform bound than say raw J2EE or , simply because ColdFusion will run on top of a app server (New Atlanta), or on top of any J2EE app server (Websphere, JRun, Tomcat, etc.) In theory, you could move a ColdFusion app unchanged from a J2EE app server to a app server.

CFMX is the common abbreviation for ColdFusion versions 6 and 7 (aka ColdFusion MX).

熱點閱讀

  • 1balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋指導
  • 2balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋開頭
  • 3balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋經典
  • 4balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋大全
  • 5balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋示例
  • 6diffused silicon semiconductor force transducer是什麼意思、英文翻譯及中文解釋
  • 7balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋推薦
  • 8balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋美篇
  • 9默克爾辦公室被警方封鎖 Merkel's office sealed off after suspicious parcel found
  • 10balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋
  • 11balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋實例
  • 12balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋參照
  • 13中國面臨非法集資之困 Failed China schemes pull down hundreds of thousands of investors
  • 14balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋例子
  • 15balance of production,distribution and consumption of social product是什麼意思、英文翻譯及中文解釋參考
  • 推薦閱讀

  • 1allowance for funds used during construction是什麼意思、英文翻譯及中文解釋
  • 2business license for lease of audiovisual products是什麼意思、英文翻譯及中文解釋
  • 3不什麼不什麼俗語是什麼
  • 4caisson foundation combined with pile foundation是什麼意思、英文翻譯及中文解釋
  • 5annual statistics of production of industrial commodities是什麼意思、英文翻譯及中文解釋
  • 6coefficient of converting future funds into the amount of present funds是什麼意思、英文翻譯及中文解釋
  • 7愛是什麼?
  • 8constant elasticity of substitution production function是什麼意思、英文翻譯及中文解釋
  • 9新三板是什麼是什麼概念
  • 10中國空氣污染轉向內陸 China's air pollution lifts in coastal cities but drifts inland
  • 11(construction of) office building,large halls and guest houses是什麼意思、英文翻譯及中文解釋
  • 12沙特從全球資產管理大舉撤資 Saudis pull billions out of global asset managers to fund deficit
  • 13analysis of production and allocation of products是什麼意思、英文翻譯及中文解釋大綱
  • 14什麼是什麼?450字
  • 15analysis of production and allocation of products是什麼意思、英文翻譯及中文解釋
  • 16宏是什麼-什麼是宏
  • 17build complete,self sufficient economies of their own是什麼意思、英文翻譯及中文解釋
  • 18蕭邦聯席總裁薛佛樂的家 Chopard's Caroline Scheufele on its use of ethically sourced gol
  • 19act of pooling public deposits in disguised form是什麼意思、英文翻譯及中文解釋
  • 20additional allocations of circulating funds是什麼意思、英文翻譯及中文解釋