Programming Reference Sheets: ColdFusion

admin

Administrator
Staff member
Here's a first look at the ColdFusion reference sheet. It's based on CF7... take a look and provide feedback please and thank you.
</div>
<br /><br /><b><span class="edit">Attached File(s)</span></b><br /><a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Attach&type=post&id=3360" title="Download attachment" target="_blank"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/folder_mime_types/pdf.gif" alt="Attached File" /></a>
 <a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Attach&type=post&id=3360" title="Download attachment" target="_blank">coldfusion_reference_sheet.pdf</a> ( 973.2k )
<span class="desc">Number of downloads: 46</span><br /><a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Attach&type=post&id=3361" title="Download attachment" target="_blank"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/folder_mime_types/txt.gif" alt="Attached File" /></a>
 <a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Attach&type=post&id=3361" title="Download attachment" target="_blank">cf_reference_sheet.txt</a> ( 2.74k )
<span class="desc">Number of downloads: 43</span><br />

<!-- THE POST -->
</td>
</tr>


<tr>
<td class="formbuttonrow" nowrap="nowrap">
<div style='text-align:left'><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_offline.gif" border='0' alt='User is offline' /><a href="http://www.dreamincode.net/forums/javascript:popUp('http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Profile&CODE=showcard&MID=34','AddressCard','600','300','0','1','1','1')" title="Show Contact Card"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_card.gif" border='0' alt='Profile Card' /></a><a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Msg&CODE=04&MID=34"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_pm.gif" border='0' alt='PM' /></a><!--<a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Mail&CODE=00&MID=34"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_email.gif" border='0' alt='Email Poster' /></a>--></div>
</td>
<td class="formbuttonrow" nowrap="nowrap">
<!-- PM / EMAIL / WWW / MSGR -->
<div style="float: left;">
<br>
<a href="http://www.dreamincode.net/forums/javascript:scroll(0,0);"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_up.gif" border='0' alt='Go to the top of the page' /></a>
</div>
<!-- REPORT / UP -->
<div align="right">

<div align="right" style="padding: 5px;"><img src="http://www.dreamincode.net/home/images/thumbsup.gif" border="0">  <a href="http://www.dreamincode.net/?p=thanks&pid=169091" rel="nofollow"><b>This Post Was Helpful!</b></a> <sup><span style="color:red; font-size: 10px;">New!</span></sup></div>


<a href="http://www.dreamincode.net/forums/#" onclick="multiquote_add(169091); return false;" title="Toggle multiquote addition"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_mq_add.gif" name="mad_169091" alt="+" /></a><a href="http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=Post&CODE=02&f=62&t=18242&qpid=169091" title="Reply directly to this post"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_quote.gif" border='0' alt='Quote Post' /></a>
</div>

</td>
</tr>

</table>

<script type='text/javascript'>
//<![CDATA[
if ( ajax_loaded && use_enhanced_js )
{
menu_build_menu( 'edit-but-169091',
new Array( img_item + " <a title='Full edit screen with all options' href='http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&act=post&do=edit_post&f=62&t=18242&p=169091&st='>Full Edit</a>",
img_item + " <a href='http://www.dreamincode.net/forums/#' title='Edit this post in place with basic options' onclick='return ajax_prep_for_edit(169091, event);'>Quick Edit</a>" ) );
}
//]]>
</script>
<br/><div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-9822709549810875";
/* 468x60, created 5/9/08 */
google_ad_slot = "0893566886";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<br><!--Begin Msg Number 169121-->


<table class='ipbtable' cellspacing="1" style="border: 1px #CCCCCC solid;">
<tr>
<td valign="middle" class="row2" width="1%"><a name="entry169121"></a><span class="normalname"><a href='http://www.dreamincode.net/forums/index.php?s=0596a8e93c364a23b9fa8a89e747bd0b&showuser=3564'>El Jefe</a></span></td>
<td class="row2" valign="top" width="99%">
<!-- POSTED DATE DIV -->
<div style="float: left;">
<span class="postdetails"> <img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/to_post_off.gif" alt='post' border='0' style='padding-bottom:2px' /> 31 Aug, 2006 - 02:59 PM</span>
</div>
<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
<div align="right">
<span class="postdetails"> Post
<a title="Show the link to this post" href="http://www.dreamincode.net/forums/#" onclick="link_to_post(169121); return false;">#2</a></span>
</div>
</td>
</tr>
<tr>
<td valign="top" class="post1">
<span class="postdetails">
<br /><br />
D.I.C Head<br /><br />
<img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/pip.gif" border='0' alt='*' /><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/pip.gif" border='0' alt='*' /><br />
<!--Group: Members<br />-->
Joined: 11 Jan, 2005<br />
Posts: 67
</span><br /> <img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/spacer.gif" alt="" width="100" height="1" />

</td>
<td width="100%" valign="top" class="post1" id='post-main-169121'>
<!-- THE POST 169121 -->
<div class="postcolor" id='post-169121'>


<!--quoteo(post=169091:date=31 Aug, 2006 - 09:11 AM:name=skyhawk133)--><div class='quotetop'>QUOTE(skyhawk133 @ 31 Aug, 2006 - 09:11 AM) <a href="http://www.dreamincode.net/forums/index.php?act=findpost&pid=169091"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/post_snapback.gif" alt='*' border='0' /></a></div><div class='quotemain'><!--quotec--><br />Here's a first look at the ColdFusion reference sheet. It's based on CF7... take a look and provide feedback please and thank you.<br /><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br /><br />under Variable Declaration: a variable could be declared using <cfparam> <br /><br /><cflocation> with <cfinclude><br /><br />you could add for & do/while loops done within <cfscript> although not real common.<br /> <br /><cfoutput query=""> to loop<br />under loops; collection loop..not real common.<br /><br />You need to change the below:<br /><cfquery <br /> name = "query_name"<br /> dataSource = "ds_name"<br /> dbtype = "query"><br /> SQL statement(s)<br /></cfquery><br /><br />...dbtype="query" will error in MX7 if you use datasource. I would leave dbtype out.<br /><br />add <cfmail><br /><br />you might add some mathematical/number functions and valuelist()<br /><br />error handling ??? I teach folks to use <cftry> <cfcatch> <cfmail> together so that they (the developer) receive the error message immediately. Very basic.<br /><br />add <cfargument> to <cffunction> stuff<br /><br /> <img src="http://static.dreamincode.net/forums/style_emoticons/default/pirate.gif" style="vertical-align:middle" emoid=":pirate:" border="0" alt="pirate.gif" />
</div>
 
Top