魔方网-培训咨询服务平台

全國統一學習專線 8:30-21:00
位置:魔方網 > 外語類 > 提升英語 > 什么是ColdFusion  正文

什么是ColdFusion

2023-02-10 16:14:01來源:魔方格

在生活中,很多人都不知道什么是ColdFusion是什么意思,其實他的意思是非常簡單的,下面就是小編搜索到的什么是ColdFusion相關的一些知識,我們一起來學習下吧!


(相關資料圖)

  ColdFusion(直譯:冷聚變),是一個動態Web服務器,其CFML(ColdFusionMarkupLanguage)是一種程序設計語言,類似現在的JavaServerPage里的JSTL(JSPStandardTagLib),從1995年開始開發,其設計思想被一些人認為非常先進,被一些語言所借鑒。接下來小編為大家整理了什么是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 .NET 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 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 ASP.NET. The compiled .class 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 (.cfm). 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/Component.cfc?wsdl. 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/Component.cfc?method=search&query=your 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 .NET 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 .NET 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 .cfm or .cfml. The .cfc 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 .NET, simply because ColdFusion will run on top of a .NET 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 .NET app server.

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

同類文章
主站蜘蛛池模板: 礼至家居-全屋定制家具_一站式全屋整装_免费量房设计报价 | 智慧物联网行业一站式解决方案提供商-北京东成基业 | 合肥礼品公司-合肥礼品定制-商务礼品定制公司-安徽柏榽商贸有限公司 | 中国品牌门窗网_中国十大门窗品牌_著名门窗品牌 | 导电银胶_LED封装导电银胶_半导体封装导电胶厂家-上海腾烁 | 不锈钢轴流风机,不锈钢电机-许昌光维防爆电机有限公司(原许昌光维特种电机技术有限公司) | 众能联合-提供高空车_升降机_吊车_挖机等一站工程设备租赁 | 罐体电伴热工程-消防管道电伴热带厂家-山东沃安电气 | 求是网 - 思想建党 理论强党 | 纳米涂料品牌 防雾抗污纳米陶瓷涂料厂家_虹瓷科技 | 气动隔膜泵厂家-温州永嘉定远泵阀有限公司| 东莞市超赞电子科技有限公司 全系列直插/贴片铝电解电容,电解电容,电容器 | 玻璃瓶厂家_酱菜瓶厂家_饮料瓶厂家_酒瓶厂家_玻璃杯厂家_徐州东明玻璃制品有限公司 | 螺旋压榨机-刮泥机-潜水搅拌机-电动泥斗-潜水推流器-南京格林兰环保设备有限公司 | 铝合金线槽_铝型材加工_空调挡水板厂家-江阴炜福金属制品有限公司 | 山东成考网-山东成人高考网| 食品质构分析仪-氧化诱导分析仪-瞬态法导热系数仪|热冰百科 | 好看的韩国漫画_韩漫在线免费阅读-汗汗漫画 | 分子蒸馏设备(短程分子蒸馏装置)_上海达丰仪器 | 烟台条码打印机_烟台条码扫描器_烟台碳带_烟台数据采集终端_烟台斑马打印机-金鹏电子-金鹏电子 | 识禅_对禅的了解,从这里开始| 污水/卧式/潜水/钻井/矿用/大型/小型/泥浆泵,价格,参数,型号,厂家 - 安平县鼎千泵业制造厂 | 无线遥控更衣吊篮_IC卡更衣吊篮_电动更衣吊篮配件_煤矿更衣吊篮-力得电子 | 防弹玻璃厂家_防爆炸玻璃_电磁屏蔽玻璃-四川大硅特玻科技有限公司 | 聚合氯化铝_喷雾聚氯化铝_聚合氯化铝铁厂家_郑州亿升化工有限公司 | 废气处理设备-工业除尘器-RTO-RCO-蓄热式焚烧炉厂家-江苏天达环保设备有限公司 | 列管冷凝器,刮板蒸发器,外盘管反应釜厂家-无锡曼旺化工设备有限公司 | 不锈钢酒柜|恒温酒柜|酒柜定制|酒窖定制-上海啸瑞实业有限公司 | 合肥活动房_安徽活动板房_集成打包箱房厂家-安徽玉强钢结构集成房屋有限公司 | 重庆轻质隔墙板-重庆安吉升科技有限公司 | B2B网站_B2B免费发布信息网站_B2B企业贸易平台 - 企资网 | 搬运设备、起重设备、吊装设备—『龙海起重成套设备』 | 电表箱-浙江迈峰电力设备有限公司-电表箱专业制造商 | 作文导航网_作文之家_满分作文_优秀作文_作文大全_作文素材_最新作文分享发布平台 | 有机肥设备生产制造厂家,BB掺混肥搅拌机、复合肥设备生产线,有机肥料全部加工设备多少钱,对辊挤压造粒机,有机肥造粒设备 -- 郑州程翔重工机械有限公司 | 北京征地律师,征地拆迁律师,专业拆迁律师,北京拆迁律师,征地纠纷律师,征地诉讼律师,征地拆迁补偿,拆迁律师 - 北京凯诺律师事务所 | 广州云仓代发-昊哥云仓专业电商仓储托管外包代发货服务 | 玻纤土工格栅_钢塑格栅_PP焊接_单双向塑料土工格栅_复合防裂布厂家_山东大庚工程材料科技有限公司 | 整车VOC采样环境舱-甲醛VOC预处理舱-多舱法VOC检测环境仓-上海科绿特科技仪器有限公司 | 罗茨真空机组,立式无油往复真空泵,2BV水环真空泵-力侨真空科技 | RFID电子标签厂家-上海尼太普电子有限公司 |