SlideShare a Scribd company logo
Introduction to
Coldfusion Splendor
Presentor: Deepak Kumar Padhy
Coldfusion Developer
Contact Me @
Deepak Kumar Padhy
ColdFusion Developer, Mindfire Solutions
deepak.padhy@mindfiresolutions.com
dkumar431@gmail.com
https://www.facebook.com/deepak.padhy
http://www.linkedin.com/pub/deepak-kumar/20/538/1a9
https://twitter.com/dkumar431
History
Cold Fusion 1.0 (1995)
Cold Fusion 2.0 (1996)
Cold Fusion 3.0 (1997)
ColdFusion 4.0 (1998)
ColdFusion 5.0 (2001)
ColdFusion 6.0 (2002)
ColdFusion 7.0 (2005)
ColdFusion 8 (2007)
ColdFusion 9 (2009)
ColdFusion 10 (2012)
ColdFusion 11 (2014)
Installation
Express Installer:
• Small size
• Easy to Install
• No support for SOLR, .NET,
PDF generation
• For Development only
Normal Installer:
• Large size
• Takes much time for
Installation
• Best suited for Production
Enviroment
Enhancements
• Complete cfscript support
• JSON Serialization enhancements
• Introduction of Member functions
• Query Enhancements
• Social Integration
• Better Security
cfscript support
• All the tags having equivalent script based syntax.
• Example:
<cfscript>
cftag1 (att1 = val1, att2 = val2)
{
child_tag1 (child_attr1 = 'cv1', child_attr2 = 'cv2')
}
</cfscript>
• Script support for custom tags also.
• Example:
<cf_happybirthday name="Ted Cantor" birthDate="December 5, 1987">
cf_happybirthday (name="Ted Cantor", birthDate="December 5, 1987");
• Exceptions: <cfoutput>,<cfdump>,<cfinvoke>,<cfobject>
JSON Serialization
• JSON Serialization is for converting ColdFusion data to JSON format
introduced in ColdFusion 8
• Now there are 3 enhancements.
1. Case preservation of struct keys.
"this.serialization.preservecaseforstructkey = true" in application level for preserving the case of struct
keys.
2. Datatype perservation.
ColdFusion always tries to convert string to numeric, If successful it treats that value as numeric.
CF10: {"ID":6,"NAME":"xyz ","CGPA":7}
CF11: [{"ID":6,"NAME":"xyz ","CGPA":"7"}]
3. Key-Value serialization of cfquery.
Along with row-wise and column-wise serialization, Now we have struct-wise serialization for better
interaction via jquery.
Row: {"COLUMNS":["ID","ADDRESS"],"DATA":[[1,"Bhubaneswar"],[3,"Bangalore"]]}
Column: {"ROWCOUNT":2,"COLUMNS":["ID","ADDRESS"],"DATA":{"ID":[1,3],"ADDRESS":
["Bhubaneswar","Bangalore"]}}
Struct: [{"ID":1,"ADDRESS":"Bhubaneswar"},{"ID":3,"ADDRESS":"Bangalore"}]
Member Functions
Member function is introduced for data structure and data objects.
Ture Object Oriented way of calling a function.
Example:
var myArray = arrayNew(1);
CF10 : arrayAppend (myArray,newObj);
CF11: myArray.append(newObj);
Supported Datatype:
Array, String, List, Struct, Date, Spreadsheet, XML, Query, Image
Query Enhancements
• queryGetRow(qryObject, index) : Returns particular row value in structure
format.
• New way to execute queries inside cfscript.
• queryExecute(sql_str, queryParams, queryOptions)
sql_str: The SQL query needs to be executed.
queryParams: An array or structure of parameters
queryOptions: Other attributes like datasource, result,dbtype are passed
Social Integration
• ColdFusion has introduced the support for dynamically generating Like button,
Tweet button, and Comment box for social media sites.
• Supported widgets are:
1. Like Button
2. Tweet Button
3. Google Plus Button
4. Facebook Subscribe Button
5. Like Box
6. Facebook Comment Box
7. Activity Feed
8. Follow
Security Enhancements
• cfmail with two new attributs "encrypt" , "encryptionalogorithim" and
"recipientcert"
• Post installation secure profile enable/disable.
• Allow/Disallow concurrent login session to Coldfusion administrator.
• Integration of AntiSamy library for for better XSS attack protection.
getSafeHTML(input [, PolicyFile ], throwOnError])
isSafeHTML(input [, PolicyFile ])
Application.cfc setting:
<cfset this.security.antisamypolicy = "antisamy.xml">
• PBKDF2 Key Derivation:
generatePBKDFKey(algorithm, inputString, salt, iterations, keysize)
Random
• All the docs are wikified.
• By default cfinclude will not allow to include js and css files . But for backward
compatibility we can set "allowedextforinclude" property in neo-runtime.xml to allow
some particular extension files.
• IsValid() function bug fixed.
CF10: isValid("integer", "$1,234") : true
CF11:isValid("integer", "$1,234") : false
• For backword compatibility we have an Application level setting
"strictnumbervalidation" (default: true).
• <cfhtmltopdf> to generate high quality pdfs quickly using PDF Service Manager.
Types of Mobile Application
Mobile Application Development
• Why: PC and Desktop shipmetnts continue to decline since last 7 years .
• ColdFusion Mobile Application platform comprises of :
1. CFML Language
2. Integrated PhoneGap Framework
3. ColdFusion Builder 3.0
CFMobile : CFML Support
• Create a 'ColdFusion Mobile Project' using ColdFusion thunder.
• Select a mobile template (System/User template) to begin with the application.
• Mobile template designed usning frameworks like bootstrap and jquery mobile.
• Now <cfclient> does everything behing the screen.
CFMobile : Continued.
• Enclose client side CFML in <cfclient> tag.
• CFML support on client side
• All data structures and related functions – Struct, List, Array, Date, Query etc.
• Tag and cfscript style code.
• Member Functions syntax.
• All basic language tags e.g. cfif, cffunction, cfloop, cfquery etc.
• Does not support server side tags like cfldap, cfftp etc.
• Does not support server side functions like addSOAPRequestHeader,
spreadsheet functions etc.
• Only variables, this and super scopes supported.
• Does not support Application, Server, Client, Session and Arguments scope.
.
CFMobile : Continued.
• Supports client side custom tags.
• Can use client side (in-browser) database: websql
• Use cfquery or queryExecute to execute client side SQL.
• But qoq and in-memory query creation not possible.
• Device APIs like Camera, Contacts, Audio etc. supported using PhoneGap.
• Interoperability between JS and client side CFML
• Call JS functions from cfclient.
• Call cfclient functions from JS
• OOP using client side CFComponent .
• Easy way to call server side CFCs from cfclient
•
Inspecting and Debugging
• Use weinre(Web Inspector Remote) for inspecting the application similar to firebug.
• Steps:
1. Start the local weinre server.
2. Configure ColdFusion Builder.
3. Package the mobile application.
4. Inspect the mobile application.
• Through weinre we can inspect HTML ,CSS elements and can view console
messages.
• Supports Client side CFML debugger to debug the code.
• Debug code running in desktop browser or on mobile device.
• Breakpoints, Step operations, Variable inspection
Packaging
• Packaging is for creating .apk file for android and .ipa file for ios.
• Using PhoneGap build service and Coldfusion Builder.
• Steps:
1. Get the required certificate
2. Register for a phonegap plan
3. Provide server and authentication details
Packaging Continued.
1. For creating the self-signed certificate for Android ,
i. Open Comman prompt with administrator previlages
ii. Goto JDK installation directory
iii. Use "keytool -genkey -v -keystore keyname.keystore
-alias keyalias -keyalg RSA -keysize 2048 -validity 10000 "
2. For creating a phonegap account goto,
https://build.phonegap.com/plans
3. For providing certificate and phonegap account details,
Goto ColdFusion Builder ->Window -> Preferences ->
ColdFusion -> Phone gap
References
• https://wikidocs.adobe.com/wiki/display/coldfusionen/New+in+ColdFusion
• https://wikidocs.adobe.com/wiki/display/coldfusionen/ColdFusion+Mobile+Funct
ions
• http://blogs.coldfusion.com/
• http://cfmlblog.adamcameron.me/
• http://ramkulkarni.com/blog/
Thank You.
Presentor: Deepak Kumar Padhy
Mindfire Solutions

More Related Content

PDF
Setup ColdFusion application using fusebox mvc architecture
PPT
ColdFusion framework comparison
PPT
Dependency Injection in Silverlight
PDF
SpringPeople Introduction to Spring Framework
PPTX
ASP .Net MVC 5
PPT
Introduction to ASP.NET MVC 1.0
PPT
TDD with ASP.NET MVC 1.0
PPTX
ASP .NET MVC Introduction & Guidelines
Setup ColdFusion application using fusebox mvc architecture
ColdFusion framework comparison
Dependency Injection in Silverlight
SpringPeople Introduction to Spring Framework
ASP .Net MVC 5
Introduction to ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0
ASP .NET MVC Introduction & Guidelines

What's hot (20)

PPTX
Building an enterprise app in silverlight 4 and NHibernate
PPS
Codeigniter, a MVC framework for beginner
PPTX
Difference between MVC 3, 4, 5 and 6
PPT
ASP.NET MVC Presentation
PPTX
Entity Framework Code First Migrations
PPT
PHP Frameworks and CodeIgniter
PPT
Architecting RIAs with Silverlight
PPTX
ASP.NET 5 Overview for Apex Systems
PPTX
Angular on ASP.NET MVC 6
PPTX
Web application development using zend framework
PPTX
Introduction to ASP.NET MVC
PPTX
How to Wield Kentico 9 in the Real World
PPTX
Asp.net MVC training session
PPTX
ASP .NET MVC
ODP
Building Ajax apps with the Google Web Toolkit
PPTX
Java in Mule
PDF
CodeIgniter - PHP MVC Framework by silicongulf.com
PDF
Spring Mvc
PPTX
Introduction to React JS
PDF
ASP.NET MVC 3
Building an enterprise app in silverlight 4 and NHibernate
Codeigniter, a MVC framework for beginner
Difference between MVC 3, 4, 5 and 6
ASP.NET MVC Presentation
Entity Framework Code First Migrations
PHP Frameworks and CodeIgniter
Architecting RIAs with Silverlight
ASP.NET 5 Overview for Apex Systems
Angular on ASP.NET MVC 6
Web application development using zend framework
Introduction to ASP.NET MVC
How to Wield Kentico 9 in the Real World
Asp.net MVC training session
ASP .NET MVC
Building Ajax apps with the Google Web Toolkit
Java in Mule
CodeIgniter - PHP MVC Framework by silicongulf.com
Spring Mvc
Introduction to React JS
ASP.NET MVC 3
Ad

Similar to ColdFusion 11 New Features (20)

PPTX
Mobile Apps with ColdFusion
PDF
Getting started with mobile application development
PDF
ColdFusion 10
PDF
Developing html5 mobile applications using cold fusion 11
PPTX
AUG Belgium - Introduction to ColdFusion 9
PPTX
Mobile Applications Made Easy with ColdFusion 11
PDF
Hidden Gems in ColdFusion 2016
PPTX
Intro to Coldfusion
PPTX
ColdFusion 11 Overview - CFSummit 2013
PPT
PPTX
Scotch on the Rocks 2011 - Keynote
PPTX
Extending Java From ColdFusion - CFUnited 2010
PPTX
Coldfusion basics training by Live instructor
PPT
Dont throwthatout
KEY
Coding and naming conventions
PDF
Hidden Gems in ColdFusion 11
PDF
Whats new in CF10, 11, 2016
PDF
Macromedia ColdFusion MX Development 1st Edition Eric Ladd
PDF
ColdFusion Features for More Modern Coding
PDF
Cfml features modern_coding
Mobile Apps with ColdFusion
Getting started with mobile application development
ColdFusion 10
Developing html5 mobile applications using cold fusion 11
AUG Belgium - Introduction to ColdFusion 9
Mobile Applications Made Easy with ColdFusion 11
Hidden Gems in ColdFusion 2016
Intro to Coldfusion
ColdFusion 11 Overview - CFSummit 2013
Scotch on the Rocks 2011 - Keynote
Extending Java From ColdFusion - CFUnited 2010
Coldfusion basics training by Live instructor
Dont throwthatout
Coding and naming conventions
Hidden Gems in ColdFusion 11
Whats new in CF10, 11, 2016
Macromedia ColdFusion MX Development 1st Edition Eric Ladd
ColdFusion Features for More Modern Coding
Cfml features modern_coding
Ad

More from Mindfire Solutions (20)

PDF
Physician Search and Review
PDF
diet management app
PDF
Business Technology Solution
PDF
Remote Health Monitoring
PDF
Influencer Marketing Solution
PPT
High Availability of Azure Applications
PPTX
IOT Hands On
PPTX
Glimpse of Loops Vs Set
ODP
Oracle Sql Developer-Getting Started
PPT
Adaptive Layout In iOS 8
PPT
Introduction to Auto-layout : iOS/Mac
PPT
LINQPad - utility Tool
PPT
Get started with watch kit development
PPTX
Swift vs Objective-C
ODP
Material Design in Android
ODP
Introduction to OData
PPT
Ext js Part 2- MVC
PPT
ExtJs Basic Part-1
PPT
Spring Security Introduction
Physician Search and Review
diet management app
Business Technology Solution
Remote Health Monitoring
Influencer Marketing Solution
High Availability of Azure Applications
IOT Hands On
Glimpse of Loops Vs Set
Oracle Sql Developer-Getting Started
Adaptive Layout In iOS 8
Introduction to Auto-layout : iOS/Mac
LINQPad - utility Tool
Get started with watch kit development
Swift vs Objective-C
Material Design in Android
Introduction to OData
Ext js Part 2- MVC
ExtJs Basic Part-1
Spring Security Introduction

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Transform Your Business with a Software ERP System
PDF
Understanding Forklifts - TECH EHS Solution
PDF
medical staffing services at VALiNTRY
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
System and Network Administraation Chapter 3
PPTX
ai tools demonstartion for schools and inter college
PDF
AI in Product Development-omnex systems
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
System and Network Administration Chapter 2
PPT
Introduction Database Management System for Course Database
2025 Textile ERP Trends: SAP, Odoo & Oracle
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms I-SECS-1021-03
ISO 45001 Occupational Health and Safety Management System
How to Migrate SBCGlobal Email to Yahoo Easily
Transform Your Business with a Software ERP System
Understanding Forklifts - TECH EHS Solution
medical staffing services at VALiNTRY
Wondershare Filmora 15 Crack With Activation Key [2025
Design an Analysis of Algorithms II-SECS-1021-03
Online Work Permit System for Fast Permit Processing
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
System and Network Administraation Chapter 3
ai tools demonstartion for schools and inter college
AI in Product Development-omnex systems
ManageIQ - Sprint 268 Review - Slide Deck
Odoo Companies in India – Driving Business Transformation.pdf
System and Network Administration Chapter 2
Introduction Database Management System for Course Database

ColdFusion 11 New Features

  • 1. Introduction to Coldfusion Splendor Presentor: Deepak Kumar Padhy Coldfusion Developer
  • 2. Contact Me @ Deepak Kumar Padhy ColdFusion Developer, Mindfire Solutions deepak.padhy@mindfiresolutions.com dkumar431@gmail.com https://www.facebook.com/deepak.padhy http://www.linkedin.com/pub/deepak-kumar/20/538/1a9 https://twitter.com/dkumar431
  • 3. History Cold Fusion 1.0 (1995) Cold Fusion 2.0 (1996) Cold Fusion 3.0 (1997) ColdFusion 4.0 (1998) ColdFusion 5.0 (2001) ColdFusion 6.0 (2002) ColdFusion 7.0 (2005) ColdFusion 8 (2007) ColdFusion 9 (2009) ColdFusion 10 (2012) ColdFusion 11 (2014)
  • 4. Installation Express Installer: • Small size • Easy to Install • No support for SOLR, .NET, PDF generation • For Development only Normal Installer: • Large size • Takes much time for Installation • Best suited for Production Enviroment
  • 5. Enhancements • Complete cfscript support • JSON Serialization enhancements • Introduction of Member functions • Query Enhancements • Social Integration • Better Security
  • 6. cfscript support • All the tags having equivalent script based syntax. • Example: <cfscript> cftag1 (att1 = val1, att2 = val2) { child_tag1 (child_attr1 = 'cv1', child_attr2 = 'cv2') } </cfscript> • Script support for custom tags also. • Example: <cf_happybirthday name="Ted Cantor" birthDate="December 5, 1987"> cf_happybirthday (name="Ted Cantor", birthDate="December 5, 1987"); • Exceptions: <cfoutput>,<cfdump>,<cfinvoke>,<cfobject>
  • 7. JSON Serialization • JSON Serialization is for converting ColdFusion data to JSON format introduced in ColdFusion 8 • Now there are 3 enhancements. 1. Case preservation of struct keys. "this.serialization.preservecaseforstructkey = true" in application level for preserving the case of struct keys. 2. Datatype perservation. ColdFusion always tries to convert string to numeric, If successful it treats that value as numeric. CF10: {"ID":6,"NAME":"xyz ","CGPA":7} CF11: [{"ID":6,"NAME":"xyz ","CGPA":"7"}] 3. Key-Value serialization of cfquery. Along with row-wise and column-wise serialization, Now we have struct-wise serialization for better interaction via jquery. Row: {"COLUMNS":["ID","ADDRESS"],"DATA":[[1,"Bhubaneswar"],[3,"Bangalore"]]} Column: {"ROWCOUNT":2,"COLUMNS":["ID","ADDRESS"],"DATA":{"ID":[1,3],"ADDRESS": ["Bhubaneswar","Bangalore"]}} Struct: [{"ID":1,"ADDRESS":"Bhubaneswar"},{"ID":3,"ADDRESS":"Bangalore"}]
  • 8. Member Functions Member function is introduced for data structure and data objects. Ture Object Oriented way of calling a function. Example: var myArray = arrayNew(1); CF10 : arrayAppend (myArray,newObj); CF11: myArray.append(newObj); Supported Datatype: Array, String, List, Struct, Date, Spreadsheet, XML, Query, Image
  • 9. Query Enhancements • queryGetRow(qryObject, index) : Returns particular row value in structure format. • New way to execute queries inside cfscript. • queryExecute(sql_str, queryParams, queryOptions) sql_str: The SQL query needs to be executed. queryParams: An array or structure of parameters queryOptions: Other attributes like datasource, result,dbtype are passed
  • 10. Social Integration • ColdFusion has introduced the support for dynamically generating Like button, Tweet button, and Comment box for social media sites. • Supported widgets are: 1. Like Button 2. Tweet Button 3. Google Plus Button 4. Facebook Subscribe Button 5. Like Box 6. Facebook Comment Box 7. Activity Feed 8. Follow
  • 11. Security Enhancements • cfmail with two new attributs "encrypt" , "encryptionalogorithim" and "recipientcert" • Post installation secure profile enable/disable. • Allow/Disallow concurrent login session to Coldfusion administrator. • Integration of AntiSamy library for for better XSS attack protection. getSafeHTML(input [, PolicyFile ], throwOnError]) isSafeHTML(input [, PolicyFile ]) Application.cfc setting: <cfset this.security.antisamypolicy = "antisamy.xml"> • PBKDF2 Key Derivation: generatePBKDFKey(algorithm, inputString, salt, iterations, keysize)
  • 12. Random • All the docs are wikified. • By default cfinclude will not allow to include js and css files . But for backward compatibility we can set "allowedextforinclude" property in neo-runtime.xml to allow some particular extension files. • IsValid() function bug fixed. CF10: isValid("integer", "$1,234") : true CF11:isValid("integer", "$1,234") : false • For backword compatibility we have an Application level setting "strictnumbervalidation" (default: true). • <cfhtmltopdf> to generate high quality pdfs quickly using PDF Service Manager.
  • 13. Types of Mobile Application
  • 14. Mobile Application Development • Why: PC and Desktop shipmetnts continue to decline since last 7 years . • ColdFusion Mobile Application platform comprises of : 1. CFML Language 2. Integrated PhoneGap Framework 3. ColdFusion Builder 3.0
  • 15. CFMobile : CFML Support • Create a 'ColdFusion Mobile Project' using ColdFusion thunder. • Select a mobile template (System/User template) to begin with the application. • Mobile template designed usning frameworks like bootstrap and jquery mobile. • Now <cfclient> does everything behing the screen.
  • 16. CFMobile : Continued. • Enclose client side CFML in <cfclient> tag. • CFML support on client side • All data structures and related functions – Struct, List, Array, Date, Query etc. • Tag and cfscript style code. • Member Functions syntax. • All basic language tags e.g. cfif, cffunction, cfloop, cfquery etc. • Does not support server side tags like cfldap, cfftp etc. • Does not support server side functions like addSOAPRequestHeader, spreadsheet functions etc. • Only variables, this and super scopes supported. • Does not support Application, Server, Client, Session and Arguments scope. .
  • 17. CFMobile : Continued. • Supports client side custom tags. • Can use client side (in-browser) database: websql • Use cfquery or queryExecute to execute client side SQL. • But qoq and in-memory query creation not possible. • Device APIs like Camera, Contacts, Audio etc. supported using PhoneGap. • Interoperability between JS and client side CFML • Call JS functions from cfclient. • Call cfclient functions from JS • OOP using client side CFComponent . • Easy way to call server side CFCs from cfclient •
  • 18. Inspecting and Debugging • Use weinre(Web Inspector Remote) for inspecting the application similar to firebug. • Steps: 1. Start the local weinre server. 2. Configure ColdFusion Builder. 3. Package the mobile application. 4. Inspect the mobile application. • Through weinre we can inspect HTML ,CSS elements and can view console messages. • Supports Client side CFML debugger to debug the code. • Debug code running in desktop browser or on mobile device. • Breakpoints, Step operations, Variable inspection
  • 19. Packaging • Packaging is for creating .apk file for android and .ipa file for ios. • Using PhoneGap build service and Coldfusion Builder. • Steps: 1. Get the required certificate 2. Register for a phonegap plan 3. Provide server and authentication details
  • 20. Packaging Continued. 1. For creating the self-signed certificate for Android , i. Open Comman prompt with administrator previlages ii. Goto JDK installation directory iii. Use "keytool -genkey -v -keystore keyname.keystore -alias keyalias -keyalg RSA -keysize 2048 -validity 10000 " 2. For creating a phonegap account goto, https://build.phonegap.com/plans 3. For providing certificate and phonegap account details, Goto ColdFusion Builder ->Window -> Preferences -> ColdFusion -> Phone gap
  • 21. References • https://wikidocs.adobe.com/wiki/display/coldfusionen/New+in+ColdFusion • https://wikidocs.adobe.com/wiki/display/coldfusionen/ColdFusion+Mobile+Funct ions • http://blogs.coldfusion.com/ • http://cfmlblog.adamcameron.me/ • http://ramkulkarni.com/blog/
  • 22. Thank You. Presentor: Deepak Kumar Padhy Mindfire Solutions