CFPDF Performance Issues
I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~| 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:345249 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: assigning javascript variable to coldfusion.Please assist
OK. It looks like I misread your code earlier -- I thought you were hard-coding the variable, when you were actually getting it from a cfinput. Unfortunately, I haven't used Dreamweaver in years (since MX 2004, I believe), so not sure how you'd do it in there. Others here probably have experience with that. But, I guess I'm not certain what exactly the goal is. If the URL is being provided by user-input in a cfinput, then a cfmodule at the end of that page won't be able to get that (because the cfmodule is processed before the page is displayed to the user). Perhaps you can explain what you're trying to accomplish a bit more, and I (or someone else on here) would be able to help you accomplish that (or provide a better way to do it). Scott On Mon, Jun 13, 2011 at 11:31 AM, Gunjan Upadhayay 29gunjanupadha...@gmail.com wrote: Thanks for all your help. But we need to store the url into a coldfusion variable as at the end of the code,we pass the url to other modules which use this url in other pages. Also, i am not that familiar with how to use Ajax in Dreamweaver. Any help would be highly appreciated. -- - Scott Brady http://www.scottbrady.net/ ~| 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:345250 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 5.5
I hate to sound like I'm hating on CFB - I love CFB - but I'm giving up on using it for front end dev and just going to use it for pure CF. I agree 100% with this. And it's not hating on CF. It's just using CF's stronger attributes (server side computing) and using other tools for client-side. It is very tempting anytime someone asks a question about cfform or cflayout to advise someone to switch to an alternative method, but I hold my tongue. To each their own. J - Ninety percent of politicians give the other ten percent a bad reputation. - Henry Kissinger Politicians are people who, when they see light at the end of the tunnel, go out and buy some more tunnel. - John Quinton ~| 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:345251 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPDF Performance Issues
What type of speed differences are you seeing? Milliseconds or seconds? Is it consistently slower at creating any PDF, or is it only a particular PDF that is slow? Is the more powerful server also handling a lot more traffic/processing activity, outside of the PDF creation event? If you remove all the images from the PDF, is there still a noticeable speed difference? -Mike Chabot On Tue, Jun 14, 2011 at 4:48 AM, Edward Chanter firew...@cc.uk.com wrote: I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~| 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:345252 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
On the dev server generating a simple page takes about 7 seconds, on the fast production server it takes about 15 seconds. That's including images and stuff. I created simple HTML page with the word test on it and that comes through very quickly so it does feel like the issue is related to images or CSS or something. I've seen a lot of posts online (and in cf-talk) about calling the images using file:// instead of the http. I tried that in my code but it didn't seem to make any difference. I'm using a CFHTTP request to grab a page URL and then taking the #fileContent# and embedding that into the cfdocument tags. It's weird though because both servers talk to the same code and database so if there was an issue with images then one might expect it to happen on both servers. -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 14:03 To: cf-talk Subject: Re: CFPDF Performance Issues What type of speed differences are you seeing? Milliseconds or seconds? Is it consistently slower at creating any PDF, or is it only a particular PDF that is slow? Is the more powerful server also handling a lot more traffic/processing activity, outside of the PDF creation event? If you remove all the images from the PDF, is there still a noticeable speed difference? -Mike Chabot On Tue, Jun 14, 2011 at 4:48 AM, Edward Chanter firew...@cc.uk.com wrote: I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~~ ~~~| 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:345252 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:345253 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPDF Performance Issues
We've seen that when we have CFPDF's with Images that as ridiculous as this sounds sometimes we need to move the images to different domains (multi domain system on same CF server) or sometimes just different folders. Comment out images (if you have any) and see if that speeds it up? - Patrick Kerley kerl...@yahoo.com - From: Edward Chanter firew...@cc.uk.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, June 14, 2011 4:48 AM Subject: CFPDF Performance Issues I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~| 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:345254 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
I will try that, thanks :) It'll take me a while because the pages are relative complex but I will let you know how it goes. -Original Message- From: Patrick Kerley [mailto:kerl...@yahoo.com] Sent: 14 June 2011 14:14 To: cf-talk Subject: Re: CFPDF Performance Issues We've seen that when we have CFPDF's with Images that as ridiculous as this sounds sometimes we need to move the images to different domains (multi domain system on same CF server) or sometimes just different folders. Comment out images (if you have any) and see if that speeds it up? - Patrick Kerley kerl...@yahoo.com - From: Edward Chanter firew...@cc.uk.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, June 14, 2011 4:48 AM Subject: CFPDF Performance Issues I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~~ ~~~| 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:345254 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cf ~| 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:345255 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 5.5
Well, it's installed. I've not done anything but open it up, but I gotta say, it opens a hell of a lot faster than DW CS4 ever did. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:345256 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPDF Performance Issues
Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot On Tue, Jun 14, 2011 at 9:31 AM, Edward Chanter firew...@cc.uk.com wrote: I will try that, thanks :) It'll take me a while because the pages are relative complex but I will let you know how it goes. -Original Message- From: Patrick Kerley [mailto:kerl...@yahoo.com] Sent: 14 June 2011 14:14 To: cf-talk Subject: Re: CFPDF Performance Issues We've seen that when we have CFPDF's with Images that as ridiculous as this sounds sometimes we need to move the images to different domains (multi domain system on same CF server) or sometimes just different folders. Comment out images (if you have any) and see if that speeds it up? - Patrick Kerley kerl...@yahoo.com - From: Edward Chanter firew...@cc.uk.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, June 14, 2011 4:48 AM Subject: CFPDF Performance Issues I'm having a bit of a weird issue with the creation of PDFs. The issue is quite simple, we have two servers and one is generating PDFs much faster than the other. The weird thing is that the server which is slow is our 64bit production server running CF 8.0.1 Enterprise and the faster server is the old 32bit CF 8.0.1 standard box. One would logically expect the big fast production server to process the PDF much faster. I'm using the exact same CFML page to generate the PDF including the same data, images, etc. The problem I'm having is trying to get to the bottom of what is causing the difference in speed. To that end does anyone know what might cause the CFPDF service to take a long time to create the PDF? I'm seeing nothing in my logs and the performance monitor only tells me that the page is slow. Any ideas are most welcome because this one has me completely stumped. :) ~~ ~~~| 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:345254 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cf ~| 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:345257 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
I tried a very simple test of using replace() to edit the URL of the images to our dev box so the image come from a different domain. The loading time of one 4 page PDF went from 2+ minutes to about 6 seconds so it seems like this is the problem. I don't understand why it's just started happening; this code has been live for over a year without anyone complaining. Regardless, I think I have a fix for it so thanks to everyone for the assistance :) -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 15:19 To: cf-talk Subject: Re: CFPDF Performance Issues Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot ~| 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:345258 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Regular Expression Help
I have a regular expression issue. I have information that says: ~{Test Information/a/li That in a series of processing should look like ~{Test Information}~/a/li Any idea in a rereplace how I can replace anything that is ~{*/a/li with ~{*}~/a/li Thanks Pat - Patrick Kerley kerl...@yahoo.com ~| 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:345259 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regular Expression Help
If you'd like you can use the underlying java implementation of replaceAll. Cfset str = ~{Test Information2/a/li~{Test Information/a/li~{Test Information4/a/li~{Test Information/a/li / cfdump var=#str.replaceAll( ([a-zA-Z0-9])/a/li, $1}~/a/li )# / Should show: ~{Test Information2}~/a/li~{Test Information}~/a/li~{Test Information4}~/a/li~{Test Information}~/a/li -Pat On Tue, Jun 14, 2011 at 7:49 AM, Patrick Kerley kerl...@yahoo.com wrote: I have a regular expression issue. I have information that says: ~{Test Information/a/li That in a series of processing should look like ~{Test Information}~/a/li Any idea in a rereplace how I can replace anything that is ~{*/a/li with ~{*}~/a/li Thanks Pat - Patrick Kerley kerl...@yahoo.com ~| 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:345260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
So to flog the preverbial undead horse
I've been a CF developer for over 8 years. in that time I've seen I don't know how many threads on how CF is a dying language. In my experience however it seems to have a consistent level of demand. Recruiters have told me that in the future I should move out the CF field and more into C#/ASP realm. I'm very happy in my current position and I am compensated quite well. But as someone who is 36 and with 2 children there is some concern about future career. So my question to all of you is easy: can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Cheers ~| 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:345261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
That's bizarre. What happens if you use an IP address instead of a domain? Is this a bug? Brook -Original Message- From: Edward Chanter [mailto:firew...@cc.uk.com] Sent: June-14-11 7:45 AM To: cf-talk Subject: RE: CFPDF Performance Issues I tried a very simple test of using replace() to edit the URL of the images to our dev box so the image come from a different domain. The loading time of one 4 page PDF went from 2+ minutes to about 6 seconds so it seems like this is the problem. I don't understand why it's just started happening; this code has been live for over a year without anyone complaining. Regardless, I think I have a fix for it so thanks to everyone for the assistance :) -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 15:19 To: cf-talk Subject: Re: CFPDF Performance Issues Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot ~| 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:345262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? You're posting on a list made up mostly (I'd assume) of people who get most/all of their bills/clothing/bacon money from CF so I'd call this a yes. If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Alternative pathways are always/usually a good idea. In no particular order: - sysadmin - DBA - UI/UX - IT/Project management - new CF framework - new application development language - new RDBMS - etc On Tue, Jun 14, 2011 at 10:05 AM, Integration Developer tyrsbl...@gmail.com wrote: I've been a CF developer for over 8 years. in that time I've seen I don't know how many threads on how CF is a dying language. In my experience however it seems to have a consistent level of demand. Recruiters have told me that in the future I should move out the CF field and more into C#/ASP realm. I'm very happy in my current position and I am compensated quite well. But as someone who is 36 and with 2 children there is some concern about future career. So my question to all of you is easy: can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Cheers ~| 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:345263 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
Well the CF community has been great for me and I have made some good friends in it. I was just looking for some clarity and to see if anyone has thought about this and to see if they decided CF is going for the long run or dying out. All PR and Flame War BS aside. can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? You're posting on a list made up mostly (I'd assume) of people who get most/all of their bills/clothing/bacon money from CF so I'd call this a yes. If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Alternative pathways are always/usually a good idea. In no particular order: - sysadmin - DBA - UI/UX - IT/Project management - new CF framework - new application development language - new RDBMS - etc On Tue, Jun 14, 2011 at 10:05 AM, Integration Developer tyrsbl...@gmail.com wrote: ~| 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:345264 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regular Expression Help
This might be more of what you are looking for. It captures special characters as well and should fit more in line to what you want. Cfset str = ~{Test Infor$%mation2$/a/li~{Test Information/a/li~{Test Information4/a/li~{Test Information/a/li / cfdump var=#str.replaceAll( (~\{.*?)/a/li, $1}~/a/li )# / 2011/6/14 Patrick Santora patwe...@gmail.com If you'd like you can use the underlying java implementation of replaceAll. Cfset str = ~{Test Information2/a/li~{Test Information/a/li~{Test Information4/a/li~{Test Information/a/li / cfdump var=#str.replaceAll( ([a-zA-Z0-9])/a/li, $1}~/a/li )# / Should show: ~{Test Information2}~/a/li~{Test Information}~/a/li~{Test Information4}~/a/li~{Test Information}~/a/li -Pat On Tue, Jun 14, 2011 at 7:49 AM, Patrick Kerley kerl...@yahoo.com wrote: I have a regular expression issue. I have information that says: ~{Test Information/a/li That in a series of processing should look like ~{Test Information}~/a/li Any idea in a rereplace how I can replace anything that is ~{*/a/li with ~{*}~/a/li Thanks Pat - Patrick Kerley kerl...@yahoo.com ~| 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:345265 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
Using an IP won't work because the IP resolves to multiple virtual hosts :) Yeah I agree it is bizarre. Then again I'm still on CF8 so maybe this has been solved in CF9 -Original Message- From: Brook Davies [mailto:cft...@logiforms.com] Sent: 14 June 2011 16:11 To: cf-talk Subject: RE: CFPDF Performance Issues That's bizarre. What happens if you use an IP address instead of a domain? Is this a bug? Brook -Original Message- From: Edward Chanter [mailto:firew...@cc.uk.com] Sent: June-14-11 7:45 AM To: cf-talk Subject: RE: CFPDF Performance Issues I tried a very simple test of using replace() to edit the URL of the images to our dev box so the image come from a different domain. The loading time of one 4 page PDF went from 2+ minutes to about 6 seconds so it seems like this is the problem. I don't understand why it's just started happening; this code has been live for over a year without anyone complaining. Regardless, I think I have a fix for it so thanks to everyone for the assistance :) -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 15:19 To: cf-talk Subject: Re: CFPDF Performance Issues Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot ~~ ~~~| 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:345262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:345266 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
My assumption is that most/all of the people who think the CF is dying out are no longer monitoring this list. So I suspect you won't get their opinion. Bottom line: if you're currently gainfully employed and actively improving and/or diversifying, you should be fine. I've been (mostly) a pro CF dev for 15 years with no complaints.* *past performance is not necessarily indicative of future results On Tue, Jun 14, 2011 at 10:14 AM, Integration Developer tyrsbl...@gmail.com wrote: Well the CF community has been great for me and I have made some good friends in it. I was just looking for some clarity and to see if anyone has thought about this and to see if they decided CF is going for the long run or dying out. All PR and Flame War BS aside. can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? You're posting on a list made up mostly (I'd assume) of people who get most/all of their bills/clothing/bacon money from CF so I'd call this a yes. If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Alternative pathways are always/usually a good idea. In no particular order: - sysadmin - DBA - UI/UX - IT/Project management - new CF framework - new application development language - new RDBMS - etc On Tue, Jun 14, 2011 at 10:05 AM, Integration Developer tyrsbl...@gmail.com wrote: ~| 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:345267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: So to flog the preverbial undead horse
I've been hearing the CF is dying thing for at least the last 10 years and the old girl is still here and going strong :) -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: 14 June 2011 16:27 To: cf-talk Subject: Re: So to flog the preverbial undead horse My assumption is that most/all of the people who think the CF is dying out are no longer monitoring this list. So I suspect you won't get their opinion. Bottom line: if you're currently gainfully employed and actively improving and/or diversifying, you should be fine. I've been (mostly) a pro CF dev for 15 years with no complaints.* *past performance is not necessarily indicative of future results On Tue, Jun 14, 2011 at 10:14 AM, Integration Developer tyrsbl...@gmail.com wrote: Well the CF community has been great for me and I have made some good friends in it. I was just looking for some clarity and to see if anyone has thought about this and to see if they decided CF is going for the long run or dying out. All PR and Flame War BS aside. can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? You're posting on a list made up mostly (I'd assume) of people who get most/all of their bills/clothing/bacon money from CF so I'd call this a yes. If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Alternative pathways are always/usually a good idea. In no particular order: - sysadmin - DBA - UI/UX - IT/Project management - new CF framework - new application development language - new RDBMS - etc On Tue, Jun 14, 2011 at 10:05 AM, Integration Developer tyrsbl...@gmail.com wrote: ~~ ~~~| 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:345267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:345268 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: So to flog the preverbial undead horse
yep...CF has been dying ever since I started in 1998 - v 3.1 It is wise to ask the questions you're asking, but if you are gainfully employeed you are in the perfect situation to protect yourself. While employed you can carve off some time to learn some other language. That will benefit you in 2 ways; 1) the more tools in the tool belt the better the programmer you can become (note I said can folks...not will) 2) You'll be ready if the smelly stuff hits the fan. How's that for silver lining? ;-) ohand have a look at FLEXthat with CF as the backend is a great combo IMHO. Cheers On Tue, 2011-06-14 at 16:34 +0100, Edward Chanter wrote: I've been hearing the CF is dying thing for at least the last 10 years and the old girl is still here and going strong :) -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: 14 June 2011 16:27 To: cf-talk Subject: Re: So to flog the preverbial undead horse My assumption is that most/all of the people who think the CF is dying out are no longer monitoring this list. So I suspect you won't get their opinion. Bottom line: if you're currently gainfully employed and actively improving and/or diversifying, you should be fine. I've been (mostly) a pro CF dev for 15 years with no complaints.* *past performance is not necessarily indicative of future results On Tue, Jun 14, 2011 at 10:14 AM, Integration Developer tyrsbl...@gmail.com wrote: Well the CF community has been great for me and I have made some good friends in it. I was just looking for some clarity and to see if anyone has thought about this and to see if they decided CF is going for the long run or dying out. All PR and Flame War BS aside. can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? You're posting on a list made up mostly (I'd assume) of people who get most/all of their bills/clothing/bacon money from CF so I'd call this a yes. If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Alternative pathways are always/usually a good idea. In no particular order: - sysadmin - DBA - UI/UX - IT/Project management - new CF framework - new application development language - new RDBMS - etc On Tue, Jun 14, 2011 at 10:05 AM, Integration Developer tyrsbl...@gmail.com wrote: ~~ ~~~| 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:345267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:345269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: So to flog the preverbial undead horse
This is not a CF issue as much as it is a don't be a one trick pony issue. Regardless of the language or product or technology you focus on, you absolutely need to also branch out and broaden your skills. And this is not a new issue, back in the 90's I wrote about how the best ColdFusion developers also had skills in other languages and technologies, and that broadening your repertoire would actually help you write better CF, too. Ideally you'd do this with related technologies, so that what you learn and use adds value to your current job and projects while also setting you up for future success, be it server-side Java (which is invaluable in CF project but which also has value outside of CF) or mastering client libraries like jQuery (again, useful with CF but also useful independent of CF), and so on. Bottom line, be it CF or ASP or PHP or anything else, your long time value in this industry requires that you keep adding to your skillset - if you are not broadening your skillset then you're gradually fading into obscurity. --- Ben -Original Message- From: Integration Developer [mailto:tyrsbl...@gmail.com] Sent: Tuesday, June 14, 2011 11:05 AM To: cf-talk Subject: So to flog the preverbial undead horse I've been a CF developer for over 8 years. in that time I've seen I don't know how many threads on how CF is a dying language. In my experience however it seems to have a consistent level of demand. Recruiters have told me that in the future I should move out the CF field and more into C#/ASP realm. I'm very happy in my current position and I am compensated quite well. But as someone who is 36 and with 2 children there is some concern about future career. So my question to all of you is easy: can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Cheers ~| 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:345270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
In my spare time I am doing mobile development with unity3d and C#(Mono). I have a large SQL dev background I can fall on with SSIS and SSRS. But I wanted a frank gut check from the troops on where we are at and what our future looks like. yep...CF has been dying ever since I started in 1998 - v 3.1 It is wise to ask the questions you're asking, but if you are gainfully employeed you are in the perfect situation to protect yourself. While employed you can carve off some time to learn some other language. That will benefit you in 2 ways; 1) the more tools in the tool belt the better the programmer you can become (note I said can folks...not will) 2) You'll be ready if the smelly stuff hits the fan. How's that for silver lining? ;-) ohand have a look at FLEXthat with CF as the backend is a great combo IMHO. Cheers On Tue, 2011-06-14 at 16:34 +0100, Edward Chanter wrote: ~| 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:345271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
Thanks Ben, actually saw your presentation at Vurv Technology in Jacksonville some years back and you did mention the one trick pony issue. I've spent a good deal time Learning Java in my CIS track and I can't tell you how much that deepened my understanding of CF. This is not a CF issue as much as it is a don't be a one trick pony issue. Regardless of the language or product or technology you focus on, you absolutely need to also branch out and broaden your skills. And this is not a new issue, back in the 90's I wrote about how the best ColdFusion developers also had skills in other languages and technologies, and that broadening your repertoire would actually help you write better CF, too. Ideally you'd do this with related technologies, so that what you learn and use adds value to your current job and projects while also setting you up for future success, be it server-side Java (which is invaluable in CF project but which also has value outside of CF) or mastering client libraries like jQuery (again, useful with CF but also useful independent of CF), and so on. Bottom line, be it CF or ASP or PHP or anything else, your long time value in this industry requires that you keep adding to your skillset - if you are not broadening your skillset then you're gradually fading into obscurity. --- Ben I've been a CF developer for over 8 years. in that time I've seen I don't know how many threads on how CF is a dying language. In my experience however it seems to have a consistent level of demand. Recruiters have told me that in the future I should move out the CF field and more into C#/ASP realm. I'm very happy in my current position and I am compensated quite well. But as someone who is 36 and with 2 children there is some concern about future career. So my question to all of you is easy: can you convince me that CF will continue to pay my bills, clothe my children and put bacon in the beans? If not, suggest some alternative pathways (honestly with a CIS/Business minor degree I've thought about IT management.). Cheers ~| 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:345272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
I'd definitely ditto the Flex recommendation - along with jQuery. I used to assume everything front end was design-y and something I couldn't do - but learning JavaScript (mainly jQuery) and Flex has complemented my CF skills well. On Tue, Jun 14, 2011 at 10:40 AM, Bryan Stevenson br...@electricedgesystems.com wrote: yep...CF has been dying ever since I started in 1998 - v 3.1 It is wise to ask the questions you're asking, but if you are gainfully employeed you are in the perfect situation to protect yourself. While employed you can carve off some time to learn some other language. That will benefit you in 2 ways; 1) the more tools in the tool belt the better the programmer you can become (note I said can folks...not will) 2) You'll be ready if the smelly stuff hits the fan. How's that for silver lining? ;-) ohand have a look at FLEXthat with CF as the backend is a great combo IMHO. Cheers ~| 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:345273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fuseguard processing time
In production our average page times are between 200-300 ms during peak load. This for all the pages that are DB intensive ect. The 20ms page I tested on had no DB queries or much of any code. I guess you could be right that the hot spot compiler might kick in and optimize those classes/code. I might have to just run it in production and see how it fares.. Brook -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: June-13-11 4:06 PM To: cf-talk Subject: Re: Fuseguard processing time On Mon, Jun 13, 2011 at 11:09 AM, Brook Davies cft...@logiforms.com wrote: And my test was done under zero load, so under peak load this number could go up. It could also go down. Until you test, you won't know. Under heavy load, the HotSpot compiler in the JVM may work to your benefit and speed things up. You may also benefit from the code being shared across many concurrent requests. Do you know what your typical response times are for your pages today in production under peak load? -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) ~| 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:345274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
yeah, I'm being immersed in jquery here at work. jqGrid specifically. Flex had my interest for a couple months but quickly faded as I wanted to integrate it with live-cycle to begin a framework for persistent worlds in game. but alas flash does not support hardware acceleration and it became a moot point. I switched to learning c#/mono in unity3d. I'd definitely ditto the Flex recommendation - along with jQuery. I used to assume everything front end was design-y and something I couldn't do - but learning JavaScript (mainly jQuery) and Flex has complemented my CF skills well. Cheers ~| 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:345275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPDF Performance Issues
You may have some dns issues on the server, you should test this first. Flush the dns and restart cf. Do some ping tracert and nslookup. On 14 Jun 2011 16:11, Brook Davies cft...@logiforms.com wrote: That's bizarre. What happens if you use an IP address instead of a domain? Is this a bug? Brook -Original Message- From: Edward Chanter [mailto:firew...@cc.uk.com] Sent: June-14-11 7:45 AM To: cf-talk Subject: RE: CFPDF Performance Issues I tried a very simple test of using replace() to edit the URL of the images to our dev box so the image come from a different domain. The loading time of one 4 page PDF went from 2+ minutes to about 6 seconds so it seems like this is the problem. I don't understand why it's just started happening; this code has been live for over a year without anyone complaining. Regardless, I think I have a fix for it so thanks to everyone for the assistance :) -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 15:19 To: cf-talk Subject: Re: CFPDF Performance Issues Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot ~| 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:345276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
As far as I can tell, when a larger entity swaps away from CF it's generally in favour of C# on .NET. My employer and a few of the larger dev shops I talked with have been making this move. If you're spending time on .NET, I suggest getting into MVC3 and sticking with C#. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 June 2011 23:45, Integration Developer tyrsbl...@gmail.com wrote: In my spare time I am doing mobile development with unity3d and C#(Mono). I have a large SQL dev background I can fall on with SSIS and SSRS. But I wanted a frank gut check from the troops on where we are at and what our future looks like. ~| 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:345277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
I'll second this. I've been in 2 places now where they've shifted away from CF development to .NET. In one case they had nothing but CF and Java developers but that didn't matter to upper management. I would also suggest learning site building platforms, CMS packages, etc., as there is an ever increasing need for smaller clients to want online services that are self-manageable but they don't have the experience/knowledge to setup on their own, Phil On Tue, Jun 14, 2011 at 12:01 PM, James Holmes james.hol...@gmail.comwrote: As far as I can tell, when a larger entity swaps away from CF it's generally in favour of C# on .NET. My employer and a few of the larger dev shops I talked with have been making this move. If you're spending time on .NET, I suggest getting into MVC3 and sticking with C#. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ ~| 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:345278 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
Flash doesn't support hardware acceleration? http://www.adobe.com/devnet/flashplayer/articles/fplayer10_1_hardware_acceleration.html Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://blog.cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 6/14/2011 11:58 AM, Integration Developer wrote: yeah, I'm being immersed in jquery here at work. jqGrid specifically. Flex had my interest for a couple months but quickly faded as I wanted to integrate it with live-cycle to begin a framework for persistent worlds in game. but alas flash does not support hardware acceleration and it became a moot point. I switched to learning c#/mono in unity3d. I'd definitely ditto the Flex recommendation - along with jQuery. I used to assume everything front end was design-y and something I couldn't do - but learning JavaScript (mainly jQuery) and Flex has complemented my CF skills well. Cheers ~| 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:345279 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
That's mostly for rendering video not for rendering models in game. Flash doesn't support hardware acceleration? http://www.adobe. com/devnet/flashplayer/articles/fplayer10_1_hardware_acceleration. html Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://blog.cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub. com/learni ng-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 6/14/2011 11:58 AM, Integration Developer wrote: yeah, I'm being immersed in jquery here at work. jqGrid specifically. Flex had my interest for a couple months but quickly faded as I wanted to integrate it with live-cycle to begin a framework for persistent worlds in game. but alas flash does not support hardware acceleration and it became a moot point. I switched to learning c#/mono in unity3d. I'd definitely ditto the Flex recommendation - along with jQuery. I used to assume everything front end was design-y and something I couldn't do - but learning JavaScript (mainly jQuery) and Flex has complemented my CF skills well. Cheers ~| 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:345280 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
gut check says CF is evolving and morphing to be useful in places it has not been before. I mentioned FLEX.something I wrote off in it's infancy because it was way too expensive and not mature.now it's practically free to use (just gotta pay for an editor) and much more mature Good to hear you've already moved away from that slacker one trick pony ;-) Cheers On Tue, 2011-06-14 at 11:45 -0400, Integration Developer wrote: In my spare time I am doing mobile development with unity3d and C#(Mono). I have a large SQL dev background I can fall on with SSIS and SSRS. But I wanted a frank gut check from the troops on where we are at and what our future looks like. yep...CF has been dying ever since I started in 1998 - v 3.1 It is wise to ask the questions you're asking, but if you are gainfully employeed you are in the perfect situation to protect yourself. While employed you can carve off some time to learn some other language. That will benefit you in 2 ways; 1) the more tools in the tool belt the better the programmer you can become (note I said can folks...not will) 2) You'll be ready if the smelly stuff hits the fan. How's that for silver lining? ;-) ohand have a look at FLEXthat with CF as the backend is a great combo IMHO. Cheers On Tue, 2011-06-14 at 16:34 +0100, Edward Chanter wrote: ~| 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:345281 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regular Expression Help
Give this a go: cfset Result = InputText.replaceAll ( '~\{(?:(?!/a).)+(?!\}~)(?=/a/li)' , '$0}~' ) / It uses the java replaceAll regex function so that it can do the negative lookbehind to ensure existing correct items are not changed, meaning it can be run multiple times. Accepts any character (except newline) until it finds a closing A tag. If newlines are required, that's just a one character change: '~\{(?s:(?!/a).)+(?!\}~)(?=/a/li)' (Which adds the 's' flag into what was a non-capturing group, meaning '.' also matches newlines.) If there's the possibly of a '~{' appearing outside this context, it may need extra limits applied to work correctly. Assuming there should not be any tags inside the ~{...}~ part, I would change the '.' for a '[^]' which makes it a bit 'safer': '~\{(?:(?!/a)[^])+(?!\}~)(?=/a/li)' ~| 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:345282 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
u.have you seen the Molehill API.holly carp Batman! The demo I saw of a Grand Theft Auto-esque game was freakin amazing for Flash!! just sayin ;-) On Tue, 2011-06-14 at 11:58 -0400, Integration Developer wrote: yeah, I'm being immersed in jquery here at work. jqGrid specifically. Flex had my interest for a couple months but quickly faded as I wanted to integrate it with live-cycle to begin a framework for persistent worlds in game. but alas flash does not support hardware acceleration and it became a moot point. I switched to learning c#/mono in unity3d. I'd definitely ditto the Flex recommendation - along with jQuery. I used to assume everything front end was design-y and something I couldn't do - but learning JavaScript (mainly jQuery) and Flex has complemented my CF skills well. Cheers ~| 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:345283 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
To be clear, you _don't_ have to pay for the editor. If you don't want Flash Builder you can write your code anywhere and compile via the command line. Flex is free. Flash Builder is not. On Tue, Jun 14, 2011 at 11:15 AM, Bryan Stevenson br...@electricedgesystems.com wrote: gut check says CF is evolving and morphing to be useful in places it has not been before. I mentioned FLEX.something I wrote off in it's infancy because it was way too expensive and not mature.now it's practically free to use (just gotta pay for an editor) and much more mature Good to hear you've already moved away from that slacker one trick pony ;-) ~| 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:345284 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
Yeah it has some great possibilities. but has a LONG way to go to catch up to unity3d's plugin. I've been following and I am anxiously awaiting the official release. u.have you seen the Molehill API.holly carp Batman! The demo I saw of a Grand Theft Auto-esque game was freakin amazing for Flash!! just sayin ;-) On Tue, 2011-06-14 at 11:58 -0400, Integrati ~| 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:345285 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
Of coursewe can all use Notepad for everything That saidthe editor is worth the increased productivitycode re-factoring...code insightand so on.. ...but yep...can be 100% free if you choose ;-) On Tue, 2011-06-14 at 11:21 -0500, Raymond Camden wrote: To be clear, you _don't_ have to pay for the editor. If you don't want Flash Builder you can write your code anywhere and compile via the command line. Flex is free. Flash Builder is not. On Tue, Jun 14, 2011 at 11:15 AM, Bryan Stevenson br...@electricedgesystems.com wrote: gut check says CF is evolving and morphing to be useful in places it has not been before. I mentioned FLEX.something I wrote off in it's infancy because it was way too expensive and not mature.now it's practically free to use (just gotta pay for an editor) and much more mature Good to hear you've already moved away from that slacker one trick pony ;-) ~| 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:345286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
haven't heard of the unity pluginwill have to take a peek On Tue, 2011-06-14 at 12:23 -0400, Integration Developer wrote: Yeah it has some great possibilities. but has a LONG way to go to catch up to unity3d's plugin. I've been following and I am anxiously awaiting the official release. u.have you seen the Molehill API.holly carp Batman! The demo I saw of a Grand Theft Auto-esque game was freakin amazing for Flash!! just sayin ;-) On Tue, 2011-06-14 at 11:58 -0400, Integrati ~| 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:345287 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
I recently upgraded to CF9 and have noticed that the moveTo function no longer seems to work to reposition a cfwindow. I still have a CF8 server running and the same code works perfectly in CF8, but throws the following JS error in CF9: Mywindow.moveTo is not a function I'm migrating an app and just ran into the same thing. it's still a function, just another one the effing bozzos at adobe loused up... The moveTo method is expecting the 'el' property of the window to contain an Ext.Element object but the CF constructor only loads the window id in there and the moveTo method doesn't check or validate it (this is the same as in CF8, but in CF8 the window constructor wisely uses the Ext BasicDialog constructor which correctly allocates an Ext.Element to the el member ) I haven't exhaustively researched this yet, but this will certainly break other Ext methods as well. As far as I can tell from looking at the script it doesn't appear that there would be any fallout from correcting their mistake an assigning an instance of an Ext.Element to the el member of the object like this: myWin.el=Ext.get(myWin.el); do this after you create the window object. btw in CF8 you had to create the window and then get a reference to it separately, now the window constructor returns an object reference: old: ColdFusion.Window.create('myWin','title',null,}) var myWin=ColdFusion.objectCache['myWin']; new: var myWin=ColdFusion.Window.create('myWin','title',null,}); if you really really want to fix it so you don't have to do that assignment every time you create a window you can modify you cfwindow.js file line 139: flawed: _de.el=_de.divid; fixed: _de.el=Ext.get(_de.divid); if you can't modify that line because you're on a shared server you can opt to copy the whole createJSObj() function to a localized file and override the default version of the function for your clients. Lines 126 - 204 in cfwindow.js ~| 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:345288 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPDF Performance Issues
Its still a problem in CF9. We deal with it all the time and it appears to be somewhat random. Other Images will be fine and won't slow things down. Currently I just operate an image repository in a Safe place and access them and it works. Pat - Patrick Kerley kerl...@yahoo.com - From: Edward Chanter firew...@cc.uk.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, June 14, 2011 11:27 AM Subject: RE: CFPDF Performance Issues Using an IP won't work because the IP resolves to multiple virtual hosts :) Yeah I agree it is bizarre. Then again I'm still on CF8 so maybe this has been solved in CF9 -Original Message- From: Brook Davies [mailto:cft...@logiforms.com] Sent: 14 June 2011 16:11 To: cf-talk Subject: RE: CFPDF Performance Issues That's bizarre. What happens if you use an IP address instead of a domain? Is this a bug? Brook -Original Message- From: Edward Chanter [mailto:firew...@cc.uk.com] Sent: June-14-11 7:45 AM To: cf-talk Subject: RE: CFPDF Performance Issues I tried a very simple test of using replace() to edit the URL of the images to our dev box so the image come from a different domain. The loading time of one 4 page PDF went from 2+ minutes to about 6 seconds so it seems like this is the problem. I don't understand why it's just started happening; this code has been live for over a year without anyone complaining. Regardless, I think I have a fix for it so thanks to everyone for the assistance :) -Original Message- From: Mike Chabot [mailto:mcha...@gmail.com] Sent: 14 June 2011 15:19 To: cf-talk Subject: Re: CFPDF Performance Issues Image handling is the most likely cause of the slowness. The first test I would do is to temporarily take out every image, or knock out all HTML tags if you are pulling content from CFHTTP, to see how many seconds those tags contribute to the creation time. -Mike Chabot ~~ ~~~| 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:345262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| 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:345289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
Unless I read you wrong, this is not something the effiing bozos (real classy there) at Adobe loused up. The version of Ext that shipped in CF9 is updated from CF8. This means that if you performed any _native_ functions on the objects, then there is a chance the API was dropped in the newer version of Ext. This is not a CF bug. At worst, you can blame Adobe for updating their version of Ext, but I guess they assumed that if you were going to be using Ext natively then you can probably handle checking the docs and updating your code. A lot of people ran into this with CFGRID. They would write code to get the grid object, ColdFusion.Grid.getGridObject, and then do stuff with that result. On Tue, Jun 14, 2011 at 11:48 AM, Steve L steve.e.l...@gmail.com wrote: I recently upgraded to CF9 and have noticed that the moveTo function no longer seems to work to reposition a cfwindow. I still have a CF8 server running and the same code works perfectly in CF8, but throws the following JS error in CF9: Mywindow.moveTo is not a function I'm migrating an app and just ran into the same thing. it's still a function, just another one the effing bozzos at adobe loused up... The moveTo method is expecting the 'el' property of the window to contain an Ext.Element object but the CF constructor only loads the window id in there and the moveTo method doesn't check or validate it (this is the same as in CF8, but in CF8 the window constructor wisely uses the Ext BasicDialog constructor which correctly allocates an Ext.Element to the el member ) I haven't exhaustively researched this yet, but this will certainly break other Ext methods as well. As far as I can tell from looking at the script it doesn't appear that there would be any fallout from correcting their mistake an assigning an instance of an Ext.Element to the el member of the object like this: myWin.el=Ext.get(myWin.el); do this after you create the window object. btw in CF8 you had to create the window and then get a reference to it separately, now the window constructor returns an object reference: old: ColdFusion.Window.create('myWin','title',null,}) var myWin=ColdFusion.objectCache['myWin']; new: var myWin=ColdFusion.Window.create('myWin','title',null,}); if you really really want to fix it so you don't have to do that assignment every time you create a window you can modify you cfwindow.js file line 139: flawed: _de.el=_de.divid; fixed: _de.el=Ext.get(_de.divid); if you can't modify that line because you're on a shared server you can opt to copy the whole createJSObj() function to a localized file and override the default version of the function for your clients. Lines 126 - 204 in cfwindow.js ~| 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:345290 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
Unless I read you wrong, this is not something the effiing bozos (real classy there) at Adobe loused up. The version of Ext that shipped in CF9 is updated from CF8. This means that if you performed any _native_ functions on the objects, then there is a chance the API was dropped in the newer version of Ext. This is not a CF bug. At worst, you can blame Adobe for updating their version of Ext, but I guess they assumed that if you were going to be using Ext natively then you can probably handle checking the docs and updating your code. A lot of people ran into this with CFGRID. They would write code to get the grid object, ColdFusion.Grid.getGridObject, and then do stuff with that result. true; my apologies for the over the top accusation. just wanted to mention that I was not correct about the constructor returning a reference; you do have to use getWindowObject or objectCache to get the reference. ~| 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:345291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
Unless I read you wrong, this is not something the effiing bozos (real classy there) at Adobe loused up. The version of Ext that shipped in CF9 is updated from CF8. This means that if you performed any _native_ functions on the objects, then there is a chance the API was dropped in the newer version of Ext. This is not a CF bug. At worst, you can blame Adobe for updating their version of Ext, but I guess they assumed that if you were going to be using Ext natively then you can probably handle checking the docs and updating your code. A lot of people ran into this with CFGRID. They would write code to get the grid object, ColdFusion.Grid.getGridObject, and then do stuff with that result. true; my apologies for the over the top accusation. just wanted to mention that I was not correct about the constructor returning a reference; you do have to use getWindowObject or objectCache to get the reference. ~| 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:345292 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regular Expression Help
Thanks that did it. I hate regular expressions (or maybe am in awe of their power) but you're my new best friend. - Patrick Kerley kerl...@yahoo.com - From: Peter Boughton bought...@gmail.com To: cf-talk cf-talk@houseoffusion.com Sent: Tuesday, June 14, 2011 12:16 PM Subject: Re: Regular Expression Help Give this a go: cfset Result = InputText.replaceAll ( '~\{(?:(?!/a).)+(?!\}~)(?=/a/li)' , '$0}~' ) / It uses the java replaceAll regex function so that it can do the negative lookbehind to ensure existing correct items are not changed, meaning it can be run multiple times. Accepts any character (except newline) until it finds a closing A tag. If newlines are required, that's just a one character change: '~\{(?s:(?!/a).)+(?!\}~)(?=/a/li)' (Which adds the 's' flag into what was a non-capturing group, meaning '.' also matches newlines.) If there's the possibly of a '~{' appearing outside this context, it may need extra limits applied to work correctly. Assuming there should not be any tags inside the ~{...}~ part, I would change the '.' for a '[^]' which makes it a bit 'safer': '~\{(?:(?!/a)[^])+(?!\}~)(?=/a/li)' ~| 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:345293 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: moveTo on cfwindow no longer working in CF9?
roflmao Subtle, but needs little clarification! -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: 14 June 2011 17:59 To: cf-talk Subject: Re: moveTo on cfwindow no longer working in CF9? Unless I read you wrong, this is not something the effiing bozos (real classy there) at Adobe loused up. ~| 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:345294 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
email from variable?
Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345295 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
Only if you asked the user to provide his/her email address. There is no way ColdFusion (or any other technology) can know this by itself. Kind regards, Guust Nieuwenhuis Adobe Community Champion www.lagaffe.be On 14 Jun 2011, at 20:16, Orlini, Robert wrote: Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345296 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: email from variable?
Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
If the user has entered their email address in a form, there are two potential ways to get it. If the form has method of POST, the email address will be in the FORM scope of the action page. If the form has a method of GET, the email address will be in the URL scope. Jason Durham On Tue, Jun 14, 2011 at 1:19 PM, Guust Nieuwenhuis i...@lagaffe.be wrote: Only if you asked the user to provide his/her email address. There is no way ColdFusion (or any other technology) can know this by itself. Kind regards, Guust Nieuwenhuis Adobe Community Champion www.lagaffe.be On 14 Jun 2011, at 20:16, Orlini, Robert wrote: Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: email from variable?
OK Thanks Ben and Guust. RO -Original Message- From: Ben Forta b...@forta.com Sent: Tuesday, June 14, 2011 2:21pm To: cf-talk cf-talk@houseoffusion.com Subject: RE: email from variable? Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345299 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: email from variable?
Imagine Robert what spammers could do if all you needed to do was view a site and they had your e-mail ;-) Cheers On Tue, 2011-06-14 at 14:23 -0400, Orlini, Robert wrote: OK Thanks Ben and Guust. RO -Original Message- From: Ben Forta b...@forta.com Sent: Tuesday, June 14, 2011 2:21pm To: cf-talk cf-talk@houseoffusion.com Subject: RE: email from variable? Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
wow, what a day... 10: open mouth ; 20: insert (foot || keyboard); 30: goto 10 I really ought to read the code I'm posting about before breaking out the flame thrower... this problem has more to do with the initshow option, when false the component isn't 'rendered' until CF.Window.show is called (or the underlying render method). Prior to rendering the el member may be a string and the body, header, footer properties aren't present; and of course calling certain methods (such as alignTo) prior to rendering is ill advised. Once rendered the el is resolved to an Ext.Element and the body, header, and footer properties are accessible. My bad, failure to RTFM your pal; bozo ~| 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:345301 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
this post made my day, I choked on my coffee :-) On Tue, Jun 14, 2011 at 7:27 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Imagine Robert what spammers could do if all you needed to do was view a site and they had your e-mail ;-) Cheers On Tue, 2011-06-14 at 14:23 -0400, Orlini, Robert wrote: OK Thanks Ben and Guust. RO -Original Message- From: Ben Forta b...@forta.com Sent: Tuesday, June 14, 2011 2:21pm To: cf-talk cf-talk@houseoffusion.com Subject: RE: email from variable? Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
You really should. I've yet to make a mistake like this in all my years of coding. Be ashamed, Steve, be ashamed. Now pardon me while I dodge the copious amount of lightning I see approaching my vicinity... On Tue, Jun 14, 2011 at 1:34 PM, Steve L steve.e.l...@gmail.com wrote: wow, what a day... 10: open mouth ; 20: insert (foot || keyboard); 30: goto 10 I really ought to read the code I'm posting about before breaking out the flame thrower... this problem has more to do with the initshow option, when false the component isn't 'rendered' until CF.Window.show is called (or the underlying render method). Prior to rendering the el member may be a string and the body, header, footer properties aren't present; and of course calling certain methods (such as alignTo) prior to rendering is ill advised. Once rendered the el is resolved to an Ext.Element and the body, header, and footer properties are accessible. -- === Raymond Camden, ColdFusion Jedi Master Email : r...@camdenfamily.com Blog : www.coldfusionjedi.com Twitter : cfjedimaster Keep up to date with Android news: http://www.androidgat ~| 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:345303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: moveTo on cfwindow no longer working in CF9?
Yes, and another mistake is your sample program: 10: open mouth ; 20: insert (foot || keyboard); 30: goto 10 This creates a never ending loop, so I hope you like the taste of feet / keyboard :-) Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| 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:345304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
I used to write loops like this on the Apple 2s at Sears. Or any machine I could run BASIC on. 60 seconds to type, run it, walk away. Sad. That's what passed for me being naughty when I was 10. On Tue, Jun 14, 2011 at 1:57 PM, Robert Harrison rob...@austin-williams.com wrote: Yes, and another mistake is your sample program: 10: open mouth ; 20: insert (foot || keyboard); 30: goto 10 This creates a never ending loop, so I hope you like the taste of feet / keyboard :-) ~| 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:345305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
Not necessary, cruel man.. On 14 Jun 2011, at 19:51, Russ Michaels r...@michaels.me.uk wrote: this post made my day, I choked on my coffee :-) On Tue, Jun 14, 2011 at 7:27 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Imagine Robert what spammers could do if all you needed to do was view a site and they had your e-mail ;-) Cheers On Tue, 2011-06-14 at 14:23 -0400, Orlini, Robert wrote: OK Thanks Ben and Guust. RO -Original Message- From: Ben Forta b...@forta.com Sent: Tuesday, June 14, 2011 2:21pm To: cf-talk cf-talk@houseoffusion.com Subject: RE: email from variable? Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 5.5
FWIW, the other Eclipse based IDE for CF, CFEclipse runs on Linux. On the Dev UI discussion...I have a related question... Does the CFBuilder Plugin work on Eclipse on a linux box? I can understand the standalone being a windows only thing as they put the package together using the Windows Binaries...but would the plugin work? I wanted to give it a try again with the new version...but I didn't see a *nix version anywhere. Eric ~| 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:345307 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moveTo on cfwindow no longer working in CF9?
I used to write loops like this on the Apple 2s at Sears. Or any machine I could run BASIC on. 60 seconds to type, run it, walk away. Sad. That's what passed for me being naughty when I was 10. Yes - I used to delight in watching my TRS-80 COCO 4 blow itself apart when I'd write a loop a POKE random values into random registers; gotta do something to take a break from keying in Hamurabi sometime. ~| 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:345308 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CDN and Coldfusion
Has anyone ever worked with a CDN like Akamai with Coldfusion where the actual content is distributed, not just images and documents? Thanks, Donnie ~| 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:345309 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CDN and Coldfusion
Oh greatat technical acronym is the same as our Canadian curency abbreviation - CDN I've worked with many Canadiansbut not like Akamai ;-) OK...I'm done On Tue, 2011-06-14 at 17:17 -0400, Donnie Carvajal wrote: Has anyone ever worked with a CDN like Akamai with Coldfusion where the actual content is distributed, not just images and documents? Thanks, Donnie ~| 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:345310 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CDN and Coldfusion
I know using a CDN can be done - a former client of my ran their CFM powered eComm site through a CDN service. I have no clue how it was setup though. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jun 14, 2011, at 4:23 PM, Bryan Stevenson wrote: Oh greatat technical acronym is the same as our Canadian curency abbreviation - CDN I've worked with many Canadiansbut not like Akamai ;-) OK...I'm done On Tue, 2011-06-14 at 17:17 -0400, Donnie Carvajal wrote: Has anyone ever worked with a CDN like Akamai with Coldfusion where the actual content is distributed, not just images and documents? Thanks, Donnie ~| 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:345311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CDN and Coldfusion
Has anyone ever worked with a CDN like Akamai with Coldfusion where the actual content is distributed, not just images and documents? Yes. We have several clients using Akamai with CF applications. They have a few different approaches for dealing with dynamically-generated content. 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 onsite. ~| 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:345312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF security update released today
http://www.adobe.com/support/security/bulletins/apsb11-14.html -- 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 onsite. ~| 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:345313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF 32bit or 64bit
I'm running Windows Server 2008 and I'm not sure which version of CF was installed on the server, 32-bit or 64-bit. I've looked in the settings summary and I can't see. I tried to install the 9.0.1 64-bit updater and got some error The ColdFusion 9 Application Server service could not be started. Check the server coldfusion log files for more information. And then something about a specified file not being found. So I'm wondering if I installed the wrong version of the updater. Any ideas would be helpful! Thanks! I reverted back successfully by moving the files in the updater_backup back to the ColdFusion9 directory and the the files in the jre_preinstaller folder (I think that was the name...) ~| 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:345314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: email from variable?
Not necessary, cruel man.. Ditto. Not cool at all. G! On Tue, Jun 14, 2011 at 3:02 PM, Matthew a.matthe...@yahoo.com wrote: Not necessary, cruel man.. On 14 Jun 2011, at 19:51, Russ Michaels r...@michaels.me.uk wrote: this post made my day, I choked on my coffee :-) On Tue, Jun 14, 2011 at 7:27 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Imagine Robert what spammers could do if all you needed to do was view a site and they had your e-mail ;-) Cheers On Tue, 2011-06-14 at 14:23 -0400, Orlini, Robert wrote: OK Thanks Ben and Guust. RO -Original Message- From: Ben Forta b...@forta.com Sent: Tuesday, June 14, 2011 2:21pm To: cf-talk cf-talk@houseoffusion.com Subject: RE: email from variable? Web browsers don't just tell the server the user email address because a form was filled in. You need to ask for it in your form (or have a login page before it and know who the logged in user is and have that information perhaps in a profile). --- Ben -Original Message- From: Orlini, Robert [mailto:rorl...@hwwilson.com] Sent: Tuesday, June 14, 2011 2:16 PM To: cf-talk Subject: email from variable? Hello, How can I get the email address of a user who submitted a form so I can send them a reply receipt? I looked over any cgi variables and of course could not find one. I want to use it in a cfmail script. Thanks. RO HWW ~| 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:345315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Homesite 5.5
On Tue, Jun 14, 2011 at 12:02 PM, Larry Lyons larrycly...@gmail.com wrote: FWIW, the other Eclipse based IDE for CF, CFEclipse runs on Linux. Yes, and if, like me, you regularly switch between a big Mac desktop and a small Linux netbook, it becomes very clear, very quickly just how much more CFBuilder brings to the table (than CFEclipse) and why CFBuilder is worth every penny of its $299 sticker price. No disrespect to CFEclipse - it's a great open source project and I used it a lot years ago and I use it heavily today when I'm on my netbook - but it is a pale shadow next to CFBuilder's full feature set. I can't comment on how the free Express edition of CFBuilder compares tho'... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) ~| 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:345316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 32bit or 64bit
Hi Greg, Under the JVM Details in the Settings Summary, it should say something that's 64-bit there. If not, you are on 32-bit. - Rex On 6/14/2011 5:02 PM, Greg Morphis wrote: I'm running Windows Server 2008 and I'm not sure which version of CF was installed on the server, 32-bit or 64-bit. I've looked in the settings summary and I can't see. I tried to install the 9.0.1 64-bit updater and got some error The ColdFusion 9 Application Server service could not be started. Check the server coldfusion log files for more information. And then something about a specified file not being found. So I'm wondering if I installed the wrong version of the updater. Any ideas would be helpful! Thanks! I reverted back successfully by moving the files in the updater_backup back to the ColdFusion9 directory and the the files in the jre_preinstaller folder (I think that was the name...) ~| 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:345317 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm