Nice slideshow script?

2010-10-17 Thread Pete Ruckelshaus

I'm looking for suggestions on a nice, elegant, straightforward-to-implement
slideshow script.  I don't want to use cfpresentation for a myriad of
reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?

Thanks

Pete


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Nice slideshow script?

2010-10-17 Thread John M Bliss

Perhaps http://labs.adobe.com/technologies/spry/demos/gallery/ ...?

On Sun, Oct 17, 2010 at 12:32 PM, Pete Ruckelshaus
pruckelsh...@gmail.comwrote:


 I'm looking for suggestions on a nice, elegant,
 straightforward-to-implement
 slideshow script.  I don't want to use cfpresentation for a myriad of
 reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?

 Thanks

 Pete


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfdocument text cuts off at page break

2010-10-17 Thread denstar

On Fri, Oct 15, 2010 at 4:39 AM, James Holmes wrote:

 I'll +1 flying saucer. I've just implemented it using JavaLoader (the
 iText version required clashes with that on CF8) and it works well
 (better than cfdocument).

For some reason I didn't think about this until now, but I'm
relatively sure that there is a patch on the Flying Saucer site that
made it work at least with Railo's built in iText version, perhaps
CF's as well.

I'm pretty sure that these jars:

http://subversion.assembla.com/svn/cfmlprojects/trunk/src/cffspdf/lib/

Have that patch compiled in.

Might want to give it a spin, see if it negates the need of the custom
classloader.

FWIW, if any of you are running Railo, this project is available as an
Extension, installable from the Railo Admin.

:Den

-- 
The most common lie is that which one lies to himself; lying to others
is relatively an exception.
Friedrich Nietzsche

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfif contains

2010-10-17 Thread Rick Sanders

How can I do a cfif contains?

Error I am getting:

You have attempted to dereference a scalar variable of type class
java.lang.String as a structure with members.   


The error occurred in E:\Websites\nscomputers\systembuilder2.cfm: line 6

4 : cfif #Trim(cpu.description)# contains AMD
5 : cfset cpu = AMD
6 : cfif #Trim(cpu.description)# contains AM2   


I hope someone can shed some light on this. thanks!

Rick





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfif contains

2010-10-17 Thread Phillip Vector

1. No need for # inside the cfif. :)

2. You shouldn't need to trim it if you use a contains.

3. You set CPU to a single value of AMD. Therefore, cpu.description
doesn't exist anymore.

On Sun, Oct 17, 2010 at 2:03 PM, Rick Sanders c...@webenergy.ca wrote:

 How can I do a cfif contains?

 Error I am getting:

 You have attempted to dereference a scalar variable of type class
 java.lang.String as a structure with members.


 The error occurred in E:\Websites\nscomputers\systembuilder2.cfm: line 6

 4 : cfif #Trim(cpu.description)# contains AMD
 5 : cfset cpu = AMD
 6 :     cfif #Trim(cpu.description)# contains AM2


 I hope someone can shed some light on this. thanks!

 Rick





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338259
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfif contains

2010-10-17 Thread Rick Sanders

Thanks!

I realized what I did afterwards. Just coping and pasting code isn't the
best way to do things always. I re-coded it and it works great thanks!

Rick

-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com] 
Sent: Sunday, October 17, 2010 6:06 PM
To: cf-talk
Subject: Re: cfif contains


1. No need for # inside the cfif. :)

2. You shouldn't need to trim it if you use a contains.

3. You set CPU to a single value of AMD. Therefore, cpu.description
doesn't exist anymore.

On Sun, Oct 17, 2010 at 2:03 PM, Rick Sanders c...@webenergy.ca wrote:

 How can I do a cfif contains?

 Error I am getting:

 You have attempted to dereference a scalar variable of type class
 java.lang.String as a structure with members.


 The error occurred in E:\Websites\nscomputers\systembuilder2.cfm: line 6

 4 : cfif #Trim(cpu.description)# contains AMD
 5 : cfset cpu = AMD
 6 :     cfif #Trim(cpu.description)# contains AM2


 I hope someone can shed some light on this. thanks!

 Rick





 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Nice slideshow script?

