Writing components in CFScript

As I mentioned earlier in the course I'm not a huge fan of CFScript, but for…those that are, this is the video for you.…ColdFusion 9 now allows you to write CFCs entirely in CFScript, no tags at all,…not even a CFScript tag.…In this video, we are going to take an existing CFC and show you the pure…CFScript version to show you the format of the component and a method…definitions as well as the Javadoc Style of defining attributes and metadata for…your properties and methods.…So in the Chapter4 cfcs directory, we will open Person.cfc.…

This is the same CFC we used in the previous video to show you the implicit…getters and setters.…Sitting right next to that is PersonCFScript.cfc.…This is the exact same component written in CFScript instead of ColdFusion tags.…So I am going to show you these two files side-by-side.…Now, the first thing you should notice is that first off, there is…no open bracket cf anywhere.…Second, there's no CFScript tags surrounding the component.…You can start a component in CFScript by simply typing component at the top.…

Resume Transcript Auto-Scroll

Author

Released

10/5/2009

In ColdFusion 9 New Features, author and developer Dan Short has gathered together the important updates and improvements in this dynamic web application. Dan showcases the new ColdFusion Builder application throughout the course, using it to work through the new language and CFScript enhancements in this release. He shows how to use the new Server Manager to compare servers and create server groups, as well as monitor server health through notifications. He also explains the new integration with Office applications, building Excel, Word, and even PowerPoint files on the fly from ColdFusion. Finally, he covers the important new Object Relational Mapping feature and how to use the built-in Flash Player. Exercise files accompany this course.