Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Nope.

Aaron Rouse wrote:
> Did they start the page off with:
>  
>  I have worked on peoples code that always start with that and wrap things 
> like you described. Best I can tell they did it in an attempt to save on 
> white space.
> 
>  On 9/8/05, Ray Champagne <[EMAIL PROTECTED]> wrote: 
> 
>>That makes sense. Although, I'm definitely inclined to think this
>>person had no idea of performance issues, since there are lines that
>>look like this:
>>
>>
>>
>>
>>
>>
>>which is obviously just ridiculous, but they are EVERYWHERE. LOL. I
>>know I could get rid of those, just wondering if it would be easier to
>>just eliminate them all and surround the whole block (most are less than
>>100 lines) with one without sacrificing too much.
>>
>>
>>
>>
>>
>>Andy McShane wrote:
>>
>>>I was always led to believe that putting cfoutput tags around a whole 
>>
>>block
>>
>>>of code was slower that only putting the tags around the code that you
>>>wanted output. If I remember correctly it is because the entire code 
>>
>>block
>>
>>>between cfoutput tags has to be parsed and that could mean wasting time 
>>
>>on a
>>
>>>lot of layout code. Not sure if there is a major difference in 
>>
>>performance,
>>
>>>suppose it depends on the amount of code in the block?
>>>
>>>-Original Message-
>>>From: Ray Champagne [mailto:[EMAIL PROTECTED]
>>>Sent: 08 September 2005 18:09
>>>To: CF-Talk
>>>Subject: multiple cfoutputs vs one as a wrapper
>>>
>>>Hey all:
>>>
>>>I'm tasked with the job of reworking someone else's FB CF code, and one
>>>thing that is driving me crazy is that the person who originally wrote
>>>the code dropped in s many cfoutput's that it's really not readable.
>>>Is there a performance benefit for doing this vs just cfoutputting a
>>>whole block of code?
>>>
>>>Ray
>>>
>>>
>>>
>>>
>>>
>>
>>
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217674
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Aaron Rouse
Did they start the page off with:
 
 I have worked on peoples code that always start with that and wrap things 
like you described. Best I can tell they did it in an attempt to save on 
white space.

 On 9/8/05, Ray Champagne <[EMAIL PROTECTED]> wrote: 
> 
> That makes sense. Although, I'm definitely inclined to think this
> person had no idea of performance issues, since there are lines that
> look like this:
> 
> 
> 
> 
> 
> 
> which is obviously just ridiculous, but they are EVERYWHERE. LOL. I
> know I could get rid of those, just wondering if it would be easier to
> just eliminate them all and surround the whole block (most are less than
> 100 lines) with one without sacrificing too much.
> 
> 
> 
> 
> 
> Andy McShane wrote:
> > I was always led to believe that putting cfoutput tags around a whole 
> block
> > of code was slower that only putting the tags around the code that you
> > wanted output. If I remember correctly it is because the entire code 
> block
> > between cfoutput tags has to be parsed and that could mean wasting time 
> on a
> > lot of layout code. Not sure if there is a major difference in 
> performance,
> > suppose it depends on the amount of code in the block?
> >
> > -Original Message-
> > From: Ray Champagne [mailto:[EMAIL PROTECTED]
> > Sent: 08 September 2005 18:09
> > To: CF-Talk
> > Subject: multiple cfoutputs vs one as a wrapper
> >
> > Hey all:
> >
> > I'm tasked with the job of reworking someone else's FB CF code, and one
> > thing that is driving me crazy is that the person who originally wrote
> > the code dropped in s many cfoutput's that it's really not readable.
> > Is there a performance benefit for doing this vs just cfoutputting a
> > whole block of code?
> >
> > Ray
> >
> >
> >
> >
> >
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217673
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
???

wrong topic?  :)

David Livingston wrote:
> Bugzilla is a pretty decent one. I know it integrates with a few of  
> the more popular open source source control programs like CVS and  
> Subversion.
> http://www.bugzilla.org/features/
> Might be worth looking into.
> 
> Dave
> 
> On Sep 8, 2005, at 12:09 PM, Ray Champagne wrote:
> 
> 
>>Hey all:
>>
>>I'm tasked with the job of reworking someone else's FB CF code, and  
>>one
>>thing that is driving me crazy is that the person who originally wrote
>>the code dropped in s many cfoutput's that it's really not  
>>readable.
>>  Is there a performance benefit for doing this vs just cfoutputting a
>>whole block of code?
>>
>>Ray
>>
>>
>>
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217657
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Hey Josh, no, but good question.  I hadn't thought of that.  But, with 
this code, there'd be no reason that I'd see to use it anyways.

Joshua Cyr wrote:
> Does he have  on that page?Just a
> thought. 
> 
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 08, 2005 1:20 PM
> To: CF-Talk
> Subject: Re: multiple cfoutputs vs one as a wrapper
> 
> That makes sense.  Although, I'm definitely inclined to think this person
> had no idea of performance issues, since there are lines that look like
> this:
> 
> 
>  
>   
> 
> 
> which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I know I
> could get rid of those, just wondering if it would be easier to just
> eliminate them all and surround the whole block (most are less than 100
> lines)  with one without sacrificing too much.
> 
> 
>   
> 
> 
> Andy McShane wrote:
> 
>>I was always led to believe that putting cfoutput tags around a whole 
>>block of code was slower that only putting the tags around the code 
>>that you wanted output. If I remember correctly it is because the 
>>entire code block between cfoutput tags has to be parsed and that 
>>could mean wasting time on a lot of layout code. Not sure if there is 
>>a major difference in performance, suppose it depends on the amount of
> 
> code in the block?
> 
>>-----Original Message-
>>From: Ray Champagne [mailto:[EMAIL PROTECTED]
>>Sent: 08 September 2005 18:09
>>To: CF-Talk
>>Subject: multiple cfoutputs vs one as a wrapper
>>
>>Hey all:
>>
>>I'm tasked with the job of reworking someone else's FB CF code, and 
>>one thing that is driving me crazy is that the person who originally 
>>wrote the code dropped in s many cfoutput's that it's really not
> 
> readable.
> 
>>  Is there a performance benefit for doing this vs just cfoutputting a 
>>whole block of code?
>>
>>Ray
>>
>>
>>
>>
>>
> 
> 
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217656
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Andy McShane
Well, I wasn't aware of that change in CFMX, useful info. :-)

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 18:20
To: CF-Talk
Subject: Re: multiple cfoutputs vs one as a wrapper

That was the case on CF5 and lower, because they did runtime parsing
of the CF, but with CFMX onward, the CF is compiled on the first
request, so the parsing/compiling complexity doesn't have any effect
on subsequent requests.  In other words, having one or many CFOUTPUT
tags only affects the initial compilation, which might make the first
request slightly slower, but once it's compiled, there is no
difference.

cheers,
barneyb

On 9/8/05, Andy McShane <[EMAIL PROTECTED]> wrote:
> I was always led to believe that putting cfoutput tags around a whole
block
> of code was slower that only putting the tags around the code that you
> wanted output. If I remember correctly it is because the entire code block
> between cfoutput tags has to be parsed and that could mean wasting time on
a
> lot of layout code. Not sure if there is a major difference in
performance,
> suppose it depends on the amount of code in the block?
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217655
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread David Livingston
Bugzilla is a pretty decent one. I know it integrates with a few of  
the more popular open source source control programs like CVS and  
Subversion.
http://www.bugzilla.org/features/
Might be worth looking into.

Dave

On Sep 8, 2005, at 12:09 PM, Ray Champagne wrote:

> Hey all:
>
> I'm tasked with the job of reworking someone else's FB CF code, and  
> one
> thing that is driving me crazy is that the person who originally wrote
> the code dropped in s many cfoutput's that it's really not  
> readable.
>   Is there a performance benefit for doing this vs just cfoutputting a
> whole block of code?
>
> Ray
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217652
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Joshua Cyr
Does he have  on that page?Just a
thought. 

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 1:20 PM
To: CF-Talk
Subject: Re: multiple cfoutputs vs one as a wrapper

That makes sense.  Although, I'm definitely inclined to think this person
had no idea of performance issues, since there are lines that look like
this:


   
  


which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I know I
could get rid of those, just wondering if it would be easier to just
eliminate them all and surround the whole block (most are less than 100
lines)  with one without sacrificing too much.





Andy McShane wrote:
> I was always led to believe that putting cfoutput tags around a whole 
> block of code was slower that only putting the tags around the code 
> that you wanted output. If I remember correctly it is because the 
> entire code block between cfoutput tags has to be parsed and that 
> could mean wasting time on a lot of layout code. Not sure if there is 
> a major difference in performance, suppose it depends on the amount of
code in the block?
> 
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED]
> Sent: 08 September 2005 18:09
> To: CF-Talk
> Subject: multiple cfoutputs vs one as a wrapper
> 
> Hey all:
> 
> I'm tasked with the job of reworking someone else's FB CF code, and 
> one thing that is driving me crazy is that the person who originally 
> wrote the code dropped in s many cfoutput's that it's really not
readable.
>   Is there a performance benefit for doing this vs just cfoutputting a 
> whole block of code?
> 
> Ray
> 
> 
> 
> 
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217651
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Bryan Stevenson
Andy...this is old news and only applied prior to CF 5 I believe.

The difference in processing time is quite insignificant (used to be more 
significant)so I weigh that against how much cleaner the code looks and 
is to maintain when using a whole file wrapper (not opening and closing 
everywhere and missing tags by accidentjust ain't worth the hassle).

Hope that helps

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217650
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Thanks BB!  That's exactly what I needed to prove my point.

Barney Boisvert wrote:
> That was the case on CF5 and lower, because they did runtime parsing
> of the CF, but with CFMX onward, the CF is compiled on the first
> request, so the parsing/compiling complexity doesn't have any effect
> on subsequent requests.  In other words, having one or many CFOUTPUT
> tags only affects the initial compilation, which might make the first
> request slightly slower, but once it's compiled, there is no
> difference.
> 
> cheers,
> barneyb
> 
> On 9/8/05, Andy McShane <[EMAIL PROTECTED]> wrote:
> 
>>I was always led to believe that putting cfoutput tags around a whole block
>>of code was slower that only putting the tags around the code that you
>>wanted output. If I remember correctly it is because the entire code block
>>between cfoutput tags has to be parsed and that could mean wasting time on a
>>lot of layout code. Not sure if there is a major difference in performance,
>>suppose it depends on the amount of code in the block?
>>
> 
> 

-- 
=
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217649
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Barney Boisvert
That was the case on CF5 and lower, because they did runtime parsing
of the CF, but with CFMX onward, the CF is compiled on the first
request, so the parsing/compiling complexity doesn't have any effect
on subsequent requests.  In other words, having one or many CFOUTPUT
tags only affects the initial compilation, which might make the first
request slightly slower, but once it's compiled, there is no
difference.

cheers,
barneyb

On 9/8/05, Andy McShane <[EMAIL PROTECTED]> wrote:
> I was always led to believe that putting cfoutput tags around a whole block
> of code was slower that only putting the tags around the code that you
> wanted output. If I remember correctly it is because the entire code block
> between cfoutput tags has to be parsed and that could mean wasting time on a
> lot of layout code. Not sure if there is a major difference in performance,
> suppose it depends on the amount of code in the block?
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217647
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
That makes sense.  Although, I'm definitely inclined to think this 
person had no idea of performance issues, since there are lines that 
look like this:


   
  


which is obviously just ridiculous, but they are EVERYWHERE.  LOL.  I 
know I could get rid of those, just wondering if it would be easier to 
just eliminate them all and surround the whole block (most are less than 
100 lines)  with one without sacrificing too much.





Andy McShane wrote:
> I was always led to believe that putting cfoutput tags around a whole block
> of code was slower that only putting the tags around the code that you
> wanted output. If I remember correctly it is because the entire code block
> between cfoutput tags has to be parsed and that could mean wasting time on a
> lot of layout code. Not sure if there is a major difference in performance,
> suppose it depends on the amount of code in the block?
> 
> -Original Message-
> From: Ray Champagne [mailto:[EMAIL PROTECTED] 
> Sent: 08 September 2005 18:09
> To: CF-Talk
> Subject: multiple cfoutputs vs one as a wrapper
> 
> Hey all:
> 
> I'm tasked with the job of reworking someone else's FB CF code, and one 
> thing that is driving me crazy is that the person who originally wrote 
> the code dropped in s many cfoutput's that it's really not readable. 
>   Is there a performance benefit for doing this vs just cfoutputting a 
> whole block of code?
> 
> Ray
> 
> 
> 
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217646
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Andy McShane
I was always led to believe that putting cfoutput tags around a whole block
of code was slower that only putting the tags around the code that you
wanted output. If I remember correctly it is because the entire code block
between cfoutput tags has to be parsed and that could mean wasting time on a
lot of layout code. Not sure if there is a major difference in performance,
suppose it depends on the amount of code in the block?

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 18:09
To: CF-Talk
Subject: multiple cfoutputs vs one as a wrapper

Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one 
thing that is driving me crazy is that the person who originally wrote 
the code dropped in s many cfoutput's that it's really not readable. 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217643
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


multiple cfoutputs vs one as a wrapper

2005-09-08 Thread Ray Champagne
Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one 
thing that is driving me crazy is that the person who originally wrote 
the code dropped in s many cfoutput's that it's really not readable. 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217641
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54