On Tue, Jan 4, 2011 at 8:27 AM, Steve Bryant
<st...@bryantwebconsulting.com> wrote:
> I think it is quite a bit unlike any other ColdFusion framework out there. It 
> isn't hub-and-spoke (where all requests are routed through index.cfm, for 
> example). It doesn't require OO. It does, however, provide pretty significant 
> automation and allow for very concise (but still expressive) code.

I notice that layouts are provided through CFCs that output HTML. The
example shows the convolutions needed to avoid extraneous whitespace,
such as running functions together:

...
</cffunction><cffunction name="body" access="public" output="yes">
...

(and I believe your example still generates unwanted whitespace since
you have a blank line between your opening <cfcomponent> tag and the
first <cffunction> tag?).

This seems to be worst of both worlds to me. Have you considered using
custom tags or plain old include files for the elements of the layout
instead?
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to