ASP
  Home arrow ASP arrow Page 4 - New Technologies and What They Mean To You...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP

New Technologies and What They Mean To You: Part 2
By: Jeremy Wright
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2002-10-09

    Table of Contents:
  • New Technologies and What They Mean To You: Part 2
  • PHP
  • ASP
  • ColdFusion
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    New Technologies and What They Mean To You: Part 2 - ColdFusion


    (Page 4 of 5 )

    Definition
    A web application server that provides powerful scripting and databasing capabilities. ColdFusion was launched in 1995 by Allaire Corporation, and was the first web application server available for Windows NT. Amongst other things, it is able to interact with databases, track web page users, upload files to the web server, send email, and perform logical processing of data on the server.

    ColdFusion is distinguished from other popular web application servers because its actions are programmed using a simple tag-based scripting language called ColdFusion Markup Language (CFML).

    Macromedia purchased the Allaire Corporation in early 2001, and added ColdFusion to their line of server products. It is a prime candidate for even tighter integration with Macromedia's industry-leading development software (Dreamweaver, Flash etc), making it a smart choice for any web developer.

    What It Really Is
    According to the documentation, the ColdFusion product consists of four components:
    • ColdFusion Server
    • ColdFusion Markup Language
    • ColdFusion Studio
    • ColdFusion Administrator
    The key parts of ColdFusion are really ColdFusion server and CFML.

    CFML is a scripting language designed specifically for use by web developers. It is almost unique in that it is tag-based. This makes it easier for developers -- used to working in tag-based HTML -- to learn. Because it is specifically targeted at web development, it also encapsulates common web functions (such as connecting to a database) in single, easy to use CFML tags. The same functions might require several lines of code using a competing technology such as PHP or ASP.

    CFML, as implemented in ColdFusion 5, includes over 75 tags and over 240 built­in functions. It also allows developers to extend the language by creating their own custom tags or user­defined functions (UDF), or by integrating COM, C++, and Java components.

    The ease with which CFML can be learned, and the simple but effective code that can be written with it, are often cited as the killer reasons to use ColdFusion over competing technologies. In general, ColdFusion applications can be written in less time, and often by developers with less programming experience.

    CFML code is written directly into pages on the web server, along with any HTML that may be required on that page. Each page, rather than being a normal web page, is now a ColdFusion page (or "ColdFusion Template" as Macromedia calls them). These pages are given a .cfm or .cfml file extension (rather than the typical .htm or .html extension for a normal HTML web page).

    Advantages
    • Simple to learn and use, fast application development time
    • Cross-platform - currently supported on Solaris, Linux, Windows, HP-UX with code compatibility between platforms
    • Comprehensive feature set - including built in graphing and charting functions, and Verity search engine
    • Scales well to heavy loads
    • Well supported by authoring tools
    • Well documented
    Disadvantages
    • ColdFusion's core features are extensive, simple and effective. But extending its features can involve added complexity
    • Costs more than competing platforms. A freeware version is available, but it is feature limited
    Examples
    The following code retrieves values from the tblMyTable.Word field in a database called myDataSource. It then outputs them all to a bulleted list on the same page.

    Retrieve values from database, output as bullet list:

    <!--- retrieve the records --
    ><cfquery name="myQuery" datasource="myDataSource" dbtype="ODBC">
    SELECT Word
    FROM tblMyTable
    ORDER BY Word
    </cfquery>

    <!--- output the records ---><ul>
    <cfoutput query="myQuery">
    <li>#myQuery.Word#</li>
    </cfoutput>
    </ul>


    Links to Related Resources

    Macromedia ColdFusion Homepage

    Homepage of Ben Forta - ColdFusion Product Evangelist

    CFM-Resources - good resource site that also offers free ColdFusion hosting

    More ASP Articles
    More By Jeremy Wright


     

    ASP ARTICLES

    - Central Scoreboard with Flash and ASP
    - Calorie Counter Using WAP and ASP
    - Creating PGP-Encrypted E-Mails Using ASP
    - Be My Guest in ASP
    - Session Replacement in ASP
    - Securing ASP Data Access Credentials Using t...
    - The Not So Ordinary Address Book
    - Adding and Displaying Data Easily via ASP an...
    - Sending Email From a Form in ASP
    - Adding Member Services in ASP
    - Removing Unconfirmed Members
    - Trapping HTTP 500.100 - Internal Server Error
    - So Many Rows, So Little Time! - Case Study
    - XDO: An XML Engine Class for Classic ASP
    - Credit Card Fraud Prevention Using ASP and C...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway