SlideShare a Scribd company logo
1 of 22
Download to read offline
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

What's hot

Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernateBuilding an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernatebwullems
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginneraminbd
 
Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Bhaumik Patel
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentationivpol
 
Entity Framework Code First Migrations
Entity Framework Code First MigrationsEntity Framework Code First Migrations
Entity Framework Code First MigrationsDiluka99999
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterKHALID C
 
Architecting RIAs with Silverlight
Architecting RIAs with SilverlightArchitecting RIAs with Silverlight
Architecting RIAs with SilverlightJosh Holmes
 
ASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex SystemsASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex SystemsShahed Chowdhuri
 
Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6Noam Kfir
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend frameworkSayed Ahmed
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCKhaled Musaied
 
How to Wield Kentico 9 in the Real World
How to Wield Kentico 9 in the Real WorldHow to Wield Kentico 9 in the Real World
How to Wield Kentico 9 in the Real WorldBrian McKeiver
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training sessionHrichi Mohamed
 
ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC eldorina
 
Building Ajax apps with the Google Web Toolkit
Building Ajax apps with the Google Web ToolkitBuilding Ajax apps with the Google Web Toolkit
Building Ajax apps with the Google Web Toolkitvivek_prahlad
 
CodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comCodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comChristopher Cubos
 

What's hot (20)

Building an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernateBuilding an enterprise app in silverlight 4 and NHibernate
Building an enterprise app in silverlight 4 and NHibernate
 
Codeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginnerCodeigniter, a MVC framework for beginner
Codeigniter, a MVC framework for beginner
 
Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
Entity Framework Code First Migrations
Entity Framework Code First MigrationsEntity Framework Code First Migrations
Entity Framework Code First Migrations
 
PHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniterPHP Frameworks and CodeIgniter
PHP Frameworks and CodeIgniter
 
Architecting RIAs with Silverlight
Architecting RIAs with SilverlightArchitecting RIAs with Silverlight
Architecting RIAs with Silverlight
 
ASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex SystemsASP.NET 5 Overview for Apex Systems
ASP.NET 5 Overview for Apex Systems
 
Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend framework
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
How to Wield Kentico 9 in the Real World
How to Wield Kentico 9 in the Real WorldHow to Wield Kentico 9 in the Real World
How to Wield Kentico 9 in the Real World
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
 
ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
 
Building Ajax apps with the Google Web Toolkit
Building Ajax apps with the Google Web ToolkitBuilding Ajax apps with the Google Web Toolkit
Building Ajax apps with the Google Web Toolkit
 
Java in Mule
Java in MuleJava in Mule
Java in Mule
 
CodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comCodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.com
 
Spring Mvc
Spring MvcSpring Mvc
Spring Mvc
 
Introduction to React JS
Introduction to React JSIntroduction to React JS
Introduction to React JS
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
 

Similar to ColdFusion 11 New Features

Presenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View ControlPresenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View ControlTeamstudio
 
Get over the Cloud with Bluemix
Get over the Cloud with BluemixGet over the Cloud with Bluemix
Get over the Cloud with BluemixCodemotion
 
Hands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.comHands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.comSalesforce Developers
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixJake Peyser
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixDev_Events
 
Accessing Google Cloud APIs
Accessing Google Cloud APIsAccessing Google Cloud APIs
Accessing Google Cloud APIswesley chun
 
LiveCycle Data Services for ColdFusion Developers
LiveCycle Data Services for ColdFusion DevelopersLiveCycle Data Services for ColdFusion Developers
LiveCycle Data Services for ColdFusion DevelopersSteven Erat
 
IBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platformIBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platformDaniela Zuppini
 
Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDERssuserc37b5e
 
201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio201507_NeoHsu_Portfolio
201507_NeoHsu_PortfolioNeo Hsu
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverterJaoued Ahmed
 
Secure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusionSecure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusionOrtus Solutions, Corp
 
Custom Tile Generation in PCF
Custom Tile Generation in PCFCustom Tile Generation in PCF
Custom Tile Generation in PCFDustin Ruehle
 
How to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of LifeHow to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of LifeGreg O'Connor
 
AD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development FuturesAD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development FuturesEamon Muldoon
 
Build 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin DevsBuild 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin DevsMike James
 

Similar to ColdFusion 11 New Features (20)

Presenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View ControlPresenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View Control
 
Get over the Cloud with Bluemix
Get over the Cloud with BluemixGet over the Cloud with Bluemix
Get over the Cloud with Bluemix
 
Chinnasamy Manickam
Chinnasamy ManickamChinnasamy Manickam
Chinnasamy Manickam
 
Hands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.comHands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.com
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on Bluemix
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on Bluemix
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on Bluemix
 
Accessing Google Cloud APIs
Accessing Google Cloud APIsAccessing Google Cloud APIs
Accessing Google Cloud APIs
 
LiveCycle Data Services for ColdFusion Developers
LiveCycle Data Services for ColdFusion DevelopersLiveCycle Data Services for ColdFusion Developers
LiveCycle Data Services for ColdFusion Developers
 
IBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platformIBM Bluemix cloudfoundry platform
IBM Bluemix cloudfoundry platform
 
Narender Soni Resume - Updated
Narender Soni Resume - UpdatedNarender Soni Resume - Updated
Narender Soni Resume - Updated
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDER
 
201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio201507_NeoHsu_Portfolio
201507_NeoHsu_Portfolio
 
Webinar on How to use MyAppConverter
Webinar on How to use  MyAppConverterWebinar on How to use  MyAppConverter
Webinar on How to use MyAppConverter
 
Secure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusionSecure your Secrets and Settings in ColdFusion
Secure your Secrets and Settings in ColdFusion
 
Custom Tile Generation in PCF
Custom Tile Generation in PCFCustom Tile Generation in PCF
Custom Tile Generation in PCF
 
How to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of LifeHow to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of Life
 
AD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development FuturesAD101: IBM Domino Application Development Futures
AD101: IBM Domino Application Development Futures
 
flask.pptx
flask.pptxflask.pptx
flask.pptx
 
Build 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin DevsBuild 2017 - Whats new for Xamarin Devs
Build 2017 - Whats new for Xamarin Devs
 

More from Mindfire Solutions (20)

Physician Search and Review
Physician Search and ReviewPhysician Search and Review
Physician Search and Review
 
diet management app
diet management appdiet management app
diet management app
 
Business Technology Solution
Business Technology SolutionBusiness Technology Solution
Business Technology Solution
 
Remote Health Monitoring
Remote Health MonitoringRemote Health Monitoring
Remote Health Monitoring
 
Influencer Marketing Solution
Influencer Marketing SolutionInfluencer Marketing Solution
Influencer Marketing Solution
 
ELMAH
ELMAHELMAH
ELMAH
 
High Availability of Azure Applications
High Availability of Azure ApplicationsHigh Availability of Azure Applications
High Availability of Azure Applications
 
IOT Hands On
IOT Hands OnIOT Hands On
IOT Hands On
 
Glimpse of Loops Vs Set
Glimpse of Loops Vs SetGlimpse of Loops Vs Set
Glimpse of Loops Vs Set
 
Oracle Sql Developer-Getting Started
Oracle Sql Developer-Getting StartedOracle Sql Developer-Getting Started
Oracle Sql Developer-Getting Started
 
Adaptive Layout In iOS 8
Adaptive Layout In iOS 8Adaptive Layout In iOS 8
Adaptive Layout In iOS 8
 
Introduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/MacIntroduction to Auto-layout : iOS/Mac
Introduction to Auto-layout : iOS/Mac
 
LINQPad - utility Tool
LINQPad - utility ToolLINQPad - utility Tool
LINQPad - utility Tool
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Swift vs Objective-C
Swift vs Objective-CSwift vs Objective-C
Swift vs Objective-C
 
Material Design in Android
Material Design in AndroidMaterial Design in Android
Material Design in Android
 
Introduction to OData
Introduction to ODataIntroduction to OData
Introduction to OData
 
Ext js Part 2- MVC
Ext js Part 2- MVCExt js Part 2- MVC
Ext js Part 2- MVC
 
ExtJs Basic Part-1
ExtJs Basic Part-1ExtJs Basic Part-1
ExtJs Basic Part-1
 
Spring Security Introduction
Spring Security IntroductionSpring Security Introduction
Spring Security Introduction
 

Recently uploaded

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 

Recently uploaded (20)

Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

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
  • 22. Thank You. Presentor: Deepak Kumar Padhy Mindfire Solutions