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  […]

Security Enhancements in ColdFusion Splendor – PBKDF2 and AntiSamy

ColdFusion 11 added few more security functions to the rich set of coldfusion security functions. Some of them includes protection against XSS using AntiSamy framework, PBKDF2 key derivation etc. In this blog post we will introduce you to the Antisamy and PBKDF2 key derivation functions added in coldfusion Splendor. AntiSamy Support: If there is a need to accept HTML/CSS input from the user then there is high possibility that the input containing XSS. In this case We can not use […]

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.  […]

ColdFusion Splendor Public Beta E-seminar Series

We have a series of e-seminars lined up that gives you a good understanding of the various features of ColdFusion Splendor, which is now in public beta. If you haven’t downloaded ColdFusion Splendor already, here is the link where you download the public beta. Here are the list of e-seminars: 1. Title- Public Beta E-seminar: ColdFusion Splendor Overview Date: 1st April Time: 8 am pacific. Find the recording for the e-seminar here 2. Title- Public Beta E-seminar: Everything about Mobile Application […]

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 […]

Specifying datatypes in Spreadsheets

We have often encountered bugs around datatype of data being written in spreadsheets. For example string like 8E45000 getting converted into a floating type or a string like 4D or 4F getting converted to numeric etc. The internal logic used to extract the data type of the data sometimes isnt that accurate and we would end up in writing corrupted data in spreadsheets. With Splendor now we provide users with the option of specifying the datatype of the data being […]

CFZip Enhancements in ColdFusion Splendor

CFZip has been in ColdFusion since CF8 but it was only for unencrypted zip files. ColdFusion Splendor brings password protection to CFZip with multiple encryption methods. 2 new attributes have been added to CFZip and CFZipParam to support this functionality. Password EncryptionAlgorithm  <Standard, AES-128,  AES-256 (default)>   Examples cfzip(action=”zip”, file=”C:ZipTesttestzipfile.zip”, source=”C:ZipTestsample.txt”, password=”pass”); cfzip(action=”list”, name=”zipFileList”, file=”C:ZipTesttestzipfile.zip”); cfzip(action=”unzip”, file=”C:ZipTesttestzipfile.zip”, destination=”C:ZipTest”, password=”pass”, overwrite=”true”); More examples here.

SpreadSheetAddPagebreaks and SpreadSheetAddAutofilter

We have added 2 new methods in spreadsheet. 1.SpreadSheetAddPagebreaks  Spreadsheets can have pagebreaks which breaks sheets into multiple regions when you want to print it. You can put these line breaks along rows as well as columns. Here is the syntax : SpreadSheetAddPagebreaks( ExcelInfo info, String rowbreaks,String colbreaks ) where info is the ExcelInfo object, rowbreaks are the row numbers and colbreaks are the column numbers where you want to put the page breaks. For example, SpreadSheetAddPagebreaks(info,”,’2′) breaks the sheet into two […]

Performance improvements in SpreadSheet

There has been considerable improvements in spreadsheet performance. We have done alot of internal code changes to improve this performance. Apart from internal changes we have also exposed something for users. SpreadSheetWrite method and write action of cfspreadsheet tag now takes one more parameter ‘autosize’. By default now all the excel sheets have all their columns expanded and resized once they are written. Column expansion is a very expensive process which if avoided can save some valuable milliseconds. Here is […]

Improvements and Enhancements in SpreadSheet

In the coming release we have made few updates in spreadsheet : 1. Overall performance has improved a lot. Read/write/update/format operations should be faster and consume less memory 2.  SpreadSheetWrite method now takes ’autosize’ parameter. If it is false, columns of output spread sheets wont be resized and users can avoid this expensive operation 3. New methods like SpreadSheetAddPagebreaks(adds page breaks in spreadsheet) and SpreadSheetAddAutofilter(Sets autofilter on the specific sheet) have been added 4. Internally POI has also been upgraded […]

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 […]