SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Resource

Introduction to ColdFusion Express for ASP Developers

Categories...
Language
VBScript
Product
ColdFusion, IIS
Server User Group
Active Server Pages
Task
Database Interface, Site Design
Technology
Server Scripting

Sponsored Links
Developer's Paradise : Inside Technique :
Introduction to ColdFusion Express for ASP Developers
Submission by SiteExperts Staff

Go to the resource:
Introduction to ColdFusion Express for ASP Developers

Add to Assistant

Short Description
We learn and compare programming ColdFusion to ASP by creating a simple Guest Book Application.

Long Description
ColdFusion has a powerful language for creating server-side web applications. Join us as we learn and compare programming ColdFusion to ASP by creating a simple Guest Book Application.

Author
Scott Isaacs
Date/ Version
12/22/1999
Submission URL
http://www.SiteExperts.com/tips/backend/ts16/page1.asp
Submission Date
Dec 22,1999
Last Update
Dec 22,1999
Related To
Products
 

Discussion and Rate this Resource
Overall Rating: 4.7

gpupurs on Dec 23, 1999 at 8:48:56 AMRating: 4

Good article...  It's also useful for those going from CF to ASP.  One thing you didn't mention (which is more important if people are unfamiliar with ASP) is the shortcut notation for Response.Write.  Instead of

Response.Write ("Welcome to " & website)

it's often easier (and more like CF) to write

Welcome to <%=website%>

This can be handy if you've got a lot of HTML to write out and don't want to quote and ampersand the whole thing.  IMHO, the following (adapted from a chunk of the article's code) is a bit easier to code, read, and update to more complex HTML.

while not oRS.eof
  ' Output individual guest
  %>
  <P><B><%= oRS("name") %></B><BR>
  <%= oRS("comment") %><BR>
  <%=oRS("date") %></P>
  <%
  oRS.movenext 
wend

It is a bit unorthodox, though, breaking up the ASP code with an HTML block...

Most Recent Ratings/ Comments


To rate and comment on a resource, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password

Copyright © 1997-2008 InsideDHTML.com, LLC. All rights reserved.