ColdFusion language improvements - Implicit CFC Constructors, notation, and chaining
Published on
I attended CFObjective ANZ this past week. Terrence Ryan announced a lot of cool news about ColdFusion. I am going to doing a series over these announcements. The first post was about upcoming improvements with CFFile update and For in loop CFScript support of Queries. This post will show slides about CFC improvements with implicit constructors, notation, and chaining. This first slides show how you would code the cfc to take advantage of implicit constructors.
From 2011-11-18 |
This slide shows how you can then call the set on the cfc constructors.
From 2011-11-18 |
This slide shows how you can also set the values. I think this is different then using a set/get. This is very similiar to ColdFusion on Wheels ORM. Notice with this first call, the object is returning itself into the variable, mark, then setting something into the this scope.
From 2011-11-18 |
This slide shows how you can chain menthod calls. This is showing setting actions but I would think you can chain any existing method calls.
From 2011-11-18 |