Coldfusion

coldfusion

#coldfusion

Table of Contents

About

1

Chapter 1: Getting started with coldfusion

2

Remarks

2

Versions

2

Examples

3

Installation or Setup

3

Linux (Ubuntu) Installation

3

Lucee (Open Source)

3

ColdFusion / CFML Interpretor

3

Nginx

3

Adobe (Closed Source)

4

ColdFusion / CFML Interpretor

4

Nginx

4

Hello World

5

Chapter 2: CFLOOP How-To

7

Remarks

7

Examples

7

Looping through a collection using CFML tags.

7

Looping through a collection using CFSCRIPT.

7

Index

7

Parameters

7

Basic index loop

8

Increase step to 2

8

Decrement step by 1

9

CFLoop in a Function

9

ColdFusion 11 through current

10

Condition

10

Tag syntax

10

Parameters

10

Generated HTML

10

CFScript

10

Previous to ColdFusion 8

11

ColdFusion 8 through current

11

ColdFusion 11 through current

11

Generated HTML

11

Date or time range

11

Query

11

Parameters

11

Example query

12

Tag syntax

12

Generated HTML

12

Limiting output to specific rows

13

Grouping Output

13

CFScript

14

ColdFusion 6 (MX) though current

15

ColdFusion 8 though current

15

ColdFusion 10 though current

15

ColdFusion 11 though current

15

List

16

Tag syntax

16

Parameters

16

Generated HTML

16

CFScript

16

Previous to ColdFusion 8

16

ColdFusion 8 through current

17

ColdFusion 9 through current

17

ColdFusion 11 through current

17

Generated HTML

17

Array

17

Tag syntax

17

ColdFusion 8 through current

17

Parameters

18

Generated HTML

18

ColdFusion 2016 through current

18

Parameters

18

Generated HTML

19

CFScript

19

Previous to ColdFusion 8

19

ColdFusion 8 through current

19

ColdFusion 9 through current

19

ColdFusion 11 through current

19

Generated HTML

19

File

20

Structure

20

Tag syntax

20

Parameters

20

Using Structure Functions

20

Implicit Structure Syntax

20

Generated HTML

21

CFScript

21

Output the structure's keys

21

Generated HTML

21

Output the value of the structure's keys

21

Using Structure Functions

21

Implicit Structure Syntax

21

ColdFusion 11 through current

22

Generated HTML

22

Index Loop

22

Conditional Loop

22

Query Loop

22

List Loop

23

File Loop

23

COM Collection/Structure Loops

23

Chapter 3: cfquery

24

Parameters

24

Examples

24

Using cfquery within a Function

24

Query of Query

24

Function Calls

24

User.cfc

24

Chapter 4: ColdFusion Arrays

26

Syntax

26

Parameters

26

Remarks

26

Examples

26

Creating Arrays

26

Creating arrays explicitly using ArrayNew()

26

History

26

Declaration

26

Using ArrayAppend()

27

Creating 1-D Array Implicitly

28

Create 2-D Array Implicitly

29

Array in CFScript

30

Similarly, for 2 Dimension Array:

31

General information

31

Chapter 5: Creating REST APIs in coldfusion

32

Introduction

32

Examples

32

Creating backend

32

The interface

32

Chapter 6: Database Queries

33

Examples

33

Working with databases

33

Basic Example

33

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download