Not finding what you are looking for? Request a recipe!
ColdFusion 9 introduced the ability to set a default datasource for an application.
ColdFusion allows an application to create a typed object from a structure by specifying the __type__ key in the structure.
ColdFusion offers a couple very simple and easy solutions to prevent this from happening. The first is setting the Allowed SQL on the datasource and using the <cfqueryparam> tag in all of your queries!
There are two different ways to loop over arrays in ColdFusion. Using an index loop and accessing the elements of the array by the specified index and specifying the array itself and outputting the specific element in the array.
Outputting values from a structure might seem a little difficult at first. Unlike arrays, which are index based, structures are key based. But, as it does with just about everything else, ColdFusion provides a simple solution!
ColdFusion 9's ORM ( Object Relational Mapping ) features provide easy access to the powerful features of Hibernate. One of the first steps in working with ORM is loading data. ColdFusion provides several functions for working with ORM, one of which is the entityLoad() function, which will be used ...
ColdFusion allows an application to throw a custom error using the <cfthrow> tag.
ColdFusion offers several different ways to operate a loop. Loops for queries, indexes, arrays, collections and conditional. To solve the problem of looping until a certain condition is met, a conditional loop will be used.
ColdFusion 9's ORM ( Object Relational Mapping ) features provide easy access to the powerful features of Hibernate. Beyond simply loading data, ColdFusion provides several functions for adding and updating data, including the entitySave(), entityNew() and ormFlush(). Once again all of this is done ...
ColdFusion allows developers to very easily call a webservice and pass in arguments to those services using the <cfinvoke> and <cfinvokeargument> tags.