Viewers: in countries Watching now:
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.
I know. I don't like PowerPoint either but PowerPoint is a necessary evil in the business world. And in those cases where you need to generate a PowerPoint for that next sales presentation, Cold Fusion 9 makes it easy by allowing you to use CF presentation tags to create PowerPoint files directly from Cold Fusion. So to get started in the Chapter7 folder, we'll open a PowerPoint.cfm. And I have already created a regular old CF presentation here, using the CFpresentation tag and CFpresentationslide.
So let's take a look to those in the browser real quick to see what they look like. So we go to local host 8500, Chapter7, PowerPoint.cfm. And here we can see the standard CF presentation display with my two slides. But if I wanted to convert this to a PowerPoint presentation, I don't have any way to easily re-purpose all the content I have already built. In Cold Fusion 9 on the CF presentation tag, I can say format = ppt and the destination, in this case is going to be Expandpathtestpresentation.ppt.
So this is going to create a test presentation PowerPoint slide in my current Chapter 7 directory. So let's go back to the browser and reload. We should get a blank page. If I return to CF Builder and refresh the Chapter7 folder, you can see now I have a testpresentation.ppt file. We will double-click the testpresentation.ppt. That will open PowerPoint. We could see I now have my slide 1 and slide 2. Now they are nothing fancy but again, it's whole bunch of content, conceivably, that I didn't have to retype or copy paste into PowerPoint.
So that's one new feature for the CFpresentation tag. There are other new features that I can pull PowerPoint content into my CF presentation. So let's close this document and in the Chapter7 folder I have a CF9NF.ppt. Let's open that and take a quick look. I have an image on this page, a title, a few bullet points on pages 2 and 3. And I actually have some tables with background colors and colored headings. So, I have a lot of formatting in here that would be nice to preserve inside my presentation.
So let's close this. So I going to pull in my PowerPoint presentation by adding a new CFpresentationslide tag. Now the first thing I want to do is to get rid of these attributes, because I don't want to write out a new PowerPoint file at this point. So we will say cfpresentationslide, provide an src that points to our PowerPoint file on disk, and that's it. Let's switch back to Safari and take a look and it's going to take a little bit longer to load because it's got to read in that PowerPoint file.
As you see it's brought in our entire slide. I am going to go and pause this. So go over to slide 2. You can see here it brought over most of my table formatting correctly. I have got all my borders and background colors, but it did a very, very poor substitution on my font for the headers. Whatever Cold Fusion brings in the PowerPoint presentation, it can only use fonts that it has access to inside of the Cold Fusion server. So make sure that if you're using fonts you either have them installed in Cold Fusion or if you are using very basic fonts it's not going to have a problem importing.
With the new Cold Fusion 9 PowerPoint integration, you can now convert an existing CF presentation directly to PowerPoint, or bring any PowerPoint file directly into the CFpresentation tags.
There are currently no FAQs about ColdFusion 9 New Features.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.