yes... without reverse engineering support it becomes difficult to keep
the model and code in sync with each other.
Reverse engineering has its difficulties - think about the composition
example I just mentioned:
Your forward engineered code might have a few createObject() calls in
the constructor of an object to compose one object within another. What
if you are using the factory or service locator patterns? What if you
are using dependency injection? While these might be a bad idea for
business objects, they are heavily used within service components
(services, managers, DAO's, etc), and I'd like to model those using UML
as well.
This makes me think that for rountrip engineering to be useful, there
needs to be an eloquent way to describe the how associations are
actually coded ("style" i guess?). I guess eventually some form of
annotation will become necessary in the code as well.
-Dave
>>> [EMAIL PROTECTED] 07/25/05 5:31 PM >>>
Yeah, I'm not a big fan of code generation myself. The only code
generating tool I personally use is ERWin for modeling Oracle
databases. I find I spend more time in the application tweaking the
design so it generates the correct code, then if I just wrote it by
hand. However, management loves pictures, especially when printed on a
plotter.
The biggest problem with the tools I've used is what was mentioned
earlier. It works great on the initial build, but becomes an obstacle
when updating. My ERDs quickly become out of date because the software
does a poor job of version management. When I say poor job, I mean it
doesnt do anything at all. It generates everything... not just the
changes made since version x.
btw. did Adalon ever come out with a version that supported CFCs? I
mean they had been promising it for a long time; so long that I gave
up waiting.
-Adam
PS This is what part the alphabet would look like if Q and R did not
exist.
On 7/25/05, Gary Menzel <[EMAIL PROTECTED]> wrote:
> HOWEVER.... as I said in an earlier post.... I am not a fan of
"generate".
> I have never seen it work properly and have been around in the
industry long
> before also experiencing the evolution these types of tools.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]