Adobe Dreamweaver Forums



Last 10 THreads :         Do you use Java Faces with Flex? (Last Post : SujitG - Replies : 1 - Views : 2 )           »          textinput highlight problem (Last Post : SujitG - Replies : 1 - Views : 2 )           »          flex version (Last Post : SujitG - Replies : 1 - Views : 2 )           »          Rate My Site Please (Last Post : malcster2 - Replies : 3 - Views : 4 )           »          WebHelp Compile Won't Display (Last Post : Colum McAndrew - Replies : 20 - Views : 21 )           »          Placing an image in each column in ColumnChart (Last Post : SujitG - Replies : 1 - Views : 2 )           »          AdvancedDataGrid Select All Rows (Last Post : Milo[HUN] - Replies : 1 - Views : 35 )           »          rollover problem in Gallery button (Last Post : johndalejkx1 - Replies : 0 - Views : 1 )           »          x and y into Latitude and longitdue (Last Post : Ayush.Jain - Replies : 10 - Views : 11 )           »          Site Map problem (Last Post : Kcheval - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-01-2008, 03:56 AM
codism
 
Posts: n/a
Diggs:
Default cfoutput abuse

I have a question abt the overuse of cfoutput tags. For example will the code
in Sample 1 run faster than that in Sample2. Specifically can someone throw a
light on the differences in the class files which will be generated for the
below samples.
Thanks a lot.

Sample1:
<cfoutput>
<input type="text" value="#x#">
<input type="text" value="#y#">
<input type="text" value="#z#">
</cfoutput>

Sample2:
<input type="text" value="<cfoutput>#x#</cfoutput>">
<input type="text" value="<cfoutput>#y#</cfoutput>">
<input type="text" value="<cfoutput>#z#</cfoutput>">




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: cfoutput abuse

If you loosely interprete cfoutput as a function then Sample2 contains three
function calls, and Sample1 one function call. However, if you want to start
comparing speeds, then you will need strings that are much, much longer.



Reply With Quote
  #3 (permalink)  
Old 10-01-2008, 03:56 AM
BKBK
 
Posts: n/a
Diggs:
Default Re: cfoutput abuse

If you loosely interprete cfoutput as a function then Sample2 contains three
function calls, and Sample1 one function call. However, if you want to start
comparing speeds, then you will need strings that are much, much longer.



Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk