Ask a Jedi: Moving to ColdFusion
This email just makes me happy all over. I'm always thrilled to hear about someone moving to ColdFusion. One of his questions involved hosts, so I figured it was a good one to share. Ola asks...
I have been following your blog since the launch of CF8 and have grown interested in moving to CF for my website projects. I am still unsure if this is the right platform for my kind of work since most of my clients are small companies that I usually recommend shared hosting service to. In the past I have used PHP, but I really love the ease of use and learning curve of CF. I am also considering Ruby on Rails. I use a lot of the adobe products and have started playing with FLEX which seems to have the best integration with CF.
You certainly won't get any arguments from me here. I have respect for PHP and Ruby, but I definitely think you can't beat ColdFusion for ease of use and RAD - and it is definitely a great way to serve up content for Flex or AIR apps. I've yet to see a language that does this type of work quite as easy as ColdFusion.
My concerns are first finding hosting companies for my clients.
There are plenty of CF hosts out there. I don't personally recommend any - just because I don't feel right doing so w/o being an actual customer. But for my clients I've worked with Host My Site and CrystalTech. Both seem to be good. Point is though - there are definitely plenty of hosts out there offering CF. Oh - I did use CFXHosting in the past. They were good too. I now host with someone who prefers to remain anonymous as they aren't quite ready to sell hosting just yet. I'm sure everyone of my readers has an opinion on hosting, but let's just say that you have options, and plenty of them. Check out Ben's list.
Second I prefer to write clean semantic XHTML, code in textmate/dreamwever and would like to know if CF tag generated code as in CF Form does not introduce deprecated code into my markup. Please advise. I would like to embrace one platform for the kind of work I do but, unsure CF is right for the non enterprise web design business space I work in.
First off - only a subset of ColdFusion's tags actually generate output. That number grew in ColdFusion 8 with the introduction of the Ajaxy-UI tags, but in general, you are responsible for your own output. ColdFusion will not help or hurt your output being XHTML, clean, etc. For the tags that do generate output - if you don't like what they output - then don't use them. Simple as that. As cool as the new Ajax tabs are, if you feel the output isn't good, then you can certainly find another tab solution from another framework. You specifically mentioned CFForm. I personally don't use that very often. I've used it a bit more now with CF8's Ajax stuff, but just to get the async posting feature, not for any layout type stuff. And I certainly do not recommend Flash Forms to anyone now (use Flex!).
Comments
That shouldn't be an obstacle however, as most XHTML produced why your application will be your own. And there are ways to get around tags that output un-compliant HTML. Ben Nadel has a great post on taming cfimage that could be applied to other tags.
As for Cfform, it is in the clear as long as you don't use flash forms, and you don't mind inline JavaScript.
A list of user groups can be found here: http://www.adobe.com/cfusion/usergroups/index.cfm
Cheers,
Davo
another thing to mention for the xhtml stuff is that there are a lot of replacement functions on cflib for the built in output functions that generate valid xhtml code.
Edgeweb is great. Might be pricier than some alternatives, but you pet what you're gay for. Er, I mean you get what you pay for. In a previous job we used them for years, and during that time I never had a complaint about the service. One caveat: we had colo servers there, and could remotely admin everything ourselves, so I can't vouch for hosted sites and whatnot, but like I said -- never a complaint about the service.
http://www.rabidgadfly.com/?p=41
http://www.rabidgadfly.com/?p=48
Just keep in mind that sometimes you get what you pay for if you go by just cost (that goes for CF or non-CF hosts).
Thanks so much for the quick response. I am definitely feeling like this is the way to go. I also want to say thanks to everyone else that chimed in. All your feedback is definitely valuable. Nice to know that CF has a very helpful tight knit community.
I've used hostmysite as well. I found they weren't as good as crystaltech, and they had some unresolved issues with mysql dbs. Go with crystaltech.
It would be quite a headache to write a site and use a whizzy new function only to find later that your host doesn't (and will never) support its use on their servers!
I've been doing n-tier web development since 2000 and I have never been more productive than I have with CF.
As for hosts, I strongly recommend hostmysite. The support is simply phenomenal and I discovered that when the first interation of the Mecum website over taxed the shared environment. We're on their VPS environment now. They worked very hard to get the site switched and dealt with an obscure MySQL driver issue. I was very pleased.
I have yet to find something it can't do. It is highly stable, poweful and secure; and backward compatible (can it turn straw into gold perhaps?). I have written big, small, fun, experimental all with great success. It is also easy to return to years later without having to spend hours interpreting code. There are some issues with it and Dreamweaver if your careless but otherwise I can't fault it.
Now Adobe (was Alliare when I started) and still 1999 compatable. What else can claim that? It may not be the cheapest but then what of any value is!