2010-10-17 Thread andy matthews

I always suggest Mike Alsup's Cycle plugin for slideshows. It's simple, easy
to implement, and has lots of options.



andy

-Original Message-
From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] 
Sent: Sunday, October 17, 2010 12:33 PM
To: cf-talk
Subject: Nice slideshow script?


I'm looking for suggestions on a nice, elegant, straightforward-to-implement
slideshow script.  I don't want to use cfpresentation for a myriad of
reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?

Thanks

Pete




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338261
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Nice slideshow script?

2010-10-17 Thread andy matthews

http://malsup.com/jquery/cycle/

-Original Message-
From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] 
Sent: Sunday, October 17, 2010 12:33 PM
To: cf-talk
Subject: Nice slideshow script?


I'm looking for suggestions on a nice, elegant, straightforward-to-implement
slideshow script.  I don't want to use cfpresentation for a myriad of
reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?

Thanks

Pete




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338262
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Dynamically resizing a cfwindow?

2010-10-17 Thread Pete Ruckelshaus

I'd like to be able to dynamically resize a ColdFusion window created with
cfwindow.  I haven't found anything definitive as to whether this is
possible; I did try the following:

[script language=javascript

ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
[/script

(script tags broken intentionally).  This doesn't seem to work.  Is there a
way to do this?

Thanks,

Pete


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338263
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-17 Thread Michael Grant

Just to make sure, do you have that wrapped in cfoutput?

On Sun, Oct 17, 2010 at 9:08 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote:


 I'd like to be able to dynamically resize a ColdFusion window created with
 cfwindow.  I haven't found anything definitive as to whether this is
 possible; I did try the following:

 [script language=javascript


 ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
 [/script

 (script tags broken intentionally).  This doesn't seem to work.  Is there a
 way to do this?

 Thanks,

 Pete


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338264
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-17 Thread Pete Ruckelshaus

Yes, and I'm using imageInfo() to grab the dimensions of the image (the x,y
dimensions in the resizeTo()).

On Sun, Oct 17, 2010 at 9:13 PM, Michael Grant mgr...@modus.bz wrote:


 Just to make sure, do you have that wrapped in cfoutput?

 On Sun, Oct 17, 2010 at 9:08 PM, Pete Ruckelshaus pruckelsh...@gmail.com
 wrote:

 
  I'd like to be able to dynamically resize a ColdFusion window created
 with
  cfwindow.  I haven't found anything definitive as to whether this is
  possible; I did try the following:
 
  [script language=javascript
 
 
 
 ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
  [/script
 
  (script tags broken intentionally).  This doesn't seem to work.  Is there
 a
  way to do this?
 
  Thanks,
 
  Pete
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338265
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Bryn Parrott

Dear All,

I have this algorithm that runs a query or two against a mySQL (5) database on 
a Win 2003 (64Bit) server.  The code loops over the query; assembles some text 
and writes it out to a text file line by line.  Fairly simple really.  There 
are lots of records.

When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give or 
take);
When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.

The PHP code is being executed using cfexecute...

Now to me this kind of performance degradation/difference between PHP and CF is 
unintuive, given that PHP is interpreted; whilst CF is 'compiled'; I expected 
CF to run faster.

This was not my code to begin with however I have gone over it and checked for 
all the usual suspects; memory leaks; var variables and the like.
The CF code is in the form of a cfcomponent, and my execution time observations 
were taken on the second run to take the compilation phase into account.

Now I'm aware that CF 8.0.1 fixed some performance issues relating to CFC 
methods (I think...); but were the issues as severe as I am seeing ?

Anyway, have others any views to offer on why I am seeing such a severe 
performance degradation for CF over PHP and suggest any way in which I might 
tune the CF code/server so that it is more nearly the same or better than the 
PHP.  Sonme might suggest this is difficult since I have deliberately not 
posted the code; however I'm thinking that perhaps you might suggest general 
things I may not have thought of.

Thanks,
Bryn 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Wil Genovese

It's not always ColdFusion that is at issue.  The JVM plays a huge role here. 
What is your JVM version?  Oh, and why not update your version of CF as well?  


Wil Genovese
Sr. Web Application Developer/
Systems Administrator

wilg...@trunkful.com
www.trunkful.com

On Oct 17, 2010, at 10:14 PM, Bryn Parrott wrote:

 
 Dear All,
 
 I have this algorithm that runs a query or two against a mySQL (5) database 
 on a Win 2003 (64Bit) server.  The code loops over the query; assembles some 
 text and writes it out to a text file line by line.  Fairly simple really.  
 There are lots of records.
 
 When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give or 
 take);
 When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.
 
 The PHP code is being executed using cfexecute...
 
 Now to me this kind of performance degradation/difference between PHP and CF 
 is unintuive, given that PHP is interpreted; whilst CF is 'compiled'; I 
 expected CF to run faster.
 
 This was not my code to begin with however I have gone over it and checked 
 for all the usual suspects; memory leaks; var variables and the like.
 The CF code is in the form of a cfcomponent, and my execution time 
 observations were taken on the second run to take the compilation phase into 
 account.
 
 Now I'm aware that CF 8.0.1 fixed some performance issues relating to CFC 
 methods (I think...); but were the issues as severe as I am seeing ?
 
 Anyway, have others any views to offer on why I am seeing such a severe 
 performance degradation for CF over PHP and suggest any way in which I might 
 tune the CF code/server so that it is more nearly the same or better than the 
 PHP.  Sonme might suggest this is difficult since I have deliberately not 
 posted the code; however I'm thinking that perhaps you might suggest general 
 things I may not have thought of.
 
 Thanks,
 Bryn 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Gerald Guido

Just a guess but... If you are doing a lot of string manipulation CF can be
really slow. I don't know about CF 8 as I have not tried parsing large text
strings with it, but earlier versions were abysmal  performance wise when it
came to string manipulation.

As far as CFC's and objects go, I have seen plain old cfquery and cfoutput
run ten+ times faster than doing the same thing by loading a bean with data
and passing it to a DOA or Gateway. Even with CF 8.

Based on my experience, I would imagine that the bottle neck would be in one
of those two places.

Again just a guess.

G!

On Sun, Oct 17, 2010 at 11:14 PM, Bryn Parrott 
bryn_parr...@internode.on.net wrote:


 Dear All,

 I have this algorithm that runs a query or two against a mySQL (5) database
 on a Win 2003 (64Bit) server.  The code loops over the query; assembles some
 text and writes it out to a text file line by line.  Fairly simple really.
  There are lots of records.

 When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give
 or take);
 When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.

 The PHP code is being executed using cfexecute...

 Now to me this kind of performance degradation/difference between PHP and
 CF is unintuive, given that PHP is interpreted; whilst CF is 'compiled'; I
 expected CF to run faster.

 This was not my code to begin with however I have gone over it and checked
 for all the usual suspects; memory leaks; var variables and the like.
 The CF code is in the form of a cfcomponent, and my execution time
 observations were taken on the second run to take the compilation phase into
 account.

 Now I'm aware that CF 8.0.1 fixed some performance issues relating to CFC
 methods (I think...); but were the issues as severe as I am seeing ?

 Anyway, have others any views to offer on why I am seeing such a severe
 performance degradation for CF over PHP and suggest any way in which I might
 tune the CF code/server so that it is more nearly the same or better than
 the PHP.  Sonme might suggest this is difficult since I have deliberately
 not posted the code; however I'm thinking that perhaps you might suggest
 general things I may not have thought of.

 Thanks,
 Bryn

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread James Holmes

If you're appending text line by line to a memory variable, you're
probably having issues relating to java strings being immutable. If
you're appending to a file each time, that's probably slowing you
down.

Try the loop without writing any strings out and see what the
difference is. If that's fast, try a Java class that buffers string or
file output depending on how you want it to work.
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 18 October 2010 11:14, Bryn Parrott bryn_parr...@internode.on.net wrote:

 Dear All,

 I have this algorithm that runs a query or two against a mySQL (5) database 
 on a Win 2003 (64Bit) server.  The code loops over the query; assembles some 
 text and writes it out to a text file line by line.  Fairly simple really.  
 There are lots of records.

 When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give or 
 take);
 When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.

 The PHP code is being executed using cfexecute...

 Now to me this kind of performance degradation/difference between PHP and CF 
 is unintuive, given that PHP is interpreted; whilst CF is 'compiled'; I 
 expected CF to run faster.

 This was not my code to begin with however I have gone over it and checked 
 for all the usual suspects; memory leaks; var variables and the like.
 The CF code is in the form of a cfcomponent, and my execution time 
 observations were taken on the second run to take the compilation phase into 
 account.

 Now I'm aware that CF 8.0.1 fixed some performance issues relating to CFC 
 methods (I think...); but were the issues as severe as I am seeing ?

 Anyway, have others any views to offer on why I am seeing such a severe 
 performance degradation for CF over PHP and suggest any way in which I might 
 tune the CF code/server so that it is more nearly the same or better than the 
 PHP.  Sonme might suggest this is difficult since I have deliberately not 
 posted the code; however I'm thinking that perhaps you might suggest general 
 things I may not have thought of.

 Thanks,
 Bryn

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338269
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Bryn Parrott

 It's not always ColdFusion that is at issue.  The JVM plays a huge 
 role here. What is your JVM version?  Oh, and why not update your 
 version of CF as well?  

Thanks Will...

Initially I saw that the JVM was set to a non-adobe JVM; and so I changed it 
back to the standard ColdFusion8/runtime/jre.  This had the important benefit 
of reducing response time by 3 seconds; but unfortunately this is not enough.

In regards update of CF; I explored this possibility but it turned out that 
unless I can point to important business benefits the client is unlikely to 
want to spend the resource required to regression test all of the various 
applications running on the same server. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338270
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Bryn Parrott

Thanks to both Guido and James.  I'll look into string handling/manipulation 
used in the code implementation and see if some more efficient technique might 
be useable.

Cheers and thanks all for the swift responses.

Cheers,
Bryn 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Wil Genovese

You still didn't answer the question. What is the version number of the JVM 
being used? This is very important.  Anything less than 1.6.0_10 is going to 
have performance issues.

Wil Genovese
Sr. Web Application Developer/
Systems Administrator

wilg...@trunkful.com
www.trunkful.com

On Oct 17, 2010, at 11:22 PM, Bryn Parrott wrote:

 
 It's not always ColdFusion that is at issue.  The JVM plays a huge 
 role here. What is your JVM version?  Oh, and why not update your 
 version of CF as well?  
 
 Thanks Will...
 
 Initially I saw that the JVM was set to a non-adobe JVM; and so I changed it 
 back to the standard ColdFusion8/runtime/jre.  This had the important benefit 
 of reducing response time by 3 seconds; but unfortunately this is not enough.
 
 In regards update of CF; I explored this possibility but it turned out that 
 unless I can point to important business benefits the client is unlikely to 
 want to spend the resource required to regression test all of the various 
 applications running on the same server. 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338272
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-17 Thread Bryn Parrott

If you're appending text line by line to a memory variable, you're
probably having issues relating to java strings being immutable. If
you're appending to a file each time, that's probably slowing you
down.
  I was doing the latter e.g. appending to a file for each line. 

Try the loop without writing any strings out and see what the
difference is. If that's fast, try a Java class that buffers string or
file output depending on how you want it to work.

 That made a dramatic difference to the execution time.
This gives me a lead as to what might be done to fix the problem.

What can I say but thanks a bunch; and cheers
Bryn




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Nice slideshow script?

2010-10-17 Thread Azadi Saryev

  +1 for Cycle jQuery plugin

can also recommend:
CrossSlide - http://tobia.github.com/CrossSlide/ - especially if you 
like Ken Burns effect
ColorBox - http://colorpowered.com/colorbox/ - the new thickbox
AnythingSlider - http://css-tricks.com/examples/AnythingSlider/ - if 
it's not just images you need to slide...

and of course http://slidesix.com/ for your presentation slides...

Azadi


On 18/10/2010 01:32 , Pete Ruckelshaus wrote:
 I'm looking for suggestions on a nice, elegant, straightforward-to-implement
 slideshow script.  I don't want to use cfpresentation for a myriad of
 reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?

 Thanks

 Pete


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm