> 
> So your get/set methods introspect the object every time to validate 
> whether the property is accessible / updatable? Interesting approach. 
> Don't you find it rather slow?

Couldn't you save that introspection? If the CFC was cached, it would
only need to be done once?

> >> 'drawThyself()' doesn't generate HTML. To map his scenario to web 
> >> applications and CF you'd need an HTML UI layer that applications 
> >> called into in order to render pages - you wouldn't have HTML 
> >> fragments in your 'drawThyself()' methods.
> > What else is there for it to do?  Wouldn't the drawThyself method be
> > in the
> > HTML UI layer?
> 
> But the HTML UI layer here - that matches the Swing UI layer Holub 
> refers to - is an abstraction layer that knows nothing about your 
> application objects. 'drawThyself()' would be a method on 
> your business 
> object that calls the abstract HTML UI layer to render information 
> (into HTML). In other words: no business logic/knowledge in the HTML 
> layer and no HTML in the business layer - which is how Swing apps 
> essentially work. We just don't have an HTML equivalent to Swing.
> 
> Sean A Corfield -- http://www.corfield.org/blog/

Sean, is there _anyway_ you could possibly whip an extremely small
example of this with some real CFML code? I'm sure myself and others
would greatly appreciate it. No rush, nothing fancy, just the extreme
minimum required to show an example.

-ray


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to