Language Enhancements in ColdFusion Splendor – Promoting built-in CF function to first class

A while ago I started a series of blog posts on Language Enhancements in ColdFusion Splendor and today, taking it forward, I am going to write about built-in ColdFusion functions being promoted to first class objects. A first class object is the one which could be passed as an argument to a function call, assigned to a variable or returned as a result of a function invocation. So by promoting built-in functions to first class objects, you will be able to […]

Language Enhancements in ColdFusion Splendor – Elvis operator

The Elvis operator (?:) is a small but elegant feature added in Splendor. I am going to show you how it shortens your conditional code and  makes it look simpler. But before I get into the details, here is the list of language features added in ColdFusion Splendor. Script support for tags Member functions for CF data type/data structure Improved JSON serialization Easy to use CF functions for Query tag Elvis operator (?:) Promoting built-in CF function to first class  […]

Language Enhancements in ColdFusion Splendor – CF Functions for Query tag

Continuing the blog posts series on language enhancements, today, I am going to cover the Query functions and explain its various overloaded methods in detail. Before I discuss this feature, here is the list of language features added in ColdFusion Splendor. Script support for tags Member functions for CF data type/data structure Improved JSON serialization Easy to use CF functions for Query tag Elvis operator (?:) Promoting built-in CF function to first class  Miscellaneous new functions: QueryGetRow, ListEach and others.  […]

Language Enhancements in ColdFusion Splendor – Improved JSON serialization 2

In the previous post, I blogged about JSON serialization enhancements and covered a couple of features around it. This post, a continuation from the last one, will cover the remaining features added in ColdFusion Splendor to serialize a ColdFusion object better. Before going into the details of the remaining improvements, here is the complete list of JSON features. Data type preservation for Query and CFC  Case preservation of struct keys Added “Struct” as new QueryFormat Custom serializer Added “Struct” as new […]

Language Enhancements in ColdFusion Splendor – Improved JSON serialization

I started a series of blog posts on language enhancements and so far covered Script support for tags and Member functions. Today, I will be blogging about the new features added in ColdFusion Splendor to improve JSON serialization. Before I dive into the details of JSON serialization enhancements, here is the list of the language features: Script support for tags Member functions for CF data type/data structure Improved JSON serialization Easy to use CF functions for Query tag Elvis operator (?:) Promoting […]

Language Enhancements in ColdFusion Splendor – Member functions

Download the public beta of ColdFusion Splendor from here I started a series of blog posts on language enhancements and covered “Script support for tags“ last week. Continuing on this, today I am going to blog about “Member function” that I hope should interest most of you. Before I get into the details of member functions, here is the list of language features:    Script support for tags Member functions for CF data type/data structure Improved JSON serialization Easy to use CF […]

Language Enhancements in ColdFusion Splendor

Download the public beta of ColdFusion Splendor from here Various enhancements have been added to the core CFML language to provide a better development experience. Script support for CF tags and member functions for CF data structure were long pending feature requests and we are happy to add these two along with a few more enhancements in ColdFusion Splendor (codename). The following list shows the enhancements made in the CFML language: Script support for tags Member functions for CF data […]

JSON backward Compatibility: Flag to enable CF8 behavior

JSON serialization was introduced in CF8 for the first time. It was used heavily to serialize CFC and other CF data objects. In “CumulativeHotfix1 for ColdFusion 9.0.1”, some of its outstanding issues were fixed. Few of issues addressed in hotfix were that of string to number conversion, and number getting converted to double. The change in behavior of JSON serialization, which fixed some of the basic problems of CF developer at one hand, also had a side effect of breaking old […]