If you can do everything you need in cfscript, it's much more readable
IMHO. However the functionality gap between cfscript and cf tags
negates this to some degreee. In my experience switching back and forth
between tags and cfscript has yielded some very awkward code. I've
almost completely
If you can do everything you need in cfscript, it's much more readable
IMHO. However the functionality gap between cfscript and cf tags
negates this to some degreee. In my experience switching back and forth
between tags and cfscript has yielded some very awkward code. I've
almost completely
I agree completely on the readability issue.In my application.cfm
file, I try to use cfscript blocks as much as possible, mainly to keep
code both compact and readable.I do the same thing on pages where I
need to set more than one or two variables.cfscript blocks are also
easier to find when
Just a note on this: the bug is basically that you never see
value of 1-9 - only 0, 10 or more than 10. (and I think it's
actually an OS problem on Windows, not a CF issue - can any
Linux/Unix user confirm the bug on their platform?)
According to the MM guy who explained this problem to
Tags (was Re: ColdFusion Coding Contest)
If you can do everything you need in cfscript, it's much more readable
IMHO. However the functionality gap between cfscript and cf tags
negates this to some degreee. In my experience switching back and forth
between tags and cfscript has yielded some very
It's been my experience that using CFSCRIPT never provided any significant
performance increase in any case.
I disagree.
My tests:
the function queryRandomize() from DRK 4 (or was it 5?), I rewrote it,
line-by-line (including comments!) and called it queryRandomizeCFML().
100,000
That's very strange. While I did find some big differences in CFSCRIPT vs.
CFTAGS in earlier versions of CF, I have not seen such in CFMX. I'm going to
rerun my tests in the latest version to see how they run and also look at the
class files.
A perfect example of a change is that CFIF vs. IIF() in
It's been my experience that using CFSCRIPT never provided
any significant performance increase in any case.
I disagree.
My tests:
the function queryRandomize() from DRK 4 (or was it 5?), I
rewrote it, line-by-line (including comments!) and called it
queryRandomizeCFML().
Third, you're pointing out an approximate difference of three milliseconds
per request, which is practically immeasurable by CF (if I recall correctly,
CF can't accurately handle time increments smaller than 10 milliseconds). I
would question whether that's a significant performance increase,
From: Michael Dinowitz
That's very strange. While I did find some big differences in
CFSCRIPT vs. CFTAGS in earlier versions of CF, I have not
seen such in CFMX. I'm going to rerun my tests in the latest
version to see how they run and also look at the class files.
A perfect example of
10 matches
Mail list logo