ColdFusion Builder Extensions Tutorial Part I - Introduction
As I had said in my previous post that I will post a series of articles on extensions covering basics, tips and tricks etc, so here’s my first one. This articles introduces you to ColdFusion Builder Extensions, explains what are they, what all is possible, where to find extensions etc.
First things First
What Are ColdFusion Builder Extensions?
Well in very simple words, extensions allow you to extend ColdFusion Builder by writing CFML code. Yes, that’s right CFML!!!….no java…no need to learn eclipse..just CFML code and a bit of XML. All this (CFML code and XML configuration file) can be packaged as ready to use zip file. This zip is what you can install/distribute as extension for ColdFusion Builder.
What all you can do with extensions?
Through extensions, ColdFusion Builder lets you hook into it in different ways. This means that you can tie specific CFML code to a given hook. To tell ColdFusion Builder to tie a hook to a specific CFML template you need to XML configuration file. Broadly there are two type of hooks
1) Hooks to Add Context Menus to different views inside ColdFusion Builder. Context menus are the pop-up menus which appear when you right click on a selected object/UI element etc. This can be useful to address code generation/analysis use-cases specific to a Framework or application development in general.
Context menus can be added to following views as of now
- Navigator View
- RDS Data View
- Outline View
2) Hooks for Listening to Events inside ColdFusion Builder
- Currently Project creation event is supported. This means that specific CFML code can be called whenever user creates a new project in ColdFusion Builder. This can be useful in creating default project templates, basic application code, Framework specific directory structure etc.
Are there any extensions available as of now?
Adobe ColdFusion Builder ships few extensions which can be location in <ColdFusion Builder install Dir>/extensions. These include extensions to generate basic as well as ORM CFCs and Action script classes from database tables. Also a basic extension for Model-Glue Framework. And there quite a few exciting extensions already available on RIAForge under ColdFusion Builder Extensions category.
So go ahead and try out a few of them.
Hope this post clears your basic question about ColdFusion Builder extensions. Next post I will cover how you can add a context menu and hook it to cfm file.
Tags: "ColdFusion Builder extensions tutorial", "ColdFusion Builder extensions", "extension tutorial", Extensions