New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

ColdFusion Builder Essential Training
Illustration by

Packaging the extension


From:

ColdFusion Builder Essential Training

with Daniel Short

Video: Packaging the extension

Now that you have the basics of your extension dialog built, it's time to actually install and test your extension. I know this may seem like a bit of a chicken and egg kind of problem, "why would I install my Extension before I am doing building it," but there's no good way to debug a CFBuilder extension without actually packaging and installing it, so you can actually run the UI. The nice thing is that once you have installed the extension, you can tweak it and rerun it over and over again, until you have things right. So, to package an extension, it's as easy as creating a zip file. What we are going to do in our Ch8Test folder is to create a new folder here called handlers.
Expand all | Collapse all
  1. 7m 48s
    1. Welcome
      59s
    2. Installing ColdFusion Builder
      2m 20s
    3. Installing ColdFusion Builder as a plug-in
      3m 18s
    4. Using the exercise files
      1m 11s
  2. 17m 42s
    1. Workspace overview
      2m 25s
    2. Organizing your workspace
      6m 19s
    3. Adding and selecting workspaces
      2m 53s
    4. Installing and managing plug-ins
      6m 5s
  3. 12m 12s
    1. Creating projects
      2m 11s
    2. Importing projects
      2m 48s
    3. Creating project working sets
      2m 23s
    4. Managing projects
      2m 22s
    5. Linking folders
      2m 28s
  4. 23m 2s
    1. Configuring and managing ColdFusion servers
      6m 26s
    2. Using the Services Browser
      4m 15s
    3. Using RDS Dataview and Fileview
      4m 52s
    4. Using FTP
      7m 29s
  5. 18m 10s
    1. Creating editor profiles
      2m 6s
    2. Using Code Assist
      5m 43s
    3. Setting code coloring
      4m 5s
    4. Using shortcut keys
      3m 5s
    5. Working with outlines and syntax checking
      3m 11s
  6. 37m 40s
    1. Using code completion
      7m 25s
    2. Using snippets
      9m 23s
    3. Using SQL editing and the Query Viewer
      5m 55s
    4. Working with components
      7m 27s
    5. Working with variable mapping
      2m 14s
    6. Navigating code and documents
      5m 16s
  7. 13m 12s
    1. Getting set up
      3m 50s
    2. Using the ColdFusion debugger
      5m 37s
    3. Watching logs with Tailview
      3m 45s
  8. 13m 8s
    1. Installing extensions
      4m 5s
    2. Using the CFC Generator extension for ColdFusion 8
      4m 52s
    3. Using the CFC Generator extension for ColdFusion ORM
      4m 11s
  9. 34m 5s
    1. Building a simple contact form extension
      3m 42s
    2. Creating user interfaces
      8m 55s
    3. Packaging the extension
      3m 55s
    4. Building the handler
      8m 10s
    5. Using the Builder extension
      9m 23s
  10. 25s
    1. Goodbye
      25s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
ColdFusion Builder Essential Training
2h 57m Beginner Mar 22, 2010

Viewers: in countries Watching now:

ColdFusion Builder, based on the Eclipse workbench, is Adobe’s first dedicated development environment for programmers of ColdFusion-based Internet applications. ColdFusion Builder Essential Training, with author Dan Short, is designed to teach both new and experienced ColdFusion developers how to configure servers and services, generate data-aware components, and create custom extensions. Exercise files accompany the course.

Topics include:
  • Installing ColdFusion Builder
  • Customizing the ColdFusion Builder workspace
  • Managing assets within a project
  • Setting up ColdFusion servers
  • Coding with Code Assist, code coloring and syntax checking
  • Using code snippets
  • Working with components and variable mappings
  • Creating custom Builder extensions
Subjects:
Developer Web
Software:
ColdFusion Builder
Author:
Daniel Short

Packaging the extension

Now that you have the basics of your extension dialog built, it's time to actually install and test your extension. I know this may seem like a bit of a chicken and egg kind of problem, "why would I install my Extension before I am doing building it," but there's no good way to debug a CFBuilder extension without actually packaging and installing it, so you can actually run the UI. The nice thing is that once you have installed the extension, you can tweak it and rerun it over and over again, until you have things right. So, to package an extension, it's as easy as creating a zip file. What we are going to do in our Ch8Test folder is to create a new folder here called handlers.

If you recall in our ide_config.xml file, we specified a handler here called index.cfm. CFBuilder extensions will always look for this file inside of the handlers directory. So, everything besides your ide_ config file should go inside of the handlers directory. So, I am going to drag the formTemplate .cfm inside of here, and then we will create a new file called index.cfm, so that we have our handler ready to go when we actually start building out our ColdFusion code.

So, now to package our extension, it's as simple as creating a zip file. I will switch over to Finder, and I am in my ColdFusion webroot, and here we see my Ch8Test folder. I will just select the handlers directory and the ide_config file, right-click, and choose Compress. If you are not on Leopard or Snow Leopard on the Mac, you will need to use something like StuffIt to create your zip file, or if you are on Windows, the built-in Windows zipping functionality or WinZip will work just as well. But select the ide_config file and your handlers directory and compress those two items into your zip file.

And I will just rename this Ch8TestExtension. You can name the zip file whatever you want. It has no bearing on the name of the extension once its actually installed into CFBuilder. So, now we will go back to CFBuilder, and in the Extensions view, we will click plus, find our test extension we just created. Click Open. Here, we can see the description. We are doing a Beta 1 version of our extension. Click Next, accept the terms of the license agreement. Choose our server.

Browse to where we want it installed, and click Finish. Once the installation is successful, I will afresh my CFBExtensions folder over here, and here's our Simple Contact Form Test. So, now, instead of this index file and ide_config in my Chapter 8 folder, I am going to open the two files here and start editing them. So, let's run the extension and make sure everything is working correctly. If I right-click in my project, you notice here's my menu that I added to the lynda.com Viewer menu and here's the name of my action, Simple Contact Form. I will run that.

Here's the UI that we created. If I cancel this dialog, and we will go back over to our ide_config file, in my ide_config, I am going to change the label of the Mail Server to say Mail Server Address. I will Save my file. Then because I have changed the ide_ config file and not a ColdFusion file that's executed on the server, I need to go down here in the Extensions view. I will click Reload all Extensions. What this does is forces CFBuilder to go back and reread all the ide_config.xml files.

Now, I will go run my extension again. We can see the label has changed for the Mail Server Address. Now that you know how easy it is to package and get your extension running, I would encourage you to package and start testing sooner rather than later. Since we now have the UI for our extension complete, it's time to start building the handler.

There are currently no FAQs about ColdFusion Builder Essential Training.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed ColdFusion Builder Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.