|
| |
| godatum | Asp.Net User |
| ASP vs CF | 7/6/2004 5:52:37 PM |
0/0 | |
|
Hi,
What do people think of this:
http://www.cfm-resources.com/resources/cf_asp_jsp.cfm
Is the code in CF really that shorter than in ASP?
CF code:
<cfquery name="Company" datasource="yourDB">
select VendorID, Vendor
from tblVendor
order by Vendor
</cfquery>
<cfoutput query="Company">
#Vendor#, #VendorID#<br>
</cfoutput>
ASP code:
<%
Option Explicit
Response.Expires = 0
Dim objConn, objRS, strQ
Dim strConnection 14:
Set objConn = Server.CreateObject("ADODB.Connection")
strConnection = "Data Source=somedatasource;"
objConn.Open strConnection
Set objRS = Server.CreateObject("ADODB.Recordset")
Set objRS.ActiveConnection = objConn
strQ = "select VendorID, Vendor "
strQ = strQ & "from Vendor "
strQ = strQ & "order by Vendor"
objRS.Open strQ
%>
<%
While Not objRS.EOF
Response.Write objRS("Vendor") & ", "
Response.Write objRS("VendorID") & "<br>"
objRS.MoveNext
Wend
objRS.close
objConn.close
Set objRS = Nothing
Set objConn = Nothing
%>
To me CF code looks much more easier than ASP. What do you think?
Thanks,
GodAtum |
| fregas | Asp.Net User |
| Re: ASP vs CF | 7/19/2005 3:41:16 PM |
0/0 | |
|
Having used classic ASP, ASP.NET and coldfusion, I would say that generally speaking, coldfusion is the easiest. ASP.NET is easier than classic ASP, but still not as easy as coldfusion.
However, as others have mentioned, it depends on what you are trying to build. The larger an application gets, the more tangled it becomes when written in coldfusion and similar languages. Because of Coldfusion's limited support of OOP, its being loosely typed, as well as its multitude of code resuse models (User defined functions, Coldfusion components, custom tags/cfmodules or cfincludes) large projects become much harder in ASP than in ASP.NET. ASP classic, being rooted primarily in VBScript, was also loosely typed and very much procedural, and suffered from many of the same problems. This is generally easier to get started, because you don't have to think constructing objects or convert string to numbers, dates to strings, or any of that.
However, once the project gets large, you start noticing weird behavior and it becomes difficult to alter or debug the code. The lack of structure inherent in loosely typed languages and procedural coding tend to come back to haunt you. Simply put, it becomes more and more difficult for me the programmer, to precisely convey to the runtime what I want it to do. Thus, ASP.NET and the .NET framework as a whole, are primarily OOP, strongly typed frameworks. Even Visual Basic.NET is far more OOP and gives you the option of being strongly typed (option explicit, option strict).
Also, with .NET, i can write components that work in web, windows, services, console and all sorts of different kinds of applications and even other languages. WIth Coldfusion, I don't think you can do this very easily without learning some Java. (Someone correct me if I'm wrong here.) Must of us like to break up large applications into the traditional 3 layers: Presentation, Business and Data Access, so that the latter to pieces can be reused in multiple applications. This is also harder to do in CF.
I use ASP.NET almost exclusively now, although I will always have a soft spot for coldfusion as it is the very first scripting language i ever used. For non-programmers or people very new to programming, I suggest Coldfusion. Once you want to start building. large, enterprise level applications, I suggest .NET.
Fregas |
| DNN_callcenter | Asp.Net User |
| Re: ASP vs CF | 7/21/2005 5:08:45 AM |
0/0 | |
|
I largely agree with Fregas. I started coding with CF in early '97, just as version 2 was released. It was such a powerful tool. But I feel that it was inevitable that Microsoft would eventually catch up and surpass most of CF's capabilities. It took years but for the most part, I think that point occurred around one to two years ago. Around two to three years ago is when I decided to make the switch, myself.
It is true, to be sure, that routine things like simple queries are much easier to write in CF. But it was just a matter of time before the integration into web services and other aspects of the server platform made .NET the tool of choice for most purposes. Furthermore, one of the great things about the early days of CF was the presence of a great community of developers, plus there rapidly came to be a treasure trove of applications and code snippets, building blocks one could use and assemble into rapid and flexible deployment of powerful applications. When Macromedia bought Allaire, the original creators of Cold Fusion, in my experience that sense of community began to dissolve, fragment and dissipate. Many of the original posts to the original discussion boards, for instance, were no longer to be found plus the character and perception of the product changed irreversibly. Microsoft, on the other hand, has cleverly embraced open source and encouraged the formation of a developers community which, to me, is reminiscent of what Allaire had back in the day but has far surpassed its noble predecessor. Shane Miller
|
|
| |
Free Download:
Books: The Book of Job: A Commentary Authors: Norman C. Habel, Pages: 586, Published: 1985 Thinking French Translation: A Course in Translation Method : French to English Authors: Sándor G. J. Hervey, Ian Higgins, Pages: 287, Published: 2002 Hawaiian Dictionary: Hawaiian-English, English-Hawaiian Authors: Mary Kawena Pukui, Samuel H. Elbert, Pages: 572, Published: 1986 Computational Methods for Multiphase Flows in Porous Media Authors: Zhangxin Chen, Guanren Huan, Yuanle Ma, Pages: 531, Published: 2006 ECAI 2006: 17th European Conference on Artificial Intelligence, August 29-September 1, 2006, Riva Del Garda, Italy : Including Prestigious Applications of Intelligent Systems (PAIS 2006) : Proceedings Authors: Gerhard Brewka, The European Coordinating Committee for Artificial Inteligence, S. Coradeschi, A. Perini, Pages: 865, Published: 2006 Thinking Italian Translation: A Course in Translation Method : Italian Into English Authors: Sándor G. J. Hervey, Ian Higgins, Stella Cragie, Patrizia Gambarotta, Pages: 228, Published: 2000 The Handbook of Contemporary Syntactic Theory Authors: Mark Reuben Baltin, Chris Collins, Pages: 860, Published: 2001 Web:[thelist] JSP vs ASP vs PHP vs CF [thelist] JSP vs ASP vs PHP vs CF. Mark Horgan [email protected] Tue Mar 20 11:21:44 2001. Previous message: [thelist] Redirecting a Form ... [thelist] JSP vs ASP vs PHP vs CF [thelist] JSP vs ASP vs PHP vs CF. Shashank Tripathi [email protected] Wed Mar 21 08:39:07 2001. Previous message: [thelist] JSP vs ASP vs PHP vs CF ... ASP vs CF - ASP.NET Forums ASP vs CF. Last post 07-21-2005 1:08 AM by DNN_callcenter. 6 replies. Sort Posts :. Oldest to newest, Newest to oldest ... ASP vs CF - ASP.NET Forums ASP vs CF. Last post 07-21-2005 1:08 AM by DNN_callcenter. 6 replies. ... To me CF code looks much more easier than ASP. What do you think? Thanks, GodAtum ... Evaluate ASP vs. Cold Fusion Evaluate ASP vs. Cold Fusion. A thorough evaluation of both products proved ... CF wins, it can use any ASP components, plus you can write your own tags ... Philosophy Me CF vs. ASP: MD5. October 26, 2007 at 1:43AM by Rick Smith ... Sometimes I just like to see the stuff that makes CF so secksy under the hood. Today's match. ... newschuyl: ColdFusion vs. ASP.NET a blog by nathan mische: ColdFusion vs. ASP.NET. ... In terms of features, ASP . Net and CF could probably go head to head. It boils down to usage and ... Python versus ASP/CF - Dev Shed Python versus ASP/CF- Python Programming. Visit Dev Shed to discuss Python versus ASP/CF. HARDSPELL.COM-NV GTX280 T-SLI .VS. AMD HD4870x2 CF Aug 29, 2008 ... Test setup: CPU: [email protected] (450x9.5) MB: Asus Striker Extreme II (790I Ultra ) for. Digital Mesh :: Professional offshore .net, coldfusion, asp, php ... ColdFusion vs. Asp. Outsource_Spacer. ColdFusion is a mature and proven ... Realistically, most of what you can do in CF you can duplicate in ASP or PHP. ... Videos: [FANCAM] 081010 BIg Bang's new CF- Lie CREDITS: Cyworld : http://video.cyworld.com/203340806
BY 캐스커
캐스커 's Cyworld:
http://minihp.cyworld.com/pims/main/pims_main.asp?tid=21526302 || CF 'Us & Them' @Soompi + thanks Middy 's post
fr: fanmir by lavender / credit indigo ^^ of RWFamily
reupload by ioi
download link :
http://www.uboard.co.kr/play1... [CF] i.n.g. 海洋魔力 Heysong drink commercial
starring: i.n.g. CF Spam @Soompi + thanks Middy 's post
reupload to youtube by ioi
download link :
http://www.uboard.co.kr/play1.asp?PB77678.wmv CF-18 Hornet - Toronto Air Show - CIAS 2008 Canadian Forces CF-18 Hornet
INFO: A versatile, world-class fighter aircraft, the supersonic CF-18 Hornet can engage both ground and aerial targets. ... تطاول أبي بكر الوقح على أمير المؤمنين وسيدة نساء العالمين عليهما السلام - من محاضرات الشيخ ياسر الحبيب إن القلة القليلة من الناس تعرف عن مظلومية فاطمة الزهراء بنت سيدنا ونبينا محمد صلى الله عليه وآله.
ما وقع على الزهراء عليها السلام هو من اكبر جرائم ال... Shin Dong Wook & Lee Soo Kyung - Pictorial of Minute Maid CF This CF features Soulmate couple Shin Dong Wook and Lee Soo Kyung!!! Soulmate is definitely a must watch Korean series, which is only 12 episodes lon... Aerobatic performance by Canadian Air Force CF-18 Hornet piloted by William Billy Mitchell, Salinas CA Air show 2008 -18 http://www.tiltul.com/ Aerobatic performance by a Canadian Air Force CF-18 Hornet piloted by William Billy Mitchell, Salinas CA Air show 2008 -18
htt... K-merce 3 Source: http://cfmania.magicn.com/cf/cf_history/CF_History_Read.asp?RowNum=7&Board_No=68&GotoPage=15&SearchCode=&SearchText=&dtSearchCol=&dtSearchTxt... YunA kim CF YunA Cyworld :
http://minihp.cyworld.com/pims/main/pims_main.asp?tid=38779660
More Video : http://gall.dcinside.com/list.php?id=yeona&no=46402&page=1 |
|
Search This Site:
|
|