Reply to topic
Need a good book
Josh Prewitt


Joined: 24 Jun 2004
Posts: 13
Reply with quote
I develop in Dreamweaver MX and have been using asp for awhile now.

I dont know anything about CF, but it seems interesting. What are some advantages to using CF as opposed to asp? I currently use an access database, would developing in CF be that much better for me? Also, can anyone point me in the direction of a good book to teach CF?
MBMunday


Joined: 06 Apr 2004
Posts: 76
Location: Dallas/Fort Worth
Reply with quote
You'll love ColdFusion. In my opinion, it has some major benefits over ASP. First off, ColdFusion is much more simplified. Its tags are similar to html tags, and it is very easy to learn. There are very few things that it can't do and it is very powerful. You can deploy most applications a lot quicker in ColdFusion versus ASP and the latest version of CF (6.1) had some major improvements over the previous model. It is much faster.

For instance, to perform a query, ColdFusion has made it very simple. Here's an example:

<cfquery name="getContacts" datasource="mydatasource">
SELECT ID,Name,Email
FROM tbl_Contacts
ORDER BY Name
</cfquery>

<cfoutput query="getContacts">
#Name#<br>
<a href="mailto:#Email#">#Email#</a>
</cfoutput>

The <cfoutput> acts as your "Loop". There is typically less programming time required in ColdFusion. The same query in ASP would require at least twice the amount of lines/commands to perform the operation. There's no need to "Dim" your connection string or SQL command, etc. ColdFusion uses a datasource and it's connection string is stored in ColdFusion Administrator.


I develop in both ColdFusion and ASP.NET. For the most part, I prefer ColdFusion, as I can develop a site usually quicker in ColdFusion. ASP.NET has some advantages over ColdFusion, but like said before, I haven't come across anything that ColdFusion couldn't do for me, (personally). Some people call ColdFusion a non-programmer's language, but I just think they don't realize it's power.

The first book I bought was titled "Macromedia ColdFusion MX Web Application Constructio Kit, 5th Edition" by Ben Forta and Nate Weiss, which was an excellent resource.

An excellent site for resources and GREAT tutorials is http://www.easycfm.com/

They have a bunch of examples/tutorials that you can easily copy and paste.

Well, I think I've babbled enough for now. Be sure to check out EasyCFM.com, it's a great resource.

MB


Last edited by MBMunday on Mon Jun 28, 2004 4:19 pm; edited 1 time in total
webweaver6


Joined: 30 Jan 2004
Posts: 101
Location: Grayslake, IL
Reply with quote
The books by Ben Forta are the way to go. We've been buying his books since cold fusion 2.0. His website is also a good source of information at www.forta.com.
Josh Prewitt


Joined: 24 Jun 2004
Posts: 13
Reply with quote
Awesome, right after reading the posts I head over to amazon to buy the book. I have always heard how much more powerful CF was, now I get to see for myself. Thanks all, and I am sure I will be back with more questions.

Josh
Need a good book
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic