Remote Synthesis
Search my blog:
Viewing By Entry / Main
Jun 16, 2009

Preview the Illudium Connector Bolt Extension

You may have read or heard about the announcement that Bolt (ColdFusion's new IDE) will allow you to write your own extensions (Ray has talked about his extensions recently). I personally don't think enough fuss has been made about this feature, probably because people don't know a lot about them yet. To clarify, you can create fully dynamic extensions with CFML - no need to learn any of the internals of Eclipse - and then add these onto things like the file view or the RDS DataView. When I first heard about this, I thought this would be a great way to tie an existing installation of the Illudium PU-36 Code Generator into the IDE within the RDS DataView. That extension is currently available on RIAForge for anyone with access to Bolt right now or, if you don't yet have access, its there for when a public beta happens (no, I don't have a clue when that might be).

In general writing extensions is pretty easy, and I hope to talk about it more down the road. This particular extension had some complications. One of those was that the existing API for Illudium uses your ColdFusion Administrator password to access the AdminAPI for datasource names and types. Since you already enter that to access the RDS panels, it seemed silly and redundant of me to ask it again. Therefore, I bypass much of the existing service and get the information I need via the current code utilizing <cfdbinfo>. It's a bit of a hack, but until I get around to rewriting the Illudium API, it'll have to suffice. You do need to have a working copy of Illudium installed on your local machine for this plugin to work however.

Anyway, if you are curious what this extension looks like in action, click the image below and it will show you a video I made with Jing that shows me using the extension to generate code against the default Illudium template. The panel that comes up with the standard form for generating with Illudium does indeed populate the list of templates dynamically at runtime - that's the beauty of these extensions being built in CFML. I am really excited to see what people build for Bolt extensions as I think these initial ones are only going to be the tip of the iceberg in terms of what's possible.

Comments
Joshua
Very nice!


anonymous
Cool demo. More importantly though, will it make my mouse click that loud too?


Adam Tuttle
Very cool, Brian! Nice to have it integrated right into the IDE. I, too, am excited to see what people will come up with. I'm sure there is some great possibility for tight integration with frameworks, among other things...


Brian Rinaldi
@Adam - I actually have another plugin posted on RIAForge which I'll talk about next that actually has some basic framework integration. It's simple but useful.


Reinhard Jung
very cool!!!!


Stephen Weyrick
This is some really cool stuff!!! Thanks for sharing!!!


John Gag
looks great. Thanks for sharing.


Stefan Rölli
I like the illudium generator and your connector very much!
But i had some problems because the dbtype in the connector is set to scorpio and i use mssql. It should be possible to dynamically set the dbtype.
Like in cfcgenerator com.cf.model.adminAPI.adminAPIFacade.driverOrClassToType()


Brian Rinaldi
Because the connector uses a "hack" of sorts, it always has to go through the cfdbinfo based database connector. If you ran this in the regular Flex-based interface, it would use the MSSQL connector.

For what its worth, I am already working on a revamped connector that would completely revise how all this works but I don't anticipate it being complete too soon.


Write your comment



(it will not be displayed)