: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 1:17 PM
To: CF-Talk
Subject: RE: Quick question on custom tags
Actually, you can..
cfmodule template=whatever
blah blah
/cfmodule
Works well.
On Thu, 30 May 2002, Rob Baxter wrote:
One problem
Are there any internal implemenation details which make
cfmodule faster than the cf_ syntax, or was this what you
were refering to? Just curious...
CFMODULE naturally runs faster than CF_, it's to do with the way it's
calling the custom tag
There are general issues with using CF_ and the
question on custom tags
Are there any internal implemenation details which make
cfmodule faster than the cf_ syntax, or was this what you
were refering to? Just curious...
CFMODULE naturally runs faster than CF_, it's to do with the way it's
calling the custom tag
There are general issues
:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 6:26 AM
To: CF-Talk
Subject: RE: Quick question on custom tags
Are there any internal implemenation details which make
cfmodule faster than the cf_ syntax, or was this what you
were refering to? Just curious...
CFMODULE naturally runs
(was: Quick question on custom tags)
Phillip,
I'm not sure what you mean by naturally faster due to the way it's calling
the custom tag. Anyway, I got curious about this and rigged up a very
simple test. I wrote a simple custom tag which just displays the current
time. The tag file is located
-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 1:25 PM
To: CF-Talk
Subject: RE: cf_ vs cfmodule (was: Quick question on custom tags)
Can I ask, which version of the server this is? In CF4 and 4.5, I know
it's true, not done extensive
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|1 tag calls:
|CF_ = 15262 ms
|CFMODULE = 20509 ms
ok compare that to a UDF function or just including the the file as an
cfinclude and
you will see why OO is nice but plain old linear code is fast
lots of overhead with cfmodule
z
-BEGIN
, 2002 1:40 PM
To: CF-Talk
Subject: Re: cf_ vs cfmodule (was: Quick question on custom tags)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|1 tag calls:
|CF_ = 15262 ms
|CFMODULE = 20509 ms
ok compare that to a UDF function or just including the the file as an
cfinclude and
you will see why OO
:
10,000 calls in 1833 ms, or about 9 times as fast as cfmodule!
/rob
-Original Message-
From: Zac Spitzer [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 1:40 PM
To: CF-Talk
Subject: Re: cf_ vs cfmodule (was: Quick question on custom tags)
-BEGIN PGP SIGNED MESSAGE-
Hash
the udf was cfincluded within the timed block but outside of the loop.
/rob
-Original Message-
From: Won Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 2:52 PM
To: CF-Talk
Subject: RE: cf_ vs cfmodule (was: Quick question on custom tags)
How did you call the UDF
Can I ask, which version of the server this is? In CF4 and 4.5, I
know
it's true, not done extensive (only simple) testing on 5 and
not touched MX for this yet
Testing was done on W2K Pro/IIS/CF5.
OK, here's something VERY strange
I tested it on 4 servers, each different hardware,
If I'm reading this correctly, the ones where CF_ is slower is on Website
Pro.
OT: Is Website Pro even supported? What's the big hoopla about it? I
keep hearing about it, but ... I didn't see anything different than just
running Apache, etc.
~Todd
On Fri, 31 May 2002, Philip Arnold -
If I'm reading this correctly, the ones where CF_ is slower
is on Website Pro.
Not all the time - the 4.5 one is faster on WSP, but since it's CF doing
the work, how can WSP effect it?
OT: Is Website Pro even supported? What's the big hoopla about it? I
keep hearing about it, but ... I
Not all the time - the 4.5 one is faster on WSP, but since it's CF doing
the work, how can WSP effect it?
Depends if there's a bottle neck between WSP / CF doesn't it? Just
curious.
__
This list and all House of Fusion
Is it possible to call a custom tag that resides in a folder other than
the current folder.
I am using cf_cf_formurl2attributes but I would like to have one copy
residing in a commonfiles folder at root.
This would take something like ../cf_cf_formurl2attributes right? It
doesn't seem to work.
cfmodule template=../customtags/formurl2attributes.cfm
attribute=...
/cfmodule
Hope that helps!
Paul Giesenhagen
QuillDesign
- Original Message -
From: Brian Eckerman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 30, 2002 10:05 AM
Subject: Quick question
Unless it's in the global custom tags directory, no.
The only other way is to call it via CFMODULE tag.
On Thu, 30 May 2002, Brian Eckerman wrote:
Is it possible to call a custom tag that resides in a folder other than
the current folder.
I am using cf_cf_formurl2attributes but I would
- Original Message -
From: Brian Eckerman
To: CF-Talk
Sent: Thursday, May 30, 2002 11:05 AM
Subject: Quick question on custom tags
Is it possible to call a custom tag that resides in a folder other than
the current folder.
I am using cf_cf_formurl2attributes but I
Put it in your custom tags directory on your server or use cfmodule.
-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:05 AM
To: CF-Talk
Subject: Quick question on custom tags
Is it possible to call a custom tag that resides in a folder
Is it possible to call a custom tag that resides in a folder
other than
the current folder.
I am using cf_cf_formurl2attributes but I would like to
have one copy
residing in a commonfiles folder at root.
This would take something like ../cf_cf_formurl2attributes
right? It doesn't seem
cfmodule template=
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org
-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:05 AM
To: CF-Talk
Subject: Quick question on custom tags
Is it possible to call
Use cfmodule to call it.Regards,
Eric J. Hoffman
Director of Internet Development
DataStream Connexion, LLC
(formerly Small Dog Design)
-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 10:05 AM
To: CF-Talk
Subject: Quick question on custom
:12 AM
To: CF-Talk
Subject: RE: Quick question on custom tags
cfmodule template=
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org
-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:05 AM
To: CF-Talk
Subject
Brian,
I am using cf_cf_formurl2attributes but I would like to have one copy
residing in a commonfiles folder at root.
This would take something like ../cf_cf_formurl2attributes right? It
doesn't seem to work.
If you've only got one copy of the tag in your custom tags directory,
of the server logs).
/rob
-Original Message-
From: Eric J Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:14 AM
To: CF-Talk
Subject: RE: Quick question on custom tags
Use cfmodule to call it.Regards,
Eric J. Hoffman
Director of Internet Development
DataStream Connexion, LLC
If you have more than one copy then cfmodule
name=commonfiles.formurl2attributes will do the trick...
Whoops... meant to say...
where commonfiles is the directory under CustomTags where the file
formurl2attributes.cfm lives.
You can have multiple levels of directories by adding them with
Tel: +32 2 639 68 70
Fax: +32 2 639 68 99
Email: [EMAIL PROTECTED]
Web: www.lrt.be
-Original Message-
From: Rob Baxter [mailto:[EMAIL PROTECTED]]
Sent: donderdag 30 mei 2002 17:47
To: CF-Talk
Subject: RE: Quick question on custom tags
One problem with cfmodule is that you cannot take
Subject: RE: Quick question on custom tags
This is not true. You can perfectly use the ThisTag scope with cfmodule.
In fact, I do it all the time. You have to be carefull with nesting
cfmodules.
Pascal Peters
Certified ColdFusion Advanced Developer
Macromedia Certified Instructor
LR Technologies
PROTECTED]]
Sent: Thursday, May 30, 2002 11:14 AM
To: CF-Talk
Subject: RE: Quick question on custom tags
Use cfmodule to call it.Regards,
Eric J. Hoffman
Director of Internet Development
DataStream Connexion, LLC
(formerly Small Dog Design)
-Original Message-
From: Brian Eckerman
you're right, I just poorly phrased my answer. What I meant
was that you lose the ability to take action between the start
and end execution modes. Because I don't think when you call
cfmodule there is an end execution mode.
That's not correct either, though. You have an end execution
Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 12:27 PM
To: CF-Talk
Subject: Re: Quick question on custom tags
Rob,
You are incorrect, you can use the start stop ... cfmodule template =
../modules/custom_tag.cfmBlah Blah /cfmodule works just fine with the
execution modes.
Paul
What happens if in my custom tag I call another cfmodule
/cfmodule? Will the parser barf?
The only situation where you might have a problem is when you convert
something like this to CFMODULE:
cf_foo
cf_bar
/cf_foo
Of course, if you do this:
cfmodule template=foo.cfm
cfmodule
Ah, thanks guys. I wasn't aware you could have /cfmodule
tag. Good to know.
One question, and maybe this is what Pascal meant in his
original reply.
What happens if in my custom tag I call another cfmodule
/cfmodule?
Will the parser barf?
Nah, it works happily - in fact, CFMODULE is
: Quick question on custom tags
Use cfmodule to call it.Regards,
Eric J. Hoffman
Director of Internet Development
DataStream Connexion, LLC
(formerly Small Dog Design)
-Original Message-
From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 10:05 AM
.
/rob
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:57 AM
To: CF-Talk
Subject: RE: Quick question on custom tags
This is not true. You can perfectly use the ThisTag scope with cfmodule.
In fact, I do it all the time. You have
To: CF-Talk
Subject: RE: Quick question on custom tags
Nah, it works happily - in fact, CFMODULE is faster than CF_ so it
should work better for you
Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911
question on custom tags
Nah, it works happily - in fact, CFMODULE is faster than CF_ so it
should work better for you
Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911
www.aspmedia.co.uk
37 matches
Mail list logo