Re: Installing CF9 on Windows 7 64 bit
+1 On Sun, Nov 7, 2010 at 12:29 AM, Dave Watts dwa...@figleaf.com wrote: The CF9 installers fails because it can't find the MDAC 2.6 or higher. But, that object is now integrated into the OS directly. So, it is available. Has anyone worked around this during the install of CF9? I've installed CF 9 on Windows 7 64-bit several times, and have never run into that issue. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| 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:338919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Formatting the output of a text datatype
Sorry, no, HTMLEditFormat replacesand and their unicode versions with the equivalent HTML entities. It doesn't turn CR or LF into br /, or fix any Word characters. Dave On Sat, Nov 6, 2010 at 8:55 PM, Larry Lyons larrycly...@gmail.com wrote: Look at the DeMoronize function on CF-Lib.org It does a pretty good job of removing most Word related crud. http://www.cflib.org/index.cfm?event=page.udfbyidudfid=725 Also you can use the replace function to replace the windows carriage returns and line feeds with a br / However it may be easier just to use the HTMLEditFormat() function that does the same. hth, larry You can also find useful functions on cflib.org for formatting and remove word crap. Htmltidy may also help you, this is not a cfml tag though so use google. Totally! cflib.org roxors. You can probably find something that sanitizes the input for XSS attacks and whatnot too, which shouldn't be overlooked. I'd google it for the OP, but the OP doesn't know me that well, and thus I might be interpreted incorrectly. ;)p :Den -- He who does not bellow the truth when he knows the truth makes himself the accomplice of liars and forgers. Charles Peguy ~| 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:338920 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)
Yes, cfsavecontent appears to use a java buffer internally, and runs just about as fast. Pick whichever method gives you code you like better with your content, its source, and your coding style. Dave On Sat, Nov 6, 2010 at 9:22 PM, Larry Lyons larrycly...@gmail.com wrote: +1,000,000 for Jame's theory about string concatenation. CF is very inefficient at this. Doesn't amtter much for small stuff and a few repeats, but for bulk, a Java buffer is the way to go. Dave String concatenation is quite slow in CF. This blog did some fairly simple tests and found that cfsavecontent was the fastest was to do string concatendation, see http://blog.fi.net.au/?p=279 I've run run similar tests using a more robust testing procedure and found similar results, (see http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/string-concatenation-performance-test-128) Basically cfsavecontent is on the average twice as fast as the java string buffer. What I'd suggest is do not write the file line by line but build up the string using cfsavecontent then write the string to disk. I think you'll find that that is about as fast as the PHP method, or nearly so. regards, larry -- Larry C. Lyons web: http://www.lyonsmorris.com/lyons LinkedIn: http://www.linkedin.com/in/larryclyons -- People need to realize that the plural of anecdote is not data. ~| 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:338921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Installing CF9 on Windows 7 64 bit
The CF9 installers fails because it can't find the MDAC 2.6 or higher. But, that object is now integrated into the OS directly. So, it is available. Has anyone worked around this during the install of CF9? ~| 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:338922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Installing CF9 on Windows 7 64 bit
Thanks for the validation that it actually works! I'm at a loss of what to try next. Seems very strange that the installer would error check this since Windows 7 has MDAC installed in the OS anyway. ~| 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:338923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jquery
But the jquery code uses a seperate style sheet doesn't it? - Original Message - From: Charlie Griefer To: cf-talk Sent: Friday, November 05, 2010 11:55 PM Subject: Re: jquery Maybe because you recently changed your style sheet? Can you view source and verify that the style you expect to be applied (which I assume is an external .css file) is being included with the correct path? On Fri, Nov 5, 2010 at 9:23 PM, Monique Boea moniqueb...@gmail.com wrote: why would my jquery validation code styles not show up? I recently changed my style sheet on an app...before I made changes the jquery styling showed up (yellow background...red text). Now I get the This field is required message but with no style. Any suggestions? TIA ~| 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:338924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Installing CF9 on Windows 7 64 bit
I have cf9 working, however the ODBC services do not work, which is no bought down to the MDAC issue, you could try not installing the ODBC services and that may let the install complete. I'm not sure what else it would need MDAC for other than Microsoft Access DSN's Russ -Original Message- From: Dave Merrill [mailto:enigm...@gmail.com] Sent: 07 November 2010 09:57 To: cf-talk Subject: Re: Installing CF9 on Windows 7 64 bit +1 On Sun, Nov 7, 2010 at 12:29 AM, Dave Watts dwa...@figleaf.com wrote: The CF9 installers fails because it can't find the MDAC 2.6 or higher. But, that object is now integrated into the OS directly. So, it is available. Has anyone worked around this during the install of CF9? I've installed CF 9 on Windows 7 64-bit several times, and have never run into that issue. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| 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:338925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jquery
Monique, If your style sheet is called after the jquery stylesheet you might Be defining something that wipes out a jquery call. Terry -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Sunday, November 07, 2010 5:08 AM To: cf-talk Subject: Re: jquery But the jquery code uses a seperate style sheet doesn't it? ~| 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:338926 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)
Unless you're testing this under a significant load, such as using jMeter etc., this test is essentially meaningless. Loops over thousands or simple page loads do not mean anything. I'd look at a more real world test, make sure the HTML is exactly the same, structure the code to be similar etc. Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. For giggles, I just tried this on my box and got: HTML 33 milliseconds (static DataTime stamp and no queries to DB) CF 2910 milliseconds (cleared template cache and newly restarted CF service) CF 707 milliseconds (after above run) And here's the code I tested. NOTE: only needed two cfdumps to get to 50K page size: cfset count = 10 cfoutput#Now()#/cfoutput cfquery name=Q_GetData datasource=thedatasource select top #count# * from table1 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table2 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table3 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table4 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table5 /cfquery ~| 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:338927 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)
Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. CF code I used was included in my post. HTML was rendered CF - view source - save as HTML. I don't do PHP. On Sun, Nov 7, 2010 at 11:09 AM, Larry Lyons larrycly...@gmail.com wrote: Unless you're testing this under a significant load, such as using jMeter etc., this test is essentially meaningless. Loops over thousands or simple page loads do not mean anything. I'd look at a more real world test, make sure the HTML is exactly the same, structure the code to be similar etc. Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. For giggles, I just tried this on my box and got: HTML 33 milliseconds (static DataTime stamp and no queries to DB) CF 2910 milliseconds (cleared template cache and newly restarted CF service) CF 707 milliseconds (after above run) And here's the code I tested. NOTE: only needed two cfdumps to get to 50K page size: cfset count = 10 cfoutput#Now()#/cfoutput cfquery name=Q_GetData datasource=thedatasource select top #count# * from table1 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table2 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table3 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table4 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table5 /cfquery ~| 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:338928 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)
John, Hey keep in mind that cfdump is a debug/development tag. It's not designed to perform at all under load. Under the hood I suspect it uses java reflection classes. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Sunday, November 07, 2010 11:41 AM To: cf-talk Subject: Re: CF (8.0.0) performance vs PHP (5) Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. CF code I used was included in my post. HTML was rendered CF - view source - save as HTML. I don't do PHP. On Sun, Nov 7, 2010 at 11:09 AM, Larry Lyons larrycly...@gmail.com wrote: Unless you're testing this under a significant load, such as using jMeter etc., this test is essentially meaningless. Loops over thousands or simple page loads do not mean anything. I'd look at a more real world test, make sure the HTML is exactly the same, structure the code to be similar etc. Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. For giggles, I just tried this on my box and got: HTML 33 milliseconds (static DataTime stamp and no queries to DB) CF 2910 milliseconds (cleared template cache and newly restarted CF service) CF 707 milliseconds (after above run) And here's the code I tested. NOTE: only needed two cfdumps to get to 50K page size: cfset count = 10 cfoutput#Now()#/cfoutput cfquery name=Q_GetData datasource=thedatasource select top #count# * from table1 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table2 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table3 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table4 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table5 /cfquery ~| 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:338929 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)
It must do as it requires createObject(java) to be enabled and the java class loader. Russ -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: 07 November 2010 21:46 To: cf-talk Subject: RE: CF (8.0.0) performance vs PHP (5) John, Hey keep in mind that cfdump is a debug/development tag. It's not designed to perform at all under load. Under the hood I suspect it uses java reflection classes. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Sunday, November 07, 2010 11:41 AM To: cf-talk Subject: Re: CF (8.0.0) performance vs PHP (5) Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. CF code I used was included in my post. HTML was rendered CF - view source - save as HTML. I don't do PHP. On Sun, Nov 7, 2010 at 11:09 AM, Larry Lyons larrycly...@gmail.com wrote: Unless you're testing this under a significant load, such as using jMeter etc., this test is essentially meaningless. Loops over thousands or simple page loads do not mean anything. I'd look at a more real world test, make sure the HTML is exactly the same, structure the code to be similar etc. Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. For giggles, I just tried this on my box and got: HTML 33 milliseconds (static DataTime stamp and no queries to DB) CF 2910 milliseconds (cleared template cache and newly restarted CF service) CF 707 milliseconds (after above run) And here's the code I tested. NOTE: only needed two cfdumps to get to 50K page size: cfset count = 10 cfoutput#Now()#/cfoutput cfquery name=Q_GetData datasource=thedatasource select top #count# * from table1 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table2 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table3 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table4 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table5 /cfquery ~| 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:338930 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)
Right on... Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Sunday, November 07, 2010 3:53 PM To: cf-talk Subject: RE: CF (8.0.0) performance vs PHP (5) It must do as it requires createObject(java) to be enabled and the java class loader. Russ -Original Message- From: Mark A. Kruger [mailto:mkru...@cfwebtools.com] Sent: 07 November 2010 21:46 To: cf-talk Subject: RE: CF (8.0.0) performance vs PHP (5) John, Hey keep in mind that cfdump is a debug/development tag. It's not designed to perform at all under load. Under the hood I suspect it uses java reflection classes. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Sunday, November 07, 2010 11:41 AM To: cf-talk Subject: Re: CF (8.0.0) performance vs PHP (5) Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. CF code I used was included in my post. HTML was rendered CF - view source - save as HTML. I don't do PHP. On Sun, Nov 7, 2010 at 11:09 AM, Larry Lyons larrycly...@gmail.com wrote: Unless you're testing this under a significant load, such as using jMeter etc., this test is essentially meaningless. Loops over thousands or simple page loads do not mean anything. I'd look at a more real world test, make sure the HTML is exactly the same, structure the code to be similar etc. Moreover what was the code you used. Until we see it for all we know its a very biased test towards PHP, CF or HTML. For giggles, I just tried this on my box and got: HTML 33 milliseconds (static DataTime stamp and no queries to DB) CF 2910 milliseconds (cleared template cache and newly restarted CF service) CF 707 milliseconds (after above run) And here's the code I tested. NOTE: only needed two cfdumps to get to 50K page size: cfset count = 10 cfoutput#Now()#/cfoutput cfquery name=Q_GetData datasource=thedatasource select top #count# * from table1 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table2 /cfquery cfdump var=#Q_GetData# cfquery name=Q_GetData datasource=thedatasource select top #count# * from table3 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table4 /cfquery cfquery name=Q_GetData datasource=thedatasource select top #count# * from table5 /cfquery ~| 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:338931 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Where in the registry does ColdFusion 9 store client variables?
I accidentally had registry client variables turned on for a few days, and now my server is slow. I suspect overgrown registry filled with CF client variables is the cause. Anyone know how to purge them from the registry? CF9 ~| 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:338932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where in the registry does ColdFusion 9 store client variables?
Hi Philip, read this, it does have the key at the end, but the rest may be useful for you to stop this happening again. http://russ.michaels.me.uk/index.cfm/2007/12/7/Security-bug-with-client-variables -- Russ Michaels www.cfmldeveloper.com - Supporting the CF community since 1999 FREE ColdFusion/Railo hosting for developers. blog: www.michaels.me.uk ~| 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:338933 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where in the registry does ColdFusion 9 store client variables?
On 8/11/2010 15:19, Philip Kaplan wrote: I accidentally had registry client variables turned on for a few days, and now my server is slow. I suspect overgrown registry filled with CF client variables is the cause. Anyone know how to purge them from the registry? Try setting the purge time to the minimum in CF Admin. -- Yours, Kym Kovan mbcomms.net.au ~| 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:338934 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm