[thelist] Looking for a simple CF-based catalog/shopping cart

Aaron Johnson ajohnson at mindseye.com
Mon Dec 10 23:10:51 CST 2001


> so, in my opinion, custom tags and other performance sapping conventions
> aren't a concern if your site is either by itself on a machine
> you maintain
	-- right on... that's the exact mind set I'm coming from too, I've only
worked on CF sites that have their own box for the last 2 years.. so maybe
I'm out of touch w/ how the shared hosting situation looks...


>> doing your part to make sure it doesn't have any stability.
	-- I'd disagree that using custom tags causes any instability w/ CF
server... sure it might take 10-20 more milliseconds to execute, but that
doesn't hang the server, sending out 20,000 emails via cfmail might hang the
server... not using CFlock when using session/server/application vars might
hang the server, but using custom tags will not hang a server.


<tip type="ColdFusion">
Need your custom tag to access variables set in the template you're using to
call a custom tag?  Use the "caller" scope.
</tip>

<tip type="ColdFusion">
Performance weenie?  Scope all your variables... using variables.foo will be
faster than using foo

Example: <cfset foo = "var">  When using the variable foo later in your
script, CF will take longer to find the variable foo than if you had
originally scoped your variable like so: <cfset variables.foo = "var">
</tip>

<tip type="ColdFusion">
Considering ColdFusion as a development platform but don't know how it'll
integrate with the rest of your enterprise?  Did you know that Neo, the next
version of CF, can be deployed on top of Java application servers such as
IBM WebSphere, BEA WebLogic and Macromedia JRun
</tip>

AJ





More information about the thelist mailing list