RE: [ACFUG Discuss] RE: Blank html page in Dreamweaver using IE8
I use both CF Builder and Dreamweaver. I have used Eclipse in the past. They all have pros and cons, each of which might be a defining consideration to a particular coder. I prefer DW for most CF work although I do use CFB for specific tasks, for example, when first constructing a site. I never did like the Eclipse plug-in because of certain quirks but it did have advantages over DW in a few areas. Study the tools and then use them in whatever manner makes you the most productive. _ From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Clint Willard Sent: Wednesday, April 27, 2011 2:36 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] RE: Blank html page in Dreamweaver using IE8 Reasons for using DW: 1. Boss makes you use it. 2. Better technology is how computers will take over. 4. Keyboards are for extremist. 5. Evolution is still a theory. 6. Adobe who? Donna, I could never get DW to show pages in it's browser consistently and correctly, I remember trying. Stopped using DW years ago. IDE's should not be used to view web pages, it's a gimmick. If pages show outside DW, why so determined to see them in DW? CB has a nice CF debugger if that's your aim. I've turned many hardcore DW users into CB worshipers, just hate to see coders sailing on an old sinking ship. On Wed, Apr 27, 2011 at 2:49 PM, Martin, Donna M dmar...@emory.edu wrote: Oh my, thank you for trying. But alas, the temp file box was not checked (which I tried...didn't work, of course). And all you said was true: I am using IIS7, and I can view html pages outside of Dreamweaver. Thanks anyway.much appreciated. Donna From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Troy Jones Sent: Wednesday, April 27, 2011 2:30 PM To: discussion@acfug.org Subject: [ACFUG Discuss] RE: Blank html page in Dreamweaver using IE8 Just a couple of questions about your site/IIS configs. You currently are running the site containing this file under inetpub, are using IIS7, and can view the file in its entirety with IE8 browser outside of DW? If all of the above are true, I can only offer this. While I'm not a DW user, I do have a version here (CS3) that I poked around in briefly. I found this setting: Edit Preferences Preview in Browser..checkbox Options: Preview using temporary file. Is yours checked? If so, try unchecking it. Maybe that is forcing a use of a .tmp file which might be causing the problem. Past that, I am afraid I'm not much help. Here's to hoping you find your solution soon :-) Troy Jones da_logo_70x263 ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | http://www.dynapp.com/ dynapp.com | http://www.facebook.com/dynapp facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Martin, Donna M Sent: Wednesday, April 27, 2011 2:03 PM To: 'discussion@acfug.org' Subject: [ACFUG Discuss] RE: Blank html page in Dreamweaver using IE8 Hi Troy, Thx for the quick response. I haven't tried another browser, but wonder if this is the issue since, I can literally change the extension from .html to .cfm, and it displays fine. I also tried .htm with no success. We talking a 'slightly longer than a hello file', so I don't think code is the issue either. Any other ideas? D From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Troy Jones Sent: Wednesday, April 27, 2011 1:52 PM To: discussion@acfug.org Subject: [ACFUG Discuss] RE: Blank html page in Dreamweaver using IE8 What is the extension of the filename that is causing issues? Can you test through DW using a different IE version or other browser? Assuming that the file that is causing issues is also a .htm extension, I'd be looking for a tag that isn't closed or some other incorrect syntax. Troy Jones da_logo_70x263 ___ Troy Jones | Director of Technical Services | Dynapp Inc | 1-800-830-5192 ext. 603 | http://www.dynapp.com/ dynapp.com | http://www.facebook.com/dynapp facebook.com/dynapp From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Martin, Donna M Sent: Wednesday, April 27, 2011 1:41 PM To: 'discussion@acfug.org' Subject: [ACFUG Discuss] Blank html page in Dreamweaver using IE8 Good afternoon, everyone! I cannot get a standard html page to show up when viewed in IE8 from Dreamweaver CS4 within any of my sites. However, if I browse to the Inetpub/wwwroot folder, I CAN view the iisstart.htm page. Also, I can view it directly outside of Dreamweaver with no problem. I have set up my sites with the same info I always have, and am stumped. The source code shows all code EXCEPT what is inside the body tag. Cfm files come up fine. Now for my setup: This is a
RE: [ACFUG Discuss] I find myself where I have tried to avoid going. A short rant and then a question. Would love some feedback.
As is usual, what is missing from this conversation is ... money. Geeks get emotionally attached to their technologies. The like this, they love that. This is cool. To some it borders on religion - Open source or death!. But what is important is the money. Business owners, non-profits, whatever, hire us to build a tool to fix a problem. We should choose the technologies to build that tool that will provide the business owner with the lowest cost of ownership. In most cases everything else is secondary. I cannot think of any compelling reason to use PHP except that the company's IT team uses it and already know it. Even then, it would likely be cost effective over the long run to switch to CF. asp.net does have some compelling features and it is the only real competing technology to CF in my opinion. RoR has compelling features - but hasn't gained enough traction that I would recommend it as an enterprise level solution to any decent sized client. PHP is for amateurs and .net costs more to develop in. Java is ridicules to develop in from a cost perspective. Why use Java when you have a high level abstraction called ColdFusion that saves vast amounts of work and homogenizes the code base? Bottom line - you can build and maintain web apps for less money using ColdFusion. Period. CF is the clear choice. Now - Adobe needs to get their marketing act together. The have the best technology. CF needs resources put into development (time to get rid of the stupid bugs) and they really need to focus on the top 1,000 companies in the US. Unless, they have decided that they are just going to abandon CF if it doesn't grow organically? Personally, I think they should hire a small sales force to direct market to key (large) accounts. Too many CIO's have no idea of the benefits of CF, or worse, think it is a dying technology. Shane Heasley _ From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Derrick Peavy Sent: Friday, July 09, 2010 10:49 AM To: discussion@acfug.org Subject: [ACFUG Discuss] I find myself where I have tried to avoid going. A short rant and then a question. Would love some feedback. I know this is kind of long and winding, but I'd love some feedback. Starting a project. And, as I've discussed my coding abilities with people I meet they are continuously giving me looks of bewildering and beguiling amusement. Not talking about any Dick and Jane. I'm talking about folks from the ATDC, other entrepreneurs, coders. Whenever I say that I use CF, they act like someone just stepped out from the stone age. And, I don't care - that's their problem. I make money from my skills and can handle 500k page views a day without breaking a sweat in my applications and sleep well knowing I have no errors. But, their lack of understanding that CF even still exists baffles me. It seems that people believe that the only web language that exists now is PHP and possibly, Ruby (ergo, PHP). (Hey, Bank of America is running CF. Maybe that's not a selling point?) But on this new project, the folks say we need to do it in PHP so that it can be sold off if the project works. Ok. Fine, I get that - I really, really do and I'm actually in favor of it because I don't want a pissing contest at that future point. But I'm not coding it in PHP. No such fracking way. I'll help, offer guidance on DB design, help you translate CF code to PHP if you want. Whatever. And yet, these people keep saying, Hey, it's easier for you to learn PHP if you know CF, than for me to learn CF as a PHP developer. That makes no sense to me. On one code example (in PHP), the database connection was established on line 13 in the file$con = mysql_connect(db/id/pw)and then the connection was not closed until line 92mysql_close($con); Within those 80 lines of code, they did 2 http calls to external web services, created two arrays, threw in 40 lines of comments and then somewhere in the bottom, finally made a SQL statement. WT-Flying-Frack Is this what people accept? Granted, this was by someone who admittedly said, they were a horrible developer - but then in the same breath asked me why this would be a problem and I kind of stood there looking like I'd been hit by a bat. I've never been shy about not being a university trained developer. But I've worked with database design since 1993, and with CF for over 12 years. So, hey, cut me some slack. I know I can't give you the lingo about why an 80 line database connection is bad in pure technical terms, but I damn well know that the faster, cleaner, shorter you make your database calls, the better off you are for so many reasons. So, here's the question(s). How do you explain to someone the basic core ideas behind CF and PHP. PHP is an Apache module. CF runs on a java servlet or on Jrun, Tomcat, etc. I'm honestly not the best to explain it. But I've seen the performance side, and it's good. And I've seen the code
RE: [ACFUG Discuss] I find myself where I have tried to avoid going. A short rant and then a question. Would love some feedback.
I completely agree. If you want to make the sale you have to educate the client. Most owners (of real companies) can quickly see the advantage - if you are credible. Most mid level managers - they want to take the path of least resistance. Most owners of cash strapped little businesses can't get past the initial expense - hey I have been there. So PHP does serve a useful function. It is great when you have more time than money - and you are writing the code yourself. Actually CF hosting is so cheap now I can't even make that argument with a straight face. Too bad Adobe has done such a rotten job in this area and it is up to us to promote would should be the industry dominator. BTW, Adobe, the wounds of a friend are better than the kisses of an enemy... :-) _ From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Charlie Arehart Sent: Saturday, July 10, 2010 5:48 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] I find myself where I have tried to avoid going. A short rant and then a question. Would love some feedback. Good point, Frank. And it's not just managers who fall into that false economy trap. I experience the same with some CFers who, when faced with a problem, may balk at my troubleshooting support rate of $175 hour, saying Gosh, I only get x per hour, so that's too much! What they don't think about is that they can spend a few hours trying to solve a problem (and sometimes may spend days or weeks suffering from it), when they might be able to bring me (or others who do such support) in for perhaps just an hour. I even offer a satisfaction guarantee, so that people need not pay if I don't really prove helpful. Still, some just see that big rate and balk. (Fortunately I get plenty of folks who do bring me in.) I'm just saying that false economy seems a prevalent challenge. Sorry to take the thread a little off-course. We now return you to your regularly scheduled programming. :-) /charlie From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Frank Moorman Sent: Saturday, July 10, 2010 5:21 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] I find myself where I have tried to avoid going. A short rant and then a question. Would love some feedback. I agree that from the business point of view the most important figure is the lowest cost of ownership. Also, that a most cases good CF programmer can build an app cheaper then a comparable app in PHP even when considering the higher initial cost of CF server and the slightly higher wages of the CF programmer. (due mostly to rapid app development.) However the money argument falls flat in one overriding aspect: Most non-technical business people do not understand technology. Without this knowledge they are more than likely to look at pure price comparisons without knowing about the real cost of labor and maintenance over time. When this happens, the cost of PHP (free) along with a cheaper source of programmers will always win. snip Now, here is where the money kicks in: Cost to client for me to do it: $90 x 8hrs = $720 Cost for offshore devs to do it incorrectly : $30 x 120hrs = $3600 Clearly my knowledge and experience shows that by keeping me, the client would save $2,820. However, to the non-technical business manager assumes that all programmers are the same, and in doing so thinks that I too would take 120 hours costing $10,800. So to the non-techie, he/she thinks they saved the company $7,200 when it really cost the company $2,820 more. (of course at this time any MBA would ask for a bonus/raise for saving so much money and get rid of anyone that argues against their math. :-) ) So money is the most important aspect to a business person, but make sure that you include educating the business people into the realism of development. --Frank - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] FW: Emails?
Testing - me either. Hopefully this will work. -Original Message- From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Sean Harrison Sent: Monday, June 14, 2010 2:38 PM To: discussion@acfug.org Cc: ma...@fusionlink.com Subject: [ACFUG Discuss] FW: Emails? Testing...1..2...3. Haven't been able to post to this list for years -did John fix it finally? WOO!!! Hope so... :) - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?
I'll make a short reply to Derrick's post as my posts usually seem to end up in the bit bucket. I like commenting, and CFC's, and I feel strongly about defining what the objects are in the application and THEN building the DB and components. I vote for MVC every chance I get, but Code is not art. This is about money and what is best for the business owner. Some apps must be highly structured. Other, smaller applications, should probably be built using procedural code. It depends on needed scalability and how much maintenance is anticipated, how much money can be spent up front etc. We all tend to code at our comfort level (and comment at our comfort level also - if at all - g). Some of us get religious about certain coding principles and cut off the heads of those that disagree. What we all need to do is strive to clearly communicate the options to the business owner and then build what creates the most value for him or her. That means we should be comfortable and competent at all levels including the use of frameworks I suppose which I have little experience with. Shane Heasley CTek-Media.com - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Re: [ACFUG Discuss] RE: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] Re: [ACFUG Discuss] WT Heck is this character? ?
As Dean mentioned - use a whitelist. Only allow those characters in that are in your whitelist and exclude all others. Perhaps REReplace? Cheers, Shane Heasley _ So, I have to find a way to get it out of the incoming data feed. Have tried doing s/r before with no luck. But will try again. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Switch to CF8
Ditto using FTP. Might want to check this out: http://www.jscape.com/ftpapplet/ I have heard of it being used to solve large file upload problems. Haven't used it myself. Cheers Shane Heasley www.CTek-Media.com It might be faster and less painful to use an FTP client to transfer files since ftp is the file transfer protocol. ;) mf - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Switch to CF8
CF7 and earlier have to load the entire file into memory when doing uploads - so with large files you can run into heap problems. CF8 uses a different method. It was possibly coincidence that you only noticed the problem using IE? Moving to 8 might solve the problem. Cheers, www.CTek-Media.com To deal with my upload issue, my ISP wants to switch my site from CF7 to CF8. I am inclined to do so. Are there any Gotcha's I need to be aware of? Forrest C. Gilmore - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Speed and resources: better to do client or session var?
It is a balancing act. For sites without too many visitors I prefer session vars for security and speed. Too many is a function of how much memory the server has and if there are multiple sites running on it etc. Modern hardware usually has so much memory that you can easily track thousands of vars concurrently - if not many more. However, if a site is going to be really high volume I will use a DB or cookies. If you use cookies you will need to check that the user has cookies enabled and if not then fall back to Session, or, check out URLSessionFormat() Cheers, Shane Heasley 307-751-3553 www.CTek-Media.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Derrick Peavy Sent: Tuesday, May 27, 2008 8:06 AM To: discussion@acfug.org Subject: [ACFUG Discuss] Speed and resources: better to do client or session var? Probably discussed to death 10 years ago, 5 years ago, one day ago. I don't know. Can't find definitive answers. Wondering... Does anyone think or dare I ask does anyone know if one type of variable structure is faster or less resource intensive than another? In particular, I have an app where I am using client variables for a lot of very simple integer values. I could just as easily use session. The client storage option is a database and so, the larger the number of client variables in the app, and the larger the number of users (visitors), then the larger that database becomes. Again, these are simple values such as one char text values, 1-8 digit integers, etc., Nothing complex. So, does anyone have strong feelings as to which structure would be better for purposes of speed (overall page load), and system resources - larger database for client variables versus more memory used for session? _ Derrick Peavy Sales and Web Services CollegeClassifieds.com http://www.collegeclassifieds.com A Service of Universal Advertising, inc. ___ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] QoQ question
General defense of QofQ: Keep in mind the main strength it has - which is it resides in memory. So you can pull the main data with one SQL statement and then play with it all you want using QofQ's which saves trips to the database and is MUCH faster when dealing with large numbers of records. Shane Heasley www.CTek-Media.com 307-751-3553 - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] looking for opinions on duplicate form submissions
What Dean said. Shane CTek Media -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dean H. Saxe Sent: Thursday, March 20, 2008 10:03 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] looking for opinions on duplicate form submissions Put a unique identifier in the form request, store it in the user's session before form submission. Once the form is submitted check to see if the value matches. If so delete it from the session and continue processing. If the token doesn't match or is nonexistent in the session, then its a duplicate or out of order submission. -dhs Dean H. Saxe, CISSP, CEH [EMAIL PROTECTED] Free speech exercised both individually and through a free press, is a necessity in any country where people are themselves free. -- Theodore Roosevelt, 1918 On Mar 20, 2008, at 10:51 AM, Jeff Howard wrote: I'm working on an application where a form is submitted along with various attachments (doc, pdf, xls, etc). Apparently users are submitting the same request several times and I've been asked to address this issue. At first thought, it seemed quick and simple to me, but as I've started working on it I can't decide exactly how to handle the attachments in associated with the form in the most efficient way. That brings me here. I was looking for suggestions on how to handle the attachments while I run validation on the db to see if the input from the form already exists in the db. It seems like something that would be perfect for AJAX to handle, but my AJAX skills are virtually nonexistent. So, without using AJAX (or if you can break it down using AJAX for a novice) how would you handle the situation? The main issue I'm having, is that if I do the validation after the form submission, CF is assigning a temp directory to my attachment file. So what is submitted as this: C:\Documents and Settings\JHoward\Desktop\PO Request mods.doc ends up as this after submission and validation: C:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotm p13963.tmp and then when I pass it to the CFFILE, it tells me the file doesn't exist. I'm really just looking at the different ways other people would handle this situation to try and decide so any input would be great. Thanks in advance. Jeff - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] OT: application for finding broken links
http://home.snafu.de/tilman/xenulink.html Cheers, Shane -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dusty Hale Sent: Wednesday, March 19, 2008 6:22 PM To: discussion@acfug.org Subject: [ACFUG Discuss] OT: application for finding broken links Could anyone recommend a good solution to find broken links for an entire site? Dusty - Annual Sponsor - Figleaf Software To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -