Wednesday, 2 July 2014

ColdFusion Basic- Installation and Basic Practices.

Today Lecture About Installation and Covering Basic

Installation of ColdFusion over XAMPP

http://www.tbogard.com/2011/04/22/installing-coldfusion-9-over-xampp-part-1-installation-and-first-run/


ColdFusion File Extension is CFM
ColdFusion Class Extension is CFC

ColdFusion Comments <!--- --->

Define Variables

<cfset myName = "Abdul Raheem">
<cfset myName = "Abdul Raheem" />

For Output data

<cfoutput></cfoutput>


For displaying the value of Variable

<cfoutput>#myName#</cfoutput>


Data Types:

Dynamic Datatypes ( automatically define and depend on value)


Decision Making Tags:

If, if-else, switch

Decision Operaters =  EQ, LTE, GTE, LT, GT, NEQ
Conditional Operaters = Not, OR , AND

myEarningPoints = Camel Caps


Loops Tag: <cfloop>
Counter = <cfloop index="i" from="1" to="10">
Conditional = <cfloop condition="">

There are three type of collection = Array, List, Struct
Array and Structure Collection = <cfloop item="key" collection="structVar">
List Collection = <cfloop index="i" list="#listVar#" delimiter=",">

Download the Example Code

http://www37.zippyshare.com/v/54876918/file.html

9 comments:

  1. Dear all here is a link to installation guide for Xamp and ColdFusion..

    http://www.tbogard.com/2011/04/22/installing-coldfusion-9-over-xampp-part-1-installation-and-first-run/

    ReplyDelete
    Replies
    1. kindly give the link of coldfusion 10 enterprise edition...thanks

      Delete
  2. ColdFusion 11 - Developer Edition (Free)
    http://www.adobe.com/go/trycoldfusion

    ColdFusion 11 - Trial Edition (Free)
    http://www.adobe.com/go/trycoldfusion

    For all ColdFusion add-ons & downloads, plz visit:
    http://www.adobe.com/support/coldfusion/downloads.html

    ReplyDelete
  3. its better you use ColdFusion 11 and install it with its own web server. Save your time on configuration.

    ReplyDelete
  4. Very True Sir.
    Mates! I have installed ColdFusion 11 in C drive & below is the link to its root folder:
    C:\ColdFusion11\cfusion\wwwroot\

    ReplyDelete
  5. Books kahaa pai upload hain?

    ReplyDelete
  6. DreamWeaver CC mai Coldfusion ki option ni ari. kia kru?

    ReplyDelete
    Replies
    1. In Dreamweaver CC:

      1. Go to preferences
      2. In the "choose external applications" section, hit the "+" and enter ".cfm".
      3. In the editor window, select your Dreamweaver app and make it the primary editor.

      Done and works just like before.

      *Note*: if you enter ".cfm" in the "Open in Code View" list, you will be able to open CF pages in *ONLY* code view. Probably not what you want. So don't do that!

      Alternatively, you can use the Sublime or ColdFusion Builder.

      Delete