Moving from Coldfusion to PHP
I've been a Coldfusion Developer for as long as I've been developing web-based applications. I've always dabbled in other languages (Ruby on Rails, PHP, ASP.NET) but in the end I've always moved back to Coldfusion because no other language could help me develop applications as quickly as Coldfusion did. Coldfusion is the best at doing what it does: allowing a single developer to create web-based applications with advanced functionality quickly, but not necessarily effeciently. Coldfusion has always had a problem churning out spaghetti code developers.
I've always kept a close eye on PHP, with its continous improvements, cross-platform capabilities, and ease of installation it has always been something that I've been interested in learning, but as of the Blackstone release (Coldfusion MX 7), Coldfusion again offered more in terms of built in functionality.
Another gripe I've always had about Coldfusion is the need to define your settings and Database Connections in the Coldfusion Administrator. This makes it hard to develop apps to the general market as it requires knowledge by the end user on how to configure the Coldfusion Datasources, as well as any other mappings that may be required. Not really the ease-of-use that you want for your customer.
And again, another downside is the cost outlay. If you want to develop in Coldfusion for your organization, be expected to use a free alternative like BlueDragon (which doesn't fully support all the bonus stuff in CFMX7), or fork out a good wad of cash to get the Standard Server edition. This is where PHP intrigues me. It's both free, and has a ton of resources available for free online.
Recently I've also created an application using PHP's QCodo framework which was created by a genius named Mike Ho. This framework does what I've been trying to do with Coldfusion for ages, simplify the MVC layout by making access to things your controllers and databases pretty transparent. I was able to create a full Ajax style application for recording and managing my bands instrument and backline settings in a day and a half. Quite complex and yet, so easy to develop, one page, less than 1000 lines of code (which I could probably trim down if I went through and removed duplicate and created generic functions) and I didn't even have to worry about the database or how to get child tables, counts, controls, etc. QCodo already did it for me.
This now begs the question, can PHP with QCodo replace my current Coldfusion with Model-Glue/Reactor/Coldspring framework, I think the answer is yes, which only begs a few other nagging problems. What about my current LDAP integration, no problem, PHP has LDAP integration, and if you're using WAMP as your server, it's only 2 mouse clicks away from activated, plus, PHP allowed me to run on encrypted Port 636 where in Coldfusion, too many factors played into getting ecrypted data to work.
What about PDF generation on the fly? No worries, PHP also offers many free alternatives for creating PDF from HTML on the fly, and many work without a hitch and minimal configuration.
Okay, so that's two major benefits of Coldfusion that PHP can handle. But here's a good one for ya, scheduled tasks. Since PHP doesn't have an Administrator like Coldfusion, how exactly are you going to run scheduled tasks on PHP scripts? Easy! WGet is the answer. And the bonus is, WGet is a cross-platform command line utility which means that any system administrator can set up WGet to run as a Windows/Linux/Unix Scheduled Task to run at specified intervals. So where does that leave my opinion of Coldfusion vs. PHP, pretty much tied, except that PHP is free, widely used in the community, has a ton of documentation and forums, tools, user-scripts, and overall, is closer to real programming languages like C, rather than tag based as Coldfusion is to HTML.
I don't know where I'm going to go from here, but I do know that PHP is a serious competitor, and I going to be spending the next week taking a serious look at converting my current web-app from Coldfusion to PHP... for the benefit of all! ;)
I've always kept a close eye on PHP, with its continous improvements, cross-platform capabilities, and ease of installation it has always been something that I've been interested in learning, but as of the Blackstone release (Coldfusion MX 7), Coldfusion again offered more in terms of built in functionality.
Another gripe I've always had about Coldfusion is the need to define your settings and Database Connections in the Coldfusion Administrator. This makes it hard to develop apps to the general market as it requires knowledge by the end user on how to configure the Coldfusion Datasources, as well as any other mappings that may be required. Not really the ease-of-use that you want for your customer.
And again, another downside is the cost outlay. If you want to develop in Coldfusion for your organization, be expected to use a free alternative like BlueDragon (which doesn't fully support all the bonus stuff in CFMX7), or fork out a good wad of cash to get the Standard Server edition. This is where PHP intrigues me. It's both free, and has a ton of resources available for free online.
Recently I've also created an application using PHP's QCodo framework which was created by a genius named Mike Ho. This framework does what I've been trying to do with Coldfusion for ages, simplify the MVC layout by making access to things your controllers and databases pretty transparent. I was able to create a full Ajax style application for recording and managing my bands instrument and backline settings in a day and a half. Quite complex and yet, so easy to develop, one page, less than 1000 lines of code (which I could probably trim down if I went through and removed duplicate and created generic functions) and I didn't even have to worry about the database or how to get child tables, counts, controls, etc. QCodo already did it for me.
This now begs the question, can PHP with QCodo replace my current Coldfusion with Model-Glue/Reactor/Coldspring framework, I think the answer is yes, which only begs a few other nagging problems. What about my current LDAP integration, no problem, PHP has LDAP integration, and if you're using WAMP as your server, it's only 2 mouse clicks away from activated, plus, PHP allowed me to run on encrypted Port 636 where in Coldfusion, too many factors played into getting ecrypted data to work.
What about PDF generation on the fly? No worries, PHP also offers many free alternatives for creating PDF from HTML on the fly, and many work without a hitch and minimal configuration.
Okay, so that's two major benefits of Coldfusion that PHP can handle. But here's a good one for ya, scheduled tasks. Since PHP doesn't have an Administrator like Coldfusion, how exactly are you going to run scheduled tasks on PHP scripts? Easy! WGet is the answer. And the bonus is, WGet is a cross-platform command line utility which means that any system administrator can set up WGet to run as a Windows/Linux/Unix Scheduled Task to run at specified intervals. So where does that leave my opinion of Coldfusion vs. PHP, pretty much tied, except that PHP is free, widely used in the community, has a ton of documentation and forums, tools, user-scripts, and overall, is closer to real programming languages like C, rather than tag based as Coldfusion is to HTML.
I don't know where I'm going to go from here, but I do know that PHP is a serious competitor, and I going to be spending the next week taking a serious look at converting my current web-app from Coldfusion to PHP... for the benefit of all! ;)


