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

.jeff jeff at members.evolt.org
Tue Dec 11 12:37:23 CST 2001


raymond,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Raymond Camden
>
> > however, i've done sites that sit on virtual servers
> > and they suffer constantly.  they're better if i'm
> > careful how the applications are written, but still a
> > nightmare under any kind of load.
>
> But how do you know that this is custom tags?  If it's a
> virtual server, _any_ kind of code can be on the system
> and there could be multiple reasons why performance is
> suffering.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

agreed.  i wasn't saying that the use of custom tags were the culprit in the
other sites.  all i can talk about is what made a difference in the sites i
was working on.  one of the performance tweaks that made an improvement was
to reduce the use of custom tags.  there are others, but that's the only one
that relates to this thread.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> You've seen custom tags cause memory problems?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

no, that's not what i said.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I'd like to see that myself. I've seen poorly written
> custom tags bring down the server, but bad code
> _anywhere_ will do that. Just the act of calling the
> tag is not going to be abusive to the server.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

not once or twice within the same request, but even a well-written custom
tag that's called inside of a loop and executed many times in a single page
request can cause the page to be executed slower than if the action the
custom tag performed was done directly in the template or an include.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > just don't try to interrogate the variables scope like
> > you would a normal structure -- boo, bad allaire.
>
> Considering "caller. (inside a tag)" == "variables",
> this should not be a surprise. ;)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

uh, i was referring to the variables scope in general.

<cfoutput>
#IsStruct(variables)#
</cfoutput>

you'll get "NO" as the output.

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list