« Server Manager | Main | Previewing a File in 1-2-3 Steps »

ORM CFC Generator

Most of you who are already in public forums of ColdFusion Builder know about CFC Generator extension for CFBuilder. For those who are new to it,its an extension to CFBuilder which will help you to automatically create ORM CFC's for tables listed in the RDS View of CFBuilder.

We have an updated version of CFC Generator Extension available...Try this one out.
We have added option to specify relations and join conditions .
We would like to hear your comments on this :)
While Installing the extension to CFBuilder,the server chosen should be the latest public beta build of CF9 Server.
See instructions on how to use this extension here

Adobe CFC Generator

Comments (11)

Need help find this track

@Twockin: Can you elaborate what you are looking for?
Is the download not working for you or you need more info on how to use it?

Charles:

I would love to get this working, but seem to be stuck. I am, for the record, new to using an ecclipse-based IDE. When I go to install the extension, I pick the server (local web server) and then it informs me that "This application is already installed. Choose any of the following options to continue install". There is nothing else on the panel. I finish the install wizrd but when using the option to generate an ORM CFC, I have no option for adding relationships. Thank you.

@Charles: Update of an already installed extension has an issue .So it would be good if you can uninstall and install the extensions.For this, go to Preferences->ColdFusion->Extensions.Click on Adobe CFC Generator and click uninstall.This will remove the extension.After that if you do a fresh install of the extension it should work fine.

Gary F:

What's an ORM and why do I need it? How does CF work with ORM differently from any other language? Does an ORM add another layer that could have a performance impact on a busy application?

@Gary: ORM is the hibernate integration to CF9.You can check out more details
here

I find that Bhakti's attempt to link to Rupesh's blog of great ORM content (labeled in his comment as "ColdFused") is not working as a link for me.

Some may know he used to blog at http://coldfused.blogspot.com/, but he changed recently to http://www.rupeshk.org.

More specifically, the category for his ORM blogs is
here.

Start at the bottom and work your way up for a nice series of posts introducing ORM in CF.

Bhakti, if you want to delete this comment after correcting your link as you intended it to be, that's fine. Thanks for your contributions.

Bhakti:

Hey Charlie,
Thanks for posting the URL. Looks like http://blogs.adobe.com upgrade caused this.

And its a "her" not "his"!!! >>(labeled in his comment as "ColdFused") ;) :)

I have deleted my previous comment...

Bruno:

very nice update. Although sometimes its easier to just type the relations manually. I wonder if theres any way to go back to previous patterns for cfc functions, i mean the new version instead of using default fn names like "gelallitems" now create unique names for every cfc, this isnt good actually.

Evelin Varghese:

@Bruno:You can change the way the functions are generated
The template which generates the service file is
Adobe CFC Generator\handlers\com\adobe\cfbuilder\templates\service.cfc.cfm
(The path to Adobe CFC Generator can be found at Preferences->ColdFusion->Extensions->Adobe CFC Generator Click Show Details)
The above template is called from
Adobe CFC Generator\handlers\index.cfm

It's all cfm code...so feel free to update it as per your wish :)

Susan Gallegos:

I have installed and uninstalled the cfc generator several times - currently the ORM CFC generator is creating truncated code for the service: the create function and only part of the delete function - it doesn't even close the delete function or the component. I have tried it on several tables.
Any ideas what my problem is? I checked the bolt.log - no errors
Thanks, Susan

Post a comment

About

This page contains a single entry from the blog posted on July 17, 2009 12:57 PM.

The previous post in this blog was Server Manager.

The next post in this blog is Previewing a File in 1-2-3 Steps.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.261