With the ColdFusion 2018 release, we have provided a refreshed ColdFusion Administrator console. As the old ColdFusion Administrator console had not been changed in a long time, we felt it was only right to put a modern spin on the User Interface as well as add a couple of exciting new features. Home Screen The new ColdFusion Administrator sees the introduction of a new home screen. The home screen shows the main categories of settings as tiles. Clicking on a […]
A Closure is an inner function that has access to outer function’s variables. Closures were earlier supported only in cfscript , now we have extended the functionality to support Closures in ColdFusion Tags as well. So now one can easily invoke Closures in ColdFusion Tags. Some of the code-snippets for using this feature are as follows: <cfset myarray=[ {name=”Thomas”, age=”22″}, {name=”Zaza”, age=”36″}, {name=”Novak”, age=”136″}, {name=”Marin”, age=”361″}, {name=”Rafa”, age=”3″}, {name=”$bl0091@”, age=”-23″} ]> <!— define closure function —> <cfset closure=function (e1,e2){ return […]
In the 2016 release of ColdFusion, we had introduced support for Command Line Interface. In this release, we have introduced support for Read-Eval-Print-Loop (REPL). REPL, a shell, is an interactive programming environment that takes single user inputs, evaluates them, and returns the result to the user. A REPL is like command line shells. How to start ColdFusion in REPL mode? Open a terminal and navigate to <ColdFusion Home Directory>\cfusion\bin> Enter cf.bat/cf.sh. It opens REPL mode in the terminal. What all […]
Introduction With the 2018 release of ColdFusion, we have introduced the support for Server Auto-Lockdown. Before going into the details, let’s understand what is Server Auto-Lockdown. What is Server Auto-Lockdown? Server Auto-Lockdown is based on the Lockdown Guide prepared by Pete Freitag for helping server administrators to secure ColdFusion Installations. The installer guides the users to change some permissions in their system to secure their ColdFusion installation. A few settings that need to be changed are: Set some OS level file system […]
About REST Playground REST Playground is an application bundled with ColdFusion 2018 to help visualize REST services registered in ColdFusion 2018. All the REST Applications that are registered in ColdFusion are shown here. REST Playground acts like is a client for the REST services. It helps developers and testers in development of REST Applications and provide platform to test and debug REST services as and when required. Enable/Disable developer Profile You need to enable Developer Profile setting present under Debugging […]
Null is an important construct in modern programming languages, which improves language interoperability with other tech stack and programming languages. Before the 2018 release of ColdFusion, a database null or a null returned from an external service was getting converted to empty string. Therefore, if you were to code for null or take decisions based on null value in your ColdFusion applications, there was no inherent way to achieve this. Imagine a scenario where you want to have an empty […]
In the 2018 release of ColdFusion, there is a handy way to create objects in ColdFusion. The snippet below illustrates how you can use the new operator to create different type of objects. //ColdFusion Component obj = new component(“path.to.cfc”) obj.init() // Java obj = new java(“java.class”) obj.init() // WebService obj = new webservice(“http://webservice?wsdl”, {“webservice”: “parameters”}) Similarly, you can use the new operator to create com, CORBA, and .NET objects as well.
Default functions can be provided to an interface without affecting implementing components as it includes an implementation. If each added method in an interface is defined with implementation then no implementing component is affected. An implementing component can override the default implementation provided by the interface. Imagine a scenario where you want to add a new function to a public interface, without default function, it would be a Herculean task since all consumers will need to provide an implementation. A default function is the solution, as the default […]
With advances in computing and transition from single-user desktop application to web-based application, multi-threading emerged as a core feature for all modern programming languages. In ColdFusion, you can implement threads using cfthread. However, to simplify the things further, we have introduced Asynchronous programming in the 2018 release of ColdFusion. Benefits Easy to use syntax with object-oriented styles. In-built chaining capability with then() and error() constructs, therefore, it’s easy to model your workflows. Result of an execution as Future, so easy […]
In this blog we will talk about discovery of ColdFusion nodes on Performance Monitoring Toolset. This feature will help Performance Monitoring Toolset (PMT) to discover ColdFusion nodes within the network using multicast. When you install Performance monitoring tool for the first time below screen will open after first logging in. All the ColdFusion 2018 nodes and Performance Monitoring Toolset run a multicast socket with default port 46864. When user clicks on start auto discovery button, multicast socket will be […]
As we know that the ColdFusion server runs on top of Java, and JVM is the engine, which helps ColdFusion do amazing things. When we talk about the performance of ColdFusion, then JVM by default becomes a major stakeholder. The Performance Monitoring Toolset provides detailed metric about JVM as shown in the screenshot below. The list of metrics shown under JVM section are: Heap & Non-Heap memory along with distribution GC event distribution as time series Aggregation of GC Metrics […]
At one point I thought that this portal was automatically loading forum posts from the Adobe Community Forum. This no longer appears to be the case as there are numerous recent posts to the forums that aren’t showing here. I didn’t realize this – I was watching the Q&A category here and seeing almost nothing coming through. I (naively) assumed there wasn’t much traffic over on the forums, and hadn’t bothered confirming. However, just looked this morning and noted there […]

