Wednesday, May 23, 2012    
Home My Books Blog ColdFusion About Me Back    

Calendar
<< May 2009 >>
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Search

Categories
 • Acrobat (5) [RSS]
 • Adobe (117) [RSS]
 • AdobeMAX06 (45) [RSS]
 • AdobeMAX07 (59) [RSS]
 • AdobeMAX08 (66) [RSS]
 • AdobeMAX09 (39) [RSS]
 • AdobeMAX10 (34) [RSS]
 • AdobeMAX11 (28) [RSS]
 • AdobeMAX13 (1) [RSS]
 • AIR (299) [RSS]
 • Appearances (217) [RSS]
 • Books (86) [RSS]
 • CFEclipse (15) [RSS]
 • Cloud (1) [RSS]
 • ColdFusion (1483) [RSS]
 • ColdFusion Builder (23) [RSS]
 • Data Services (43) [RSS]
 • Fish Tank (5) [RSS]
 • Flash (368) [RSS]
 • Flex (565) [RSS]
 • Home Automation (5) [RSS]
 • HTML5 (36) [RSS]
 • JavaScript (3) [RSS]
 • Jobs (133) [RSS]
 • jQuery (15) [RSS]
 • JRun (14) [RSS]
 • Labs (63) [RSS]
 • LiveCycle (37) [RSS]
 • MAX (285) [RSS]
 • Mobile (257) [RSS]
 • PhoneGap (17) [RSS]
 • Regular Expressions (19) [RSS]
 • RIA (21) [RSS]
 • SQL (45) [RSS]
 • Stuff (554) [RSS]
 • Tips (CF Studio) (80) [RSS]
 • Tips (CF) (795) [RSS]
 • Tips (Dreamweaver) (91) [RSS]
 • Tips (Flex Builder) (2) [RSS]
 • Using CF (167) [RSS]

Other BLOGs
 • Charlie Arehart
 • Lee Brimelow
 • Ray Camden
 • Christophe Coenraets
 • Sean Corfield
 • Mihai Corlan
 • Cornel Creanga
 • Mark Doherty
 • John Dowdell
 • Danny Dura
 • Enrique Duvos
 • Steven Erat
 • Kevin Hoyt
 • Serge Jespers
 • Adam Lehman
 • Duane Nickull
 • Miti Pricope
 • Andrew Shorten
 • Ryan Stewart
 • James Ward
 • Greg Wilson
 • Full As A Goog

RSS Feeds
 • Feed
 • Subscribe

Join my mailing list and find out about new books and other topics of interest.

Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.

Viewing By Entry / Main
May 19, 2009

CFML Advisory Committee Looking For CFSCRIPT Feedback

Sean Corfield has posted a request for feedback and comments on a CFML Advisory Discussion on using <CFSCRIPT> to build CFCs.

Comments
What is the advantage of doing everything in script? I know it looks more like a "real" program and gives people the warm fuzzies, but what is the real advantage?
# Posted By Andrew Pritchard | 5/19/09 7:36 AM
The only reason is that some developers, especially those who use other scripting languages, feel more comfortable in scripting syntax.

--- Ben
# Posted By Ben Forta | 5/19/09 7:43 AM
Ben - I would not say it's the only reason. One real problem with writing components is they tend to be very verbose. I think that this is going to cut that down and make my life easier.
# Posted By Dan Vega | 5/19/09 9:16 AM
Tag syntax is seen as a barrier to entry for developers used to script-based programming. Many CFers also prefer script-based syntax but have been unable to leverage that in CFML due to the limitations in the past. So Ben's right and Dan's also right :)

I've been writing my components in script wherever possible for a couple of years now but the limitations really chafe and I still end up dropping into tag syntax for a few methods in each component which is really annoying.
# Posted By Sean Corfield | 5/19/09 11:36 AM
I prefer tag based. this is what makes CF more productive than .net or php. for me...

< cfquery > and < cfoutput > are great examples. You can't get any easier and more productive than that.

I have not seen 1 example of these 2 tags in cfscript that makes it easier or more productive not to use them.
# Posted By Shane | 5/19/09 4:40 PM
I may be in the minority these days with respect to people reading/posting blogs etc but what are we exactly getting by making making cfml cfscript compliant? Just a mere hope that developers from other languages will be attracted. I personally doubt it. Do we think that we can allure groovy/jython/ruby developersby these enhancement or prevent existing cf developers from migrating to those languages by adding few syntactic sugar? Believe me - as a long time cf developer - these are the questions bothers me personally. I always admired cf for its simplicity and plain leaning curve. Just as proof, see the # of blog post on cfinterface after cf8 release and then compare those to CF8 ajax features.
# Posted By Qasim Rasheed | 5/19/09 10:03 PM
I am definitely in the "YAY TAGS" camp.
However - as Sean mentions - they *are* a barrier to entry for people coming from the likes of PHP and unable to see the benefits of them.

Hopefully, having a complete set of cfscript syntax will attact those people first to CFML (for its many other benefits), and then we can further assimilate them into the tagged way of thinking.

Of course, for existing CFMLers who have gone over to the terrible world of excess braces, I'm not sure what can be done for them. ;)
# Posted By Peter Boughton | 5/20/09 4:38 AM
making it look like PHP won't win over PHP developers as they already have PHP lol.

I'd hate to now have to spend extra time with juniors because one contractors does all his work in cfscript etc

one or the other and only one
# Posted By john | 5/20/09 4:45 AM
john, you haven't used PHP, have you?
There are *many* benefits of CFML over PHP - the functions there are horribly inconsistent, there is no concept of datasources, mappings, Application scopes, and so on.


If you have contractors, they should be working in-line with your company's coding standards, whatever they might be.
# Posted By Peter Boughton | 5/20/09 8:30 AM
I think the biggest push for cfscript isn't just to bring in developers but also to keep current CF developers from opting for other languages that have more concise and powerful syntax. I think it is time to look at groovy/ruby/python for inspiration towards the future of the primary language used in CF and let tags live on for templating and page based development.
# Posted By Dan Roberts | 5/20/09 10:36 AM

  © Copyright 1997-2009 Ben Forta, All Rights Reserved