

Object-Oriented Programming is common term in programming language. It’s a vast concept but to sum it up in a single line, it is a set of concepts and techniques that make use of the “object” construct, to write more reusable, maintainable, and organized code. Objects are implemented differently in every language. In ColdFusion, we have ColdFusion Components (CFCs) that can be instantiated to create objects. Anyone who has ever studied OOP must know that there are four main concepts, which are: Abstraction […]
ColdFusion 2018 performance monitoring toolset can help monitor a heterogeneous database server environment that may consist any of the ColdFusion supported databases. It helps users in identifying the bottleneck at the database or data source level. It can pin point the ColdFusion queries which are slowing down the entire ColdFusion application, so that developers or database administrators can take the appropriate step to fix these problematic database queries. Database monitoring is divided into multiple sections, broadly categorized as: Database overview […]
Semi-colons have been statement separators for most programming languages. Earlier when processing was slow and memory was expensive, language designers needed to split programs into multiple statements. A few languages required each statement to be on a new line so that the carriage return acted as a delimiter. Some languages required a free format text layout as a separator. Thus, the semi-colon was chosen as a separator so that it doesn’t conflict with other characters, for example, operators for math operations. Many languages do not use semi-colons as statement separator, for […]
Monitoring Incoming services In Performance Monitoring Toolset, we have dedicated a section for monitoring incoming services to ColdFusion. There are three types of services- REST, SOAP, and RPC. Any webservice or RPC call hitting a ColdFusion node or cluster will appear in this section and their metrics will be available. Charts for all incoming services- Average Response Time – Average Response Time for all the REST/SOAP/RPC calls is calculated and displayed separately for all 3 kinds of services in timeseries graph for […]
The primary job of Performance Monitoring Toolset is to monitor CF Servers. It provides end-to-end monitoring for all kinds of setups including individual nodes, individual cluster, J2EE environment or a combination of one or more of these. Performance Monitoring Toolset has a left navigation bar using which you can go to the CF Server section. Based on your selection of global filter (for more information about global filter please refer : Global filter), you are taken to the overview of your CF […]
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.