CFScript Additions in CF9
So for the last couple weeks, I've been spending a little time on weekends working on a personal project. Honestly, it's as much to teach me new things as it is to teach me new features of CF9 as it is to actually accomplish anything.
I'll tell you more about it when there is more done on it. Which, given my recent increase in free time, should be sooner than planned, which is why I mentioned it at all.
But I'm not writing about my project. I'm discovering the joys of writing components in pure CFScript.
The reason I've always found CF great for writing web programs (and not so great for other things) was because the tag structure fits so nicely into the nested structure of HTML, and (forgive the imprecision) feels right to me. However, for the M and C in MVC, it's always been .... mediocre ... in my opinion. Don't get me wrong, I love it, but having to write tags out, even if you keep most of the system in CFScript blocks, could get painful.
So, I'm loving the new all-script stuff. Queries in script? Check. Includes in script? Check (although I'm not crazy about the syntax). Mail. Check.
I know this probably isn't a revelation for a great many of you who are working on new systems, but I've been elbow-deep in legacy code, and being able to write objects and controller code all in script is a revelation. Nah, that's too strong a word. But it is nifty.
