RE: Compacting .cfm files
While I agree with other posters on this thread that redesigning your form might be your best bet, there is some hope in the compression department... I worked up a tag a while ago that will GZIP page content and send it to the browser. The tag detects all browsers that are able to handle the GZIP encoded content and compresses for those browsers while sending uncompressed content to browsers than can't handle GZIP. I'm sure you'll find info on the tag if you search the list archives. There was a bit of lively discussion on-list as it was developed, and I drew from ideas of some folks who posted. (I tried to give credit where due in the tag, but if anyone thinks I blatently ripped off your idea, I'd be happy to ammend the credits. Just lemme know! ;-) I just submitted the tag (CF_GZipPage) to the Tag Gallery, and it should appear in a day or so. If you absolutely can't break your form into multiple pages, then this might be a solution. If you're in a hurry, email me directly ([EMAIL PROTECTED]), and I'll send you a copy of the tag I just submitted. Best regards, Zac Bedell > -Original Message- > From: Brian Fox [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 11:28 AM > To: CF-Talk > Subject: Compacting .cfm files > > > Sorry if this is beating a dead horse. A search of the > archives brought up similar questions, but didn't really > approach a solution. > > I have a form that contains as many as 200 select boxes with > about 6 options each and 200 more input boxes. I guess that > there is some type of resource crunch (memory, widget > handles, who knows) that causes the following error: when > scrolling a large form, the select boxes begin to smear > vertically. They become clumped together and function oddly > (some still seem to work, although I can't tell what 'line' > they belong to). > > It's in the project specs that I cannot break the form up... > which throws out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. > Our shop is indent happy for readability. The indenting > produces a LOT of whitespace (perhaps bloating the code as > much as 100%). I've already added tags to squash > output on custom tags, queries, etc. But there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm > files? Er, something along the lines of turning an indented > file into a really long single string? Is there a code > beautifier to do the opposite? Is this approach worthwhile? > > Thanks, > Brian > > ~~ 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: Compacting .cfm files
Ya know you COULD read my antics from Cancun... Bryan Love ACP Internet Application Developer [EMAIL PROTECTED] -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 10:45 AM To: CF-Talk Subject: RE: Compacting .cfm files Whoa. Great entertainment value too. Honey, cancel that trip to Cancun. We'll just read the antics of Dr. Love. > -Original Message- > From: Jones, Matt [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 10:22 AM > To: CF-Talk > Subject: RE: Compacting .cfm files > > > lmao > > -Original Message- > From: Bryan Love [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 12:11 PM > To: CF-Talk > Subject: RE: Compacting .cfm files > > > Here's a comparable question: > > I have a small pickup and I need to haul 42 elephants, > but when I > load the elephants into the pickup it scrapes on the > pavement. Does anyone > know of a kit I could install to stiffen up the springs? I > was thinking > about removing the tailgate to reduce the overall weight of the load. > > Get new specs. > > > Bryan Love ACP > Internet Application Developer > [EMAIL PROTECTED] > > > > -Original Message- > From: Brian Fox [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 8:28 AM > To: CF-Talk > Subject: Compacting .cfm files > > > Sorry if this is beating a dead horse. A search of the > archives brought up > similar questions, but didn't really approach a solution. > > I have a form that contains as many as 200 select boxes with > about 6 options > each and 200 more input boxes. I guess that there is some > type of resource > crunch (memory, widget handles, who knows) that causes the > following error: > when scrolling a large form, the select boxes begin to smear > vertically. > They become clumped together and function oddly (some still > seem to work, > although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... > which throws > out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. > Our shop is > indent happy for readability. The indenting produces a LOT > of whitespace > (perhaps bloating the code as much as 100%). I've already > added > tags to squash output on custom tags, queries, etc. But > there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm files? Er, > something along the lines of turning an indented file into a > really long > single string? Is there a code beautifier to do the > opposite? Is this > approach worthwhile? > > Thanks, > Brian > ~~ 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: Compacting .cfm files
Whoa. Great entertainment value too. Honey, cancel that trip to Cancun. We'll just read the antics of Dr. Love. > -Original Message- > From: Jones, Matt [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 10:22 AM > To: CF-Talk > Subject: RE: Compacting .cfm files > > > lmao > > -Original Message- > From: Bryan Love [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 12:11 PM > To: CF-Talk > Subject: RE: Compacting .cfm files > > > Here's a comparable question: > > I have a small pickup and I need to haul 42 elephants, > but when I > load the elephants into the pickup it scrapes on the > pavement. Does anyone > know of a kit I could install to stiffen up the springs? I > was thinking > about removing the tailgate to reduce the overall weight of the load. > > Get new specs. > > > Bryan Love ACP > Internet Application Developer > [EMAIL PROTECTED] > > > > -Original Message- > From: Brian Fox [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 8:28 AM > To: CF-Talk > Subject: Compacting .cfm files > > > Sorry if this is beating a dead horse. A search of the > archives brought up > similar questions, but didn't really approach a solution. > > I have a form that contains as many as 200 select boxes with > about 6 options > each and 200 more input boxes. I guess that there is some > type of resource > crunch (memory, widget handles, who knows) that causes the > following error: > when scrolling a large form, the select boxes begin to smear > vertically. > They become clumped together and function oddly (some still > seem to work, > although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... > which throws > out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. > Our shop is > indent happy for readability. The indenting produces a LOT > of whitespace > (perhaps bloating the code as much as 100%). I've already > added > tags to squash output on custom tags, queries, etc. But > there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm files? Er, > something along the lines of turning an indented file into a > really long > single string? Is there a code beautifier to do the > opposite? Is this > approach worthwhile? > > Thanks, > Brian > ~~ 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: Compacting .cfm files
Now THAT'S funny! -Original Message- From: Bryan Love [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 10:11 AM To: CF-Talk Subject: RE: Compacting .cfm files Here's a comparable question: I have a small pickup and I need to haul 42 elephants, but when I load the elephants into the pickup it scrapes on the pavement. Does anyone know of a kit I could install to stiffen up the springs? I was thinking about removing the tailgate to reduce the overall weight of the load. Get new specs. Bryan Love ACP Internet Application Developer [EMAIL PROTECTED] -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 8:28 AM To: CF-Talk Subject: Compacting .cfm files Sorry if this is beating a dead horse. A search of the archives brought up similar questions, but didn't really approach a solution. I have a form that contains as many as 200 select boxes with about 6 options each and 200 more input boxes. I guess that there is some type of resource crunch (memory, widget handles, who knows) that causes the following error: when scrolling a large form, the select boxes begin to smear vertically. They become clumped together and function oddly (some still seem to work, although I can't tell what 'line' they belong to). It's in the project specs that I cannot break the form up... which throws out the 'display records 1-20 21-40' type solutions. The only thing I can think to do is tighten the cfm code up. Our shop is indent happy for readability. The indenting produces a LOT of whitespace (perhaps bloating the code as much as 100%). I've already added tags to squash output on custom tags, queries, etc. But there is still a lot of whitespace in the other 'normal' code. Are there any utilities to obliterate whitespace in cfm files? Er, something along the lines of turning an indented file into a really long single string? Is there a code beautifier to do the opposite? Is this approach worthwhile? Thanks, Brian ~~ 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: Compacting .cfm files
We had a similar problem here. On a Win2K machine, the page works fine; On a Win98 machine I would have the same blur problem. I have since fixed the code to meet XHTML standards (ie. all tags are in lower case, and quotation marks after all values) and now the page loads perfectly on both systems. The .cfm file is about 75 KB and it uses CFInput with validation. Richard Ramos Network Administrator Softitler Net, Inc. www.softitler.com [EMAIL PROTECTED] > -Original Message- > From: Brian Fox [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 8:28 AM > To: CF-Talk > Subject: Compacting .cfm files > > > Sorry if this is beating a dead horse. A search of the archives brought up > similar questions, but didn't really approach a solution. > > I have a form that contains as many as 200 select boxes with about 6 options > each and 200 more input boxes. I guess that there is some type of resource > crunch (memory, widget handles, who knows) that causes the following error: > when scrolling a large form, the select boxes begin to smear vertically. > They become clumped together and function oddly (some still seem to work, > although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... which throws > out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. Our shop is > indent happy for readability. The indenting produces a LOT of whitespace > (perhaps bloating the code as much as 100%). I've already added > tags to squash output on custom tags, queries, etc. But there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm files? Er, > something along the lines of turning an indented file into a really long > single string? Is there a code beautifier to do the opposite? Is this > approach worthwhile? > > Thanks, > Brian > ~~ 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: Compacting .cfm files
lmao -Original Message- From: Bryan Love [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 12:11 PM To: CF-Talk Subject: RE: Compacting .cfm files Here's a comparable question: I have a small pickup and I need to haul 42 elephants, but when I load the elephants into the pickup it scrapes on the pavement. Does anyone know of a kit I could install to stiffen up the springs? I was thinking about removing the tailgate to reduce the overall weight of the load. Get new specs. Bryan Love ACP Internet Application Developer [EMAIL PROTECTED] -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 8:28 AM To: CF-Talk Subject: Compacting .cfm files Sorry if this is beating a dead horse. A search of the archives brought up similar questions, but didn't really approach a solution. I have a form that contains as many as 200 select boxes with about 6 options each and 200 more input boxes. I guess that there is some type of resource crunch (memory, widget handles, who knows) that causes the following error: when scrolling a large form, the select boxes begin to smear vertically. They become clumped together and function oddly (some still seem to work, although I can't tell what 'line' they belong to). It's in the project specs that I cannot break the form up... which throws out the 'display records 1-20 21-40' type solutions. The only thing I can think to do is tighten the cfm code up. Our shop is indent happy for readability. The indenting produces a LOT of whitespace (perhaps bloating the code as much as 100%). I've already added tags to squash output on custom tags, queries, etc. But there is still a lot of whitespace in the other 'normal' code. Are there any utilities to obliterate whitespace in cfm files? Er, something along the lines of turning an indented file into a really long single string? Is there a code beautifier to do the opposite? Is this approach worthwhile? Thanks, Brian ~~ 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: Compacting .cfm files
Here's a comparable question: I have a small pickup and I need to haul 42 elephants, but when I load the elephants into the pickup it scrapes on the pavement. Does anyone know of a kit I could install to stiffen up the springs? I was thinking about removing the tailgate to reduce the overall weight of the load. Get new specs. Bryan Love ACP Internet Application Developer [EMAIL PROTECTED] -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 8:28 AM To: CF-Talk Subject: Compacting .cfm files Sorry if this is beating a dead horse. A search of the archives brought up similar questions, but didn't really approach a solution. I have a form that contains as many as 200 select boxes with about 6 options each and 200 more input boxes. I guess that there is some type of resource crunch (memory, widget handles, who knows) that causes the following error: when scrolling a large form, the select boxes begin to smear vertically. They become clumped together and function oddly (some still seem to work, although I can't tell what 'line' they belong to). It's in the project specs that I cannot break the form up... which throws out the 'display records 1-20 21-40' type solutions. The only thing I can think to do is tighten the cfm code up. Our shop is indent happy for readability. The indenting produces a LOT of whitespace (perhaps bloating the code as much as 100%). I've already added tags to squash output on custom tags, queries, etc. But there is still a lot of whitespace in the other 'normal' code. Are there any utilities to obliterate whitespace in cfm files? Er, something along the lines of turning an indented file into a really long single string? Is there a code beautifier to do the opposite? Is this approach worthwhile? Thanks, Brian ~~ 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: Compacting .cfm files
Have you tested viewing this page on different machines? Try viewing it on a Mac, and on a Unix box also. This sounds like a video card driver issue, and not something to do with the form itself. -Moazam On Fri, 25 May 2001, Brian Fox wrote: > > I have a form that contains as many as 200 select boxes with about 6 options > each and 200 more input boxes. I guess that there is some type of resource > crunch (memory, widget handles, who knows) that causes the following error: > when scrolling a large form, the select boxes begin to smear vertically. > They become clumped together and function oddly (some still seem to work, > although I can't tell what 'line' they belong to). > > Thanks, > Brian > ~~ 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: Compacting .cfm files
On 25 May 2001, at 8:27, Brian Fox wrote: > I have a form that contains as many as 200 select boxes with > about 6 options each and 200 more input boxes. I guess that > there is some type of resource crunch (memory, widget handles, > who knows) that causes the following error: when scrolling a > large form, the select boxes begin to smear vertically. They > become clumped together and function oddly (some still seem to > work, although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... > which throws out the 'display records 1-20 21-40' type > solutions. I see no alternative but to get the specs changed. I seriously doubt that eliminating whitespace will solve anything. A few kilobytes of spaces or tabs in your HTML aren't what's causing the problem. You just have too many form elements for reliable performance. Keith C. Ivey <[EMAIL PROTECTED]> Webmaster, EEI Communications 66 Canal Center Plaza, Suite 200 Alexandria, VA 22314 Telephone: 703-683-0683 Fax: 703-683-4915 Web Site: http://www.eeicommunications.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: Compacting .cfm files
I would imagine violence is the best alternative I think I would shoot the spec writer Seriously, I would demo this to someone who CAN modify the specs, using a slow machine with little ram, and a dial up connection. Call Guinness if the monstrosity works, even marginally acceptable. -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 10:28 AM To: CF-Talk Subject: Compacting .cfm files Sorry if this is beating a dead horse. A search of the archives brought up similar questions, but didn't really approach a solution. I have a form that contains as many as 200 select boxes with about 6 options each and 200 more input boxes. I guess that there is some type of resource crunch (memory, widget handles, who knows) that causes the following error: when scrolling a large form, the select boxes begin to smear vertically. They become clumped together and function oddly (some still seem to work, although I can't tell what 'line' they belong to). It's in the project specs that I cannot break the form up... which throws out the 'display records 1-20 21-40' type solutions. The only thing I can think to do is tighten the cfm code up. Our shop is indent happy for readability. The indenting produces a LOT of whitespace (perhaps bloating the code as much as 100%). I've already added tags to squash output on custom tags, queries, etc. But there is still a lot of whitespace in the other 'normal' code. Are there any utilities to obliterate whitespace in cfm files? Er, something along the lines of turning an indented file into a really long single string? Is there a code beautifier to do the opposite? Is this approach worthwhile? Thanks, Brian ~~ 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: Compacting .cfm files
200+ fields is far too many for any web-based form. And your problem isn't your code, it's your video card. You need to better educate your client as to the limitations of the web. ---mark Mark Warrick - Fusioneers.com Email: [EMAIL PROTECTED] Phone: 714-547-5386 http://www.fusioneers.com http://www.warrick.net > -Original Message- > From: Brian Fox [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 25, 2001 8:28 AM > To: CF-Talk > Subject: Compacting .cfm files > > > Sorry if this is beating a dead horse. A search of the archives > brought up > similar questions, but didn't really approach a solution. > > I have a form that contains as many as 200 select boxes with > about 6 options > each and 200 more input boxes. I guess that there is some type > of resource > crunch (memory, widget handles, who knows) that causes the > following error: > when scrolling a large form, the select boxes begin to smear vertically. > They become clumped together and function oddly (some still seem to work, > although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... which throws > out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. Our shop is > indent happy for readability. The indenting produces a LOT of whitespace > (perhaps bloating the code as much as 100%). I've already added > > tags to squash output on custom tags, queries, etc. But there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm files? Er, > something along the lines of turning an indented file into a really long > single string? Is there a code beautifier to do the opposite? Is this > approach worthwhile? > > Thanks, > Brian > > ~~ 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: Compacting .cfm files
There used to be a tag called StripWhiteSpace or something like that. I just looked in the tag gallery and couldn't find it on my first pass. I would push to rethink your specs. The architecture of your page sounds like an endless pit of nightmares good luck! Steve "Brian Fox" <[EMAIL PROTECTED]> wrote in message 85321A4755BED211B3A600805FA70FB702EE8E82@NTXDISTRICT">news:85321A4755BED211B3A600805FA70FB702EE8E82@NTXDISTRICT... > Sorry if this is beating a dead horse. A search of the archives brought up > similar questions, but didn't really approach a solution. > > I have a form that contains as many as 200 select boxes with about 6 options > each and 200 more input boxes. I guess that there is some type of resource > crunch (memory, widget handles, who knows) that causes the following error: > when scrolling a large form, the select boxes begin to smear vertically. > They become clumped together and function oddly (some still seem to work, > although I can't tell what 'line' they belong to). > > It's in the project specs that I cannot break the form up... which throws > out the 'display records 1-20 21-40' type solutions. > > The only thing I can think to do is tighten the cfm code up. Our shop is > indent happy for readability. The indenting produces a LOT of whitespace > (perhaps bloating the code as much as 100%). I've already added > tags to squash output on custom tags, queries, etc. But there is still a > lot of whitespace in the other 'normal' code. > > Are there any utilities to obliterate whitespace in cfm files? Er, > something along the lines of turning an indented file into a really long > single string? Is there a code beautifier to do the opposite? Is this > approach worthwhile? > > Thanks, > Brian > > ~~ 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