This email is to be read subject to the disclaimer below. Hi Peter,
I haven't compared the performance of the Windows and Linux versions, but I am running CFMX on my laptop that has Debian Linux installed. (although I haven't done much with it except for getting Farcry to run). I've found the install reasonably straightforward -- you'll have to know a bit about configuring Apache but there is a whole lot of documentation on that, or you might want to invest into a book. Personally I would pick Apache over IIS even on Win2k. It has a significantly better track record on security, it has a plain text configuration file that you can easily back up or copy between your servers, etc. By the way, I consider the same thing (ie text files for configuration) one of the biggest strengths of Linux. Both Redhat and SuSE (and most other Linux distributions) will do fine as a server but my choice is Debian because of it's superior package management -- it takes only two commands to update the whole system. OTOH Debian is a bit more difficult to set up initially, although it's less of a problem if you only want a server -- in this case, don't even install additional packages, just get the base system up and then install apache, postgresql / mysql etc by typing apt-get install <programname>. Coding for CFMX on Linux has it's own set of rules and a couple of extra quirks / CFMX bugs to look out for. The biggest one is case-sensitivity. This would be fairly straightforward, but to give you even more opportunities to debug, CFMX lowercases all calls to CFCs and custom tag calls that are using the <cf_tagname> syntax. This makes it impossible to use these two methods to call .cfc / .cfm pages that contain uppercase characters in their name :-( My solution was to lowercase all CFCs and replace all <cf_tagname> calls with the <cfmodule template="tagname.cfm"> syntax. Alternately you could lowercase all your .cfm files as well. The next release of coldfusion might fix these problems but don't bet your life on it ;-) The other difference is local paths. While forward slashes in the form of c:/inetpub/wwwroot/ work fine on windows, paths like \var\www\html on Linux don't work at all -- a <cffile action="write"> will result in a file called "\var\www\html" being created somewhere on your filesystem... My solution to this was to only use forward slashes in all my paths. If you need to write cross-platform code and you use any of GetCurrentTemplatePath (), GetBaseTemplatePath, <cfdirectory action="list"> etc, then you'll need to consider the effect of them returning paths with backslashes that you might have to convert. On the positive side, coldfusion mappings and webserver mappings are also meant to be forward slashes so it will be easier to convert between them and the local path. Hope this helps, feel free to drop me a line if you get stuck. Regards, Vik ---------------------- Viktor Radnai Web Developer Business Innovation Online Ernst & Young Australia http://www.eyware.com/ http://www.eyonline.com/ Direct: +612 9248 4361 Fax: +612 9248 4073 Mobile: +61408 662 546 [EMAIL PROTECTED] Sent by: To: "CFAussie Mailing List" <[EMAIL PROTECTED]> [EMAIL PROTECTED] cc: [EMAIL PROTECTED] mon.com.au Subject: [cfaussie] ColdFusion MX on Linux 27/06/2003 01:05 PM Please respond to "CFAussie Mailing List" Hello Does ColdFusion MX developer run better on Linux? I'm checking out the Melbourne Linux Users Group tonight and I was told there was somebody there who is an expert on Web Development. I've been told to look at Mandrake and Red Hat. I'm worried about compatibilty with hardware and my Windows software. Thanks Peter Mount [EMAIL PROTECTED] ----- Sent using MailStart.com ( http://MailStart.Com/welcome.html ) The FREE way to access your mailbox via any web browser, anywhere! --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ -------------------- NOTICE - This communication contains information which is confidential and the copyright of Ernst & Young or a third party. If you are not the intended recipient of this communication please delete and destroy all copies and telephone Ernst & Young on 1800 655 717 immediately. If you are the intended recipient of this communication you should not copy, disclose or distribute this communication without the authority of Ernst & Young. Any views expressed in this Communication are those of the individual sender, except where the sender specifically states them to be the views of Ernst & Young. Except as required at law, Ernst & Young does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference. Liability limited by the Accountants Scheme, approved under the Professional Standards Act 1994 (NSW) -------------------- --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