46 Comments:
Greetings Wulf Shayde,
Thanks for your post on moving to PHP from ColdFusion. I am a Flash/Flex/CF developer who has recently started working for a company that uses PHP for backend.
It's kind of a hard plunge. I keep sitting there going "I could do this in minutes with ColdFusion" and it's taking hours with PHP.
I will check out the QCodo framework you mentioned. Because I so miss the simply SQL query abilities and handling of ColdFusion.
I think you're blog was quite well balanced and informative. I only took issue with one comment that drives me nuts.
"closer to real programming languages like C"
This comment I see all over the place. Some where along the road of computing a mythos was created that only C-based programming languages qualify as real programming languages. I find this to be one of the worst paths computer programming has taken.
C based programming is only efficient in it's coding (saving a few letters typed). But in truth, very little of the time taken for me coding is in typing letters.
I find that C based languages are extremely inefficient at documenting their code. Often lending to a very cryptic nature. I can go into a ColdFusion app and usually figure out what is going on in the code - even if poorly documented. To do the same in C-syntax is much more effort.
Furthermore, I believe the proper direction for programming should be to depart syntax entirely and merely code in logic. That should be the true goal of programming language evolution.
I also view C-syntax as propagating some of the serious long-term flaws of computing. (Zero based arrays for example.) ColdFusion is in fact a "higher language" than C-syntax in regards to it's logic.
Just because 90% of the programming languages utilize C-syntax does not mean it's a good thing. When one constantly has to make handlers for off-by-one array situations (ie: I can't simply break up a date and re-compose it and get the same date. Nope, I need to add +1 to the month because the month is an array that starts at zero.) This is just stupidity being propogated.
We don't count from zero. Neither should a programming language. (A computer might, but then it only counts from zero to one.)
That said, I will definitely look into QCodo to see if it might offer some useful tools for easy my transition.
- Jason The Saj
This comment has been removed by the author.
我的站點介紹:情趣用品,情趣用品,情趣用品,情趣用品情趣用品,
情趣用品,
情趣用品,
情趣用品,
情趣用品,
情趣用品 來看看 賣克
室內設計是八寬公司的
室內設計這是我找過最好的一家唷!
室內設計這是我找過最好的一家唷!
室內設計這家很好!
保健食品代工,素食膠囊,順傑
你需要買雨傘,這裡有一把優良的雨傘讓你的,制服不會被淋濕唷!制服
哪有好的網站設計公司
室內設計也太多家了吧
香舖拜拜都要去買香耶
清境民宿
SEO排名真好玩耶
你的廣告是哪一家廣告設計公司處理的?
這一家的二手車的性能很好
性感照片性感性感的美女性感秀性感絲襪妹自拍性感網站性感美腿寫真大集合性感美女性感美女照片性感美女裸體照性感美女寫真性感美女成人一夜情性感美女拳性感性感a漫性感520sex聊天goav2gogogogo2gogo2avgogo2comgogo2sexgogo2sexcomgogo2情色gogogirlgogosexygogo男同志視訊gotoavgo2vgo2sexgo2av蒼井空超色情成人文章超美女優圖片超級辣妹超㊣巨乳熟女超a圖走光正妹走光文學走光情色走光影片走光小說走光圖片走光偷拍圖貼超崴盟超愛做愛影片超淫動曼卡通網
謝謝您囉~~很好的經驗分享!..............................
大奶妹貼圖區0204性影片觀賞露點自拍淫婦女生如何自慰色情站成人笑話av激情網愛視訊美女淫蕩av成人色情電話辣妹視訊聊天性關係情色vcd自慰圖淫美成人論壇台灣色情論壇成人聊天室自拍裸女貼圖視訊成人免費a片影片av成人網成人色情色情台灣辣妹小穴太太陰毛色情訊息裸女自拍色情影片a片論壇性愛技巧美女脫胸罩性情色天堂av寫真色情視訊聊天做愛視訊成人影片床上戲情色聊天網火辣情色台灣女優性愛秘笈台灣av女優手淫自慰影片
色情qvod色情視訊電話色情美眉寫真色情片免色情區咪咪情色區哈比成人網金瓶成人影片交流區金平梅近親相姦免費影片松島楓看波波貼圖區波波線上美女拳波波線上遊網波波線上戲網波霸美女貼圖區玩女人視訊網玩女人試看片玩女人影片直播色情片直播免費影片芭比成人情色花王影片哈比淫色網哈免費小遊戲洪爺色情免費影片洪爺色情網站影片洪爺色論壇洪爺免費直播片洪爺動畫色咪咪影片網一夜情聊天室聊天室正妹牆
外表往往與事實本身不符,世人卻容易被表面裝飾所欺騙了........................................
It's great!!..........................................
I do like ur article~!!!...................................................
Hello~Nice to meet you~..................................................
恐佈哦~~
相愛?相害?
看了鬼故事之後讓你睡不著覺
洗臉的女孩
紅燒人頭,可好吃了
紅布床簾
thanks................................................
台中聊天一夜聊天室uthome聊天ut網際空間聊天ut 網際空間聊天看彩虹頻道紅耶紅爺紅爺貼圖紅爺影城紅爺論壇美女圖片免費美女裸体美國色片免費看美國色情片免費觀賞美國色情影片美國免費成人影片美國免費影片美國免費線上a片美國性愛片美國美女圖美國愛買美遊戲美腿a片美腿絲襪性美麗女人國美國色片美國成人影片美國成人片美女影片免費看愛情禁忌視訊聊天交友mmshow交友戀愛小站18成人
很用心的blog,推推哦 ........................................
There was never a night or a problem that could defeat sunrise or hope...................................................
Better be the head of a dog than the tail of a lion..............................................
好文章給人的感覺就是很好,謝謝您~~........................................
好喜歡你的部落格唷,剛下班,要去睡了!!!掰~~..................................................
才華在逆境中展現,在順境中被掩藏。..................................................
想跟你說一聲加油,祝福大家每天開心........................................
愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。................................................................
If the quantity is not a lot, I will hand carry..................................................
與人相處不妨多用眼睛說話,多用嘴巴思考.................................................................
在莫非定律中有項笨蛋定律:「一個組織中的笨蛋,恆大於等於三分之二。」.................................................................
成熟,就是有能力適應生活中的模糊。.................................................................
噴泉的高度,不會超過它的源頭。一個人的事業也是如此,它的成就絕不會超過自己的信念。.................................................................
當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................
我真心在追求我的夢想時,每一天都是繽紛的。因為我知道每一個小時都是實現理想 的一部份。..................................................
期待你的下次更新喔^____^..................................................................
無私分享,很不錯哦~謝謝~~............................................................
很喜歡你的部落格,來給你加油,幫你推一下喔~期待你的下一個更新,謝謝............................................................
不斷的砍伐用的雖是小斧,卻能砍倒最堅硬的橡樹。.......................................................
Offence is the best defence...................................................
來幫你衝一下人氣,捧個人場囉~~............................................................
愛情不是慈善事業,不能隨便施捨。.................................................................
愛,拆開來是心和受兩個字。用心去接受對方的一切,用心去愛對方的所有。......................................................................
當最困難的時候,也就是離成功不遠的時候。..................................................
做些小善事,說些愛的字句,世界更快樂。..................................................
死亡是悲哀的,但活得不快樂更悲哀。............................................................
真正的朋友不會把友誼掛在嘴巴上......................................................................
說「吃虧就是便宜的人」,多半不是吃虧的人。......................................................................
知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
謝謝大大分享!!經典!~(。・ω・)............................................................
心平氣和~祝你也快樂~~..................................................
到處盡心,即為快事;舉步踏實,便是坦途。................. ................................................
Post a Comment
Links to this post:
Create a Link
<< Home