Re: OT Java letdown
Time to throw in my two cents. Java is the best platform, in my opinion, to develop software for mass deployment since you can "almost" have your hava apps run on "most" of the platforms. Mac OS X will bridge the mac gap in the Java race but I do agree that the "write once run anywhere" goal is not really applicable. Java is like a baby that you always have to take care of If you install the wrong JDK, you get 200% performance penalty or it won't run at all. You can install 50 JDKs on your machine and you lose track if you applicationi is running off the right one. To use Java SWING with IE you need to reformat the applet tag with ridiculous object tags. Most complex applets do not even run on the current mac java implementation. Java gui's layout components are very poorly designed in my opinion. I'm exaggerating a bit but the list just goes on. Even the price point of "free" java tools (tomcat, compilers, ides, etc) don't even add up in my opinion. For example, let's say you want to program a JSP application for a high volume site running off SQL 2000. The server and the editors are free. But, and a BIG but it is, the high performance database driver is not included (we can thank MS for that). So, you pay nothing for the development but pay $1000+ (some charge much much more) for Level 4 JDBC (native and fastest) drivers for deployment. Hmmm...if I went with a "commercial" and close-sourced platform like CF (which costs around one grand) but get free ODBC (native to SQL 2000) driver. So overall, there is no economical advantage even though they might lead you to think that. It all depends on your situation but I believe the java way to deliever html is not the cheapest, not the fastest, not the easiest, and not even the most feature complete. To me, java is like been stuck in the middle. It's never the worst or ever the best in any area. It does everything you need but just slow enough or cumbersome enough to make you think twice each time. =) After just going over the ASP.NET specs.docs/tutorials/sample apps I would have to say that ASP.NET has probably the best feature set that I want, as a web application developer/designer, when compared with CF, JSP, or PHP. Xing I know this is OT but a recent thread, along with talk of CF future support, has lead me to once again investigate Java as a possible development language. Mostly client side... I envision including Java applets in web pages to compensate for html limitations Once again, I downloaded the latest versions of all the Java components started taking the tutorial suggested on another thread. Once again, I have suffered a letdown... Things like StarOffice only run on certain platforms Browser support varies on certain platforms (On the Mac, NN IE run different versions of Java Java JavaScript interaction is very limited (NN on windows) Java is still a little slow on the GUI The effect is that "write once, run anywhere" is a goal yet to be accomplished, IMO. Am I missing something or is Java a universal solution... as long as: you run a win OS you run NN I develop on a Mac, I have LINUX system, and can run a windows emulator. If I want to create a platform/browser-independent application, it appears as if the potential gain from using Java is not worth the effort. Geese... UCSD Pascal was a more-universal solution than Java appears to be. What do you people think? TIA Dick ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Looking for low cost CF start host
I have used interland and I left and went to intermedia at intermedia you have full control of all cf admin features remotely your entire site infrastructure from assigning you an ip address and website server space etc etc all happens when you complete the application form by the time you complete the application form on the website you are able start ftp'ing to your newly created server space and the technical support is out of this world the longest I have ever waited for a response to a technical issue is 15 minutes. often with my previous host interland their technical response times were 24 and up 48 hrs even with their 24/7 tech support service - Original Message - From: "Michael She" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, December 24, 2000 5:19 PM Subject: RE: Looking for low cost CF host I heard interland is really bad. On the Crystaltech.com hosting mailing list, a few ople left interland to come to crystaltech... so that maybe a warning sign. At 11:52 AM 12/23/00 -0800, Jay Jennings you wrote: Interland www.interland.com If InterLand is your only choice -- quit the high tech world and become a janitor. That's right, don't use them even if it means switching careers. They suck so hard it's not funny. And I'm a forgive-and-forget type of person. I hope they get their act together but I'll never know about it because they don't care about their customers. Have I mentioned they suck? Jay ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Good Cold Fusion Products
At US$150 www.cfwebstore.com is hard to beat. Full-source, too. Email? Try iMS http://www.coolfusion.com/iMSDetails.htm best, paul At 06:02 PM 12/24/00 +1100, you wrote: Does anyone know of any good cold fusion shopping carts or email = applications that are out there that you would recommend. Priced at around the $1000mark ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: cfgrid showing up as gray Java block
Pan, Thanks for the help. Do you know which classes are needed for the cfgrid applet? Can the classes be placed anywhere in the URL space? Paul Sinclair -Original Message- From: pan [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 23, 2000 5:02 PM To: CF-Talk Subject: Re: cfgrid showing up as gray Java block .. Is there some setting somewhere else that needs to be checked to get the cfgrid function working in the second user's IE? Make sure the java classes are available to all users. You might have to copy the CFIDE folder to your webroot or other dir. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated! Thanks! ;-) Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? We're stuck on WinNT4 for various reasons, so using IIS compression wasn't an option for us. Also, for non-IIS users, this CFX version should still do the trick even if their webserver doesn't support compression. I bet the cfx/cf overhead is much higher and not suitable for high volume situations. It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... By default, you can set IIS to do a "application" level, not "static" level compression, which would compress dynamic content. Go to the "services" tab of the server in the mmc. However, and by default, the dynamic compression only applies ... Very interesting... I will most certainly try this. Thanks for the pointer! Best regards, Zac Bedell -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com Comment: Please use PGP! iQA/AwUBOkYVcKvhLS1aWPxeEQLBawCdFX8/Cx8ZLwFJk2h0u8vHZvxn2IIAoNXC /aYrqpaVDexfyCoWzqU8BwOP =9yi3 -END PGP SIGNATURE- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
Could you please explain how this compression works. I keep seeing this as it is being compressed and decompressed at the server, or is it being compressed at the server and decompressed at the client. Bob Everland -Original Message- From: Zachary Bedell [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated! Thanks! ;-) Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? We're stuck on WinNT4 for various reasons, so using IIS compression wasn't an option for us. Also, for non-IIS users, this CFX version should still do the trick even if their webserver doesn't support compression. I bet the cfx/cf overhead is much higher and not suitable for high volume situations. It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... By default, you can set IIS to do a "application" level, not "static" level compression, which would compress dynamic content. Go to the "services" tab of the server in the mmc. However, and by default, the dynamic compression only applies ... Very interesting... I will most certainly try this. Thanks for the pointer! Best regards, Zac Bedell -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com Comment: Please use PGP! iQA/AwUBOkYVcKvhLS1aWPxeEQLBawCdFX8/Cx8ZLwFJk2h0u8vHZvxn2IIAoNXC /aYrqpaVDexfyCoWzqU8BwOP =9yi3 -END PGP SIGNATURE- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Recommended Chat Script
Hi All, I think Allaire's Developer Gallery should start allowing users to rate the different tags/scripts on the site. In anycase, can anyone recommend a good chat script? There are so many, and lots of them do not have demo. Preferrably the script is freeware. Thanks. -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Recommended Chat Script
cf_chat is a great script - Original Message - From: "Michael She" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, December 24, 2000 11:27 AM Subject: Recommended Chat Script Hi All, I think Allaire's Developer Gallery should start allowing users to rate the different tags/scripts on the site. In anycase, can anyone recommend a good chat script? There are so many, and lots of them do not have demo. Preferrably the script is freeware. Thanks. -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Recommended Chat Script
that is a GREAT idea Hal Helms == See www.ColdFusionTraining.com for info on "Best Practices with ColdFusion Fusebox" training, Jan 22-25 == -Original Message- From: Michael She [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 11:27 AM To: CF-Talk Subject: Recommended Chat Script Hi All, I think Allaire's Developer Gallery should start allowing users to rate the different tags/scripts on the site. In anycase, can anyone recommend a good chat script? There are so many, and lots of them do not have demo. Preferrably the script is freeware. Thanks. -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hosting Options
They were ASKED. They are just answering a subscribers request for hosting information. I see nothing wrong with that. This topic comes up twice a year or so. Even though I wasn't the one who asked, I have many hosted sites at with a couple of vendors, and I like to know what the latest opinions are as to who is doing a good job and who isn't in Cold Fusion hosting. At 07:07 PM 12/23/00 -0800, Allan Pichler wrote: I don't know about everyone else on this list but i think that 5 email within 13 hours advertising for the same hosting is annoying make aware of the existance is fine with me but 5 mails in 13 hours That's very close to the textbook definition of advertising ... Now correct me if i'm wrong but that's not the purpose of this mailing list is it ? Merry Christmas! Allan Pichler Machine Dreams Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 23, 2000 6:58 PM To: CF-Talk Subject: Hosting Options Good Evening, With all the talk about hosting companies and there options, I just wanted to give everyone an overview of my Company. I have posted several times to let people know about our services and great prices. For what most people are charging for single account hosting with a plethora of restrictions; ATSWebNet gives you what you are looking for, Multi-Domain hosting, Lots of disk space and bandwidth, as well as SQL server access included in our Advanced account. You have to see what we give you for $49.95/month, goto www.atswebnet.com/hosting.htm . Don't worry though because we have plans as low as $4.95/month with Cold Fusion and 1 ODBC to Access. We are new to the market, but we are veterans in providing High Quality Cold Fusion and Web Hosting. Please check us out and let me know if you have any questions, Robert Filipovich ATSWebNet [EMAIL PROTECTED] www.atswebnet.com 678-618-0169 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT Java letdown
I am excited about Java on the server side. I never really liked it for the client side unless I need to do something very sophisticated in the client. Javascript usually covers my client-side needs. But on the server side, it will be great to use CFML as a "glue" to put together the site, and server-side Java for the "application" layer. At 08:09 PM 12/23/00 -0700, Dick Applebaum wrote: I know this is OT but a recent thread, along with talk of CF future support, has lead me to once again investigate Java as a possible development language. Mostly client side... I envision including Java applets in web pages to compensate for html limitations Once again, I downloaded the latest versions of all the Java components started taking the tutorial suggested on another thread. Once again, I have suffered a letdown... Things like StarOffice only run on certain platforms Browser support varies on certain platforms (On the Mac, NN IE run different versions of Java Java JavaScript interaction is very limited (NN on windows) Java is still a little slow on the GUI The effect is that "write once, run anywhere" is a goal yet to be accomplished, IMO. Am I missing something or is Java a universal solution... as long as: you run a win OS you run NN I develop on a Mac, I have LINUX system, and can run a windows emulator. If I want to create a platform/browser-independent application, it appears as if the potential gain from using Java is not worth the effort. Geese... UCSD Pascal was a more-universal solution than Java appears to be. What do you people think? TIA Dick ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: OT Java letdown
At 12:40 PM -0500 12/24/00, Peter Theobald wrote: I am excited about Java on the server side. I never really liked it for the client side unless I need to do something very sophisticated in the client. Javascript usually covers my client-side needs. But on the server side, it will be great to use CFML as a "glue" to put together the site, and server-side Java for the "application" layer. Ahh... that makes a lot of sense! In a single controlled environment most of the issues I have would not exist. Unfortunately, I host with an ISP and cannot (at present) take advantage of server-side Java. Sure wish there were a client-side solution that works: on all major OS platforms on all major browsers integrates with JavaScript/Html/Dhtml allows things like a WSIWYG textarea that can be referenced with JavaScript I don't want to do the entire client-side in Java, just augment what I have now. Dick ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT Java letdown
well as long as you have the newest sdk downloaded or installed on the machine you can be sure the program will work. There are instuctions in the info on how to make sure everything will be there. This is how it is in every language you use on the client side. With some programs you need to install libraries, with javascript you have to make sure the client has the latest browser or has a certain type. All that java is there for is to write an application so it runs anywhere provided they have the latest and greatest java runtime enviroment. So unless you downgrade your programming tools you will have to make sure whoever you want to use your program that they have the latest runtime for what you're programming in. I am starting to mess around with it myself and have found that forte is good to develop in and debug in. It puts its classpath in and everything so I can learn as I go without having to figure everything out right away. If you go to www.sun.com there are download links right at the top of the page. Java is a good language just wish it weren't so friggin slow. Would love to have something that we could compile java into a native language for the os instead of the java runtime then it would be faster since it wouldn't have to compile on the fly and we wouldn't have to worry about java runtime. Bob Everland -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 1:13 PM To: CF-Talk Subject: Re: OT Java letdown At 12:40 PM -0500 12/24/00, Peter Theobald wrote: I am excited about Java on the server side. I never really liked it for the client side unless I need to do something very sophisticated in the client. Javascript usually covers my client-side needs. But on the server side, it will be great to use CFML as a "glue" to put together the site, and server-side Java for the "application" layer. Ahh... that makes a lot of sense! In a single controlled environment most of the issues I have would not exist. Unfortunately, I host with an ISP and cannot (at present) take advantage of server-side Java. Sure wish there were a client-side solution that works: on all major OS platforms on all major browsers integrates with JavaScript/Html/Dhtml allows things like a WSIWYG textarea that can be referenced with JavaScript I don't want to do the entire client-side in Java, just augment what I have now. Dick ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could you please explain how this compression works. I keep seeing this as it is being compressed and decompressed at the server, or is it being compressed at the server and decompressed at the client. After CF is done creating all of the various HTML that will be sent out to clients, this tag grabs all the content and GZips it on the server side. The GZipped data is sent to the client where the client automatically GUnzips it and displays it to the user normally. The human at the browser shouldn't even know anything unusual has happened. As far as I know, all of the HTTP/1.1 browsers support gzip encoding. In any case, there's an Accept-Encoding header that browsers send if they're capable of compression. This tag checks to see if gzip is one of the supported compression types. If it is, the tag does its thing. If not, the HTML is sent uncompressed for clients that don't know how to decompress it. Using GZip level 9 compression, it's not unusual to see compression ratios of 5 to 10 times. Note that this does NOT work for any pages that use CFCONTENT with a file attribute. In those cases, the file from CFCONTENT is sent out without any compression, and this tag never even executes (since CF stops executing the page after the CFCONTENT tag is done). The web server based (as opposed to this CF Server based) solution is a little different, tho it accomplishes the same thing. I would imagine that in those cases, CFCONTENT results would also be compressed. I still haven't hand a chance to play with that, but it should be interesting. Best regards, Zac Bedell -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com Comment: Please use PGP! iQA/AwUBOkZBsKvhLS1aWPxeEQKlqgCg5QV9XWloUHiSxAgcdlnT0O4UY0YAoOqS ZB/d+E31i/1KPu2pSgt5gK85 =XB79 -END PGP SIGNATURE- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
Ok I understand what has been done the only thing I see as a problem is that the tag is writing a file. Now without locking or without a unique name something bad is bound to happen. And once you put locking on the writing of files there is gonna be a slowdown. I don't see this as a good solution for large webservers with a lot of users. Maybe on an extranet where everything is semi controlled or on an intranet, but I don't think on a regular webserver this is a good idea. Bob Everland -Original Message- From: Zachary Bedell [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated! Thanks! ;-) Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? We're stuck on WinNT4 for various reasons, so using IIS compression wasn't an option for us. Also, for non-IIS users, this CFX version should still do the trick even if their webserver doesn't support compression. I bet the cfx/cf overhead is much higher and not suitable for high volume situations. It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... By default, you can set IIS to do a "application" level, not "static" level compression, which would compress dynamic content. Go to the "services" tab of the server in the mmc. However, and by default, the dynamic compression only applies ... Very interesting... I will most certainly try this. Thanks for the pointer! Best regards, Zac Bedell -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com Comment: Please use PGP! iQA/AwUBOkYVcKvhLS1aWPxeEQLBawCdFX8/Cx8ZLwFJk2h0u8vHZvxn2IIAoNXC /aYrqpaVDexfyCoWzqU8BwOP =9yi3 -END PGP SIGNATURE- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: [Compress HTML output]
It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... The overhead is most likely on the cache file writes and cache reads. You just gave me an idea for a work around that could be better and faster than all the options we have just discussed. With both ISAPI and CFX, the system has to compress each and every single page output as it is a new one. Might as well store the compress data into the db using CFX_GZip and serve it out of the database. This way, not only do we save CPU time we also save I/O overhead. Serving from the database is much more efficient (ram and cpu wise) in the long run than reading from the filesystem. So we only compress it once every so minutes or hours. With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... Look for compFilt.dll and gzlip.dll and deflate.dll Xing ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: [Compress HTML output]
It's compressed at the server and decompressed at the client. Pretty sure all current browsers support both the deflate(an compression algorithm not the expanding part) and gzip. The decompression is very fast so the end user doesn't even see a difference. Xing Could you please explain how this compression works. I keep seeing this as it is being compressed and decompressed at the server, or is it being compressed at the server and decompressed at the client. Bob Everland -Original Message- From: Zachary Bedell [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 10:26 AM To: CF-Talk Subject: RE: [Compress HTML output] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. And donations of this sort are *always* appreciated! Thanks! ;-) Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? We're stuck on WinNT4 for various reasons, so using IIS compression wasn't an option for us. Also, for non-IIS users, this CFX version should still do the trick even if their webserver doesn't support compression. I bet the cfx/cf overhead is much higher and not suitable for high volume situations. It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... By default, you can set IIS to do a "application" level, not "static" level compression, which would compress dynamic content. Go to the "services" tab of the server in the mmc. However, and by default, the dynamic compression only applies ... Very interesting... I will most certainly try this. Thanks for the pointer! Best regards, Zac Bedell -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com Comment: Please use PGP! iQA/AwUBOkYVcKvhLS1aWPxeEQLBawCdFX8/Cx8ZLwFJk2h0u8vHZvxn2IIAoNXC /aYrqpaVDexfyCoWzqU8BwOP =9yi3 -END PGP SIGNATURE- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Do cached querries need to be locked?
I am assuming that if multiple pages hit the same cached query, Cold Fusion internally handles it correctly without me locking it?? But then again, I would have assumed it would handle session variables correctly also if I didn't subscribe to cf-talk:) I am thinking: what happens if I have a large dataset being cached and what happens when it expires.. the next page to hit it has to re-run the query. While that query is executing, other pages are still reading it. According to Allaire, there's no need to lock cached queries. In my personal experience, I haven't seen any problem when using cached queries without locks as I have with memory variables. I'd guess that the CF engine doesn't read a query from the cache unless it's been put there in its entirety. This is just a guess, of course. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fusebox
I agree with Hal. The major problem with CFObjects is that you have to tackle the additiona learning curve of an OO methodology, *and* the documentation/sample-apps leave a lot to be desired for a person new to the methodology. If CFO only had a like Hal hawking it, it'd get a much wider notice :) I'd argue that the major problem with CFObjects is something completely different. I don't think tacking object-orientation onto CF - which is pretty much a batch-processing environment - is such a great idea. If you want to write OO code, you'd be better served with an OO language. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Fw: Server Lock-Up
- Original Message - From: Mike Weaver To: [EMAIL PROTECTED] Sent: Sunday, December 24, 2000 1:05 PM Subject: Server Lock-Up With all the talk recently about servers I have a newbie question. I had a situation occur where my pages were not recognized by the server and I get an error an position1:1. HTML was fine. The last page to process was the Application.cfm. This went on periodically for 2 weeks at a very inconvenient time. Is this the result of a shared server and someone perhaps writing code that locks CF up or is it a server set-up issue. I have received no explanation from the host other than multiple clients were experiencing the same problem. My code had not changed and works fine. All assistance appreciated. Merry Christmas, Mike ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP question
An Allaire consultant told us that our DNS was screwed up and that it was our problem. Seems like you must be using our internal DNS server, as well ;-) So we found out if you use the actual IP address instead of the domain name, it usually worked. In addition, we found the changing the slashes (/) to (\) also helped. Until you can get Allaire to admit it is not your DNS server, you are basically screwed. You can certainly determine for yourself whether your DNS server has problems - and it's not that uncommon to have small DNS problems here and there. There are plenty of DNS resources available: Acme Byte Wire: http://www.acmebw.com/ This site, run by Liu and Larson, the authors of the O'Reilly DNS book, has lots of Q A resources. DNS Expert: http://www.dnsexpert.com/ This retail software package does DNS diagnostics pretty well, for those who don't want to learn dig and nslookup. In any case, if you're able to resolve the target server's name from a command shell on the CF server, you shouldn't have any problems with CFHTTP and DNS. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Happy Holidays
Happy Holidays to everyone. Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
Ok I understand what has been done the only thing I see as a problem is that the tag is writing a file. Now without locking or without a unique name something bad is bound to happen. And once you put locking on the writing of files there is gonna be a slowdown. The filename for the tempfiles is based on a call to CreateUUID(). If that's not giving you a unique filename, then you have much, MUCH bigger problems to worry about... There are two files created, and it looks a little something like this: !--- I don't have the actual code in front of me to cut paste from, but here's the basic gist... --- cfset TempPath = "c:\temp\compress\" cfset UUID = CreateUUID() cfset RawFile = "#TempPath##UUID#.htm" cfset GZipFile = "#TempPath##UUID#.gz" You can't get too much more unique than that. I don't see this as a good solution for large webservers with a lot of users. Maybe on an extranet where everything is semi controlled or on an intranet, but I don't think on a regular webserver this is a good idea. I've got an 800,000ish user session per month site running it quite nicely for the past three days (almost four days as I write this...). No hiccoughs, no user complaints. In fact... I don't even think the users have noticed anything other than the speed increase (we have had two or three comments on that). Granted... This isn't the type of thing you'd want to run on Microsoft.com, but if you have a moderate load site and enough extra processor to throw at it (we have both), then you can really save some bandwidth, if that's something you need to do. If you've got quad T3's coming out of your server, don't waste your time with this tag. But if bandwidth is getting a little tight lately, this *might* be something to at least give a try. It's easy enough to implement and easy enough to remove if it does cause problems. In our case, we have a sh'load of server to throw at this app, but bandwidth is a bit limited at this point in time. The compression is really helping. AND... The server based add-on that Xing Li mentioned looks even better. If we were running IIS 5, I would have installed that compression option in a heart beat. Now that I know IIS 4 has the same ability w/ a little added software from MS, I'm going to be implementing it next week. Best regards, Zac Bedell ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: [Compress HTML output]
The overhead is most likely on the cache file writes and cache reads. You just gave me an idea for a work around that could be better and faster than all the options we have just discussed. With both ISAPI and CFX, the system has to compress each and every single page output as it is a new one. Might as well store the compress data into the db using CFX_GZip and serve it out of the database. This way, not only do we save CPU time we also save I/O overhead. Serving from the database is much more efficient (ram and cpu wise) in the long run than reading from the filesystem. So we only compress it once every so minutes or hours. Hmmm... Very interesting... I was considering decrupting CFCACHE and using this bit of code in there. Using the DB instead... That has some promise... I may have a project to play with Why cache DB queries when you can cache the entire page result that was based on the query, right? My only concern is that CF seems to be very unfriendly to binary data. I wonder if there is any way that you could get the binary GZIP data back out of the DB and serve it to the browser without needing to save it to a temporary file and use CFCONTENT to send it out. If that does indeed pose a problem, then perhaps hacking up CFCACHE might be the only solution. With IIS 4.0 you need the recource kit which contains the isapi compression filters. A Now this I did not know... I must give this a try... Look for compFilt.dll and gzlip.dll and deflate.dll Will do. Thanks! Best regards, Zac Bedell ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fusebox
Yes, there's definitely that argument, Dave -- and it's a good one. Someone once posted a question on the CFObjects forum, "If you're going to do OO, what not just do Java?" I'm still waiting to hear a good answer. I think CFObjects can be a good bridge for folks moving from CFML to a true OO language such as Ruby or Java. Hal Helms == See www.ColdFusionTraining.com for info on "Best Practices with ColdFusion Fusebox" training, Jan 22-25 == -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 5:06 PM To: CF-Talk Subject: RE: Fusebox I agree with Hal. The major problem with CFObjects is that you have to tackle the additiona learning curve of an OO methodology, *and* the documentation/sample-apps leave a lot to be desired for a person new to the methodology. If CFO only had a like Hal hawking it, it'd get a much wider notice :) I'd argue that the major problem with CFObjects is something completely different. I don't think tacking object-orientation onto CF - which is pretty much a batch-processing environment - is such a great idea. If you want to write OO code, you'd be better served with an OO language. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: OT Java letdown
Sure wish there were a client-side solution that works: on all major OS platforms on all major browsers integrates with JavaScript/Html/Dhtml allows things like a WSIWYG textarea that can be referenced with JavaScript I don't want to do the entire client-side in Java, just augment what I have now. There is something which approaches this pretty closely right now - Flash: http://www.macromedia.com/software/flash/ We're using this more and more as a replacement for extremely complex DHTML, and it's shaping up to be what client-side Java was supposed to be, without the problems or the complexity. You might want to take a look at this (if you have RealPlayer installed): http://www.allaire.com/conference/ADC2K_harpoon.ram Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Happy Holidays
DITTO! - Original Message - From: "ibtoad" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, December 24, 2000 5:17 PM Subject: Happy Holidays Happy Holidays to everyone. Rich ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Using RAND in SQL
My MySQL reference says it's a new capability as of 3.23.3 I also can't find any reference to it in my SQL7 or Access references. My guess is that it's a MySQL special function. You might have to create your own version using CF. For example, CFSET STARTROW="#randrange(1,YourQuery.recordcount)# will pick a random row number out of your results (note that the row numbers go 1,2,3, etc, that is, they are not Table ID numbers). You save this in a list and repeat (not accepting results already selected) until you have selected RecordCount values. Shouldn't be too bad. best, paul At 08:46 PM 12/24/00 -0500, you wrote: I am dumbfounded how to use RAND() in a query statement. I have three columns for this example and I want the results randomly sorted by the invcode column. That is, to randomly display how the results are grouped. select invcode, price, years from inventory order by invcode, years DESC, price DESC I've tried the retrieve results in random order example in the mySQL book, page 188, but it says syntax error. select invcode, price, RAND() as ran, years from inventory I've also tried HAVING but no luck. This has to be simple but I just can't find the variant in the syntax. This is a MS Access DB connected by OLE. I also can't find any examples of the syntax in Access books (nor on the Allaire site). Thank you, Randy Zeitman -- **This signature sponsored by GuitarList.com - the most powerful musical instrument search engine on the net!** "I've gotten so out of shape sittin' at the computer all day that I get out of breath when I have to reach for the percent key!" - Zeitman Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fusebox
At 05:39 PM 12/24/00 -0500, Hal Helms you wrote: Yes, there's definitely that argument, Dave -- and it's a good one. Someone once posted a question on the CFObjects forum, "If you're going to do OO, what not just do Java?" I'm still waiting to hear a good answer. I think CFObjects can be a good bridge for folks moving from CFML to a true OO language such as Ruby or Java. Out of curiousity, is JSP OO? -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: RAND() SQL follow Up
I am dumbfounded how to use RAND() in a query statement. I have three columns for this example and I want the results randomly sorted by the invcode column. That is, to randomly display how the results are grouped. select invcode, price, years from inventory order by invcode, years DESC, price DESC I've tried the retrieve results in random order example in the mySQL book, page 188, but it says syntax error. select invcode, price, RAND() as ran, years from inventory I've also tried HAVING but no luck. This has to be simple but I just can't find the variant in the syntax. This is a MS Access DB connected by OLE. I also can't find any examples of the syntax in Access books (nor on the Allaire site). Thank you, Randy Zeitman Paul writes: My guess is that it's a MySQL special function. You might have to create your own version using CF. For example, CFSET STARTROW="#randrange(1,YourQuery.recordcount)# will pick a random row number out of your results (note that the row numbers go 1,2,3, etc, that is, they are not Table ID numbers). You save this in a list and repeat (not accepting results already selected) until you have selected RecordCount values. Shouldn't be too bad. best, paul Thank you but I don't think this works...it chooses specific rows while I need to choose random groups. Query Result: row1:Group A row2: a-1 row3: a-2 row4: a-3 row5: Group B row6: b-1 row7: b-2 row8: b-3 row9: Group C row10: c-1 row11: c-2 row12: c-3 I want the query to randomize the groups, A, B, C; B C A, etc... Do I have to do many random queries and mesh them together? Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Fusebox
Michael, while Java is OO, JSP is really more a tag-based interface into Java's capabilities and not really meant to be an OO environment. Hal Helms == See www.ColdFusionTraining.com for info on "Best Practices with ColdFusion Fusebox" training, Jan 22-25 == -Original Message- From: Michael She [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 9:14 PM To: CF-Talk Subject: RE: Fusebox At 05:39 PM 12/24/00 -0500, Hal Helms you wrote: Yes, there's definitely that argument, Dave -- and it's a good one. Someone once posted a question on the CFObjects forum, "If you're going to do OO, what not just do Java?" I'm still waiting to hear a good answer. I think CFObjects can be a good bridge for folks moving from CFML to a true OO language such as Ruby or Java. Out of curiousity, is JSP OO? -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Seasons Greetings
To all members of this CF users group and especially all those members who over the past 12 months have kindly assisted me with my CF questions I would like to extend seasons greetings to and wish you all a very healthy happy and prosperous 2001 Kind Regards Claude Raiola (Director) AustralianAccommodation.com Pty. Ltd. Email: [EMAIL PROTECTED] Developers Of: Website: www.AustralianAccommodation.com Website: www.AccommodationNewZealand.com ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Fusebox
Kind of. Not meant to be OO, but can be, in that you can include any java you want in a JSP page. John - Original Message - From: "Hal Helms" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, December 24, 2000 11:02 PM Subject: RE: Fusebox Michael, while Java is OO, JSP is really more a tag-based interface into Java's capabilities and not really meant to be an OO environment. Hal Helms == See www.ColdFusionTraining.com for info on "Best Practices with ColdFusion Fusebox" training, Jan 22-25 == -Original Message- From: Michael She [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 24, 2000 9:14 PM To: CF-Talk Subject: RE: Fusebox At 05:39 PM 12/24/00 -0500, Hal Helms you wrote: Yes, there's definitely that argument, Dave -- and it's a good one. Someone once posted a question on the CFObjects forum, "If you're going to do OO, what not just do Java?" I'm still waiting to hear a good answer. I think CFObjects can be a good bridge for folks moving from CFML to a true OO language such as Ruby or Java. Out of curiousity, is JSP OO? -- Michael She I m a g i n e C o m m u n i c a t i o n s Company E-mail: [EMAIL PROTECTED] Personal E-mail: [EMAIL PROTECTED] ICQ UIN: #243466 Personal Homepage: http://www.michaelshe.com (Under Construction) Imagine Communications: http://www.imagineer.net PGP Fingerprint: 9A24 1DA9 39B8 0A0C C5ED 6E5D 45E9 075A 51CD 66A1 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists