OOP and ColdFusion – Part 2

In my previous blog, I wrote about the following OOP features: Abstraction Encapsulation Inheritance Polymorphism Abstract CFCs & Methods In ColdFusion 2018, we support ‘Covariant Method Return Type’. This is another OOP concept and has been adopted by many modern programming languages. Covariant Method Return Type Most modern programming languages support ‘subtyping’. Let me explain subtyping by an example. If the return type of my class function is ‘Animal’ while overriding the function in a subclass, you can specify the […]

Named Parameters in ColdFusion

Named parameters enable you to associate argument with the parameter’s name rather than with the parameter’s position in the parameter list. They can be used in functions, constructors. In earlier versions of ColdFusion, named parameters were allowed in user-defined functions and in component constructors.  We are introducing named parameters for built-in functions with ColdFusion 2018. Before ColdFusion (2018 release), the order of parameters in a BIFs was necessarily fixed, since it was the only way that CF could identify which value is […]

OOP and ColdFusion

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

Migration of ColdFusion BugBase to Tracker(JIRA)

We would like to inform you that we have moved to a new bug tracking and reporting application called “Tracker". This was necessary as internally at Adobe, we have now transitioned to JIRA for issue/bug tracking for all the products. While functionally Tracker is similar to the BugBase application, there are still few inherent differences, that we thought, we should highlight. The same have been listed below: 1. While logging a bug, you will see a field, Component, which is equivalent […]