CFBuilder extension?

13 views
Skip to first unread message

Joe Bodell

unread,
Sep 14, 2011, 4:02:24 PM9/14/11
to coldspri...@googlegroups.com
All,

As part of Adobe's Developer Week, I watched a demo of CF Builder 2. Whether I'm behind the times in getting onboard or not is immaterial. The IDE has some cool features including introspection -- if you say

<cfset myObj = createObject("component", "components.awesomeTool") />

The IDE can get into awesomeTool.cfc and show you existing method signatures, etc. Some other nifty stuff too, in terms of auto-generating methods based on calls, etc.

However, there was no indication that it could read a coldspring configuration and do the same things with a bean factory in between. For example, if I said

<cfset myService = CSBeanFactory.getBean("someService") />

it doesn't look like CFB would be able to resolve that without help. Would this require an extension for Coldspring or any other DI engine? If so, is such an extension already in existence?

Thanks,

--Joe

Barney Boisvert

unread,
Sep 14, 2011, 4:13:25 PM9/14/11
to coldspri...@googlegroups.com
Builder has the ability to associate variable names with components.
So you can tell it that any place it sees "userService" to assume it's
of type "com.domain.app.UserService" and provide code completion and
the like based on that.

It's not perfect, but if you name things consistently it works well
enough in most cases.

cheers,
barneyb

> --
> You received this message because you are subscribed to the Google Groups
> "ColdSpring-Users" group.
> To post to this group, send email to coldspri...@googlegroups.com.
> To unsubscribe from this group, send email to
> coldspring-use...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/coldspring-users?hl=en.
>

--
Barney Boisvert
bboi...@gmail.com
http://www.barneyb.com/

Mark Mandel

unread,
Sep 14, 2011, 8:54:26 PM9/14/11
to coldspri...@googlegroups.com
Sounds like a great community project :)

Mark
E: mark....@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) + Flex - Nov 17, 18 - Melbourne Australia
http://www.cfobjective.com.au

2 Devs from Down Under Podcast

Joe Bodell

unread,
Sep 14, 2011, 9:14:28 PM9/14/11
to coldspri...@googlegroups.com
Barney, I agree completely -- consistent naming conventions make that feature stronger. It's great that the Builder (CFB? What's the accepted abbreviation?) team has put so much effort into providing that feature, even for a simple string value to match against a cfc.

Mark...I was afraid you would say that :-)
------------------------
Joe Bodell
joe.b...@gmail.com
(c) 952-465-5096

Joe Bodell

unread,
Sep 15, 2011, 9:52:48 AM9/15/11
to coldspri...@googlegroups.com
So if I were going to traipse into the jungle and try to write such an extension, where would I find a reference for the events I can handle in ide_config.xml?

Also, would someone be interested in working on it with a noob (read: me)?
Reply all
Reply to author
Forward
0 new messages