Before we get into the tags, I’d first like to mention I firmly believe SES URLs need to somehow make their way into ColdFusion. The root of ColdFusion is making development life simple, and there is nothing simple about setting up SES URLs, particularly if you don’t know regular expressions. I think this should be enabled/disabled at the application scope level and be a well thought out, simple process that doesn’t require IIS or Apache URL rewriting… it’s all done seamlessly in CFX.
With that said, here are some new tags I’d like to see:
- CFTRAIL – This will leave a breadcrumb trail. I initially thought this would be a feature that would require the use of SES URLs in the application scope, but thinking further, I think it could still be done with the developer providing parameters.
- CFBROWSER – Web browser detection baby!
And while we’re at it lets add some parameters to CFLOCATION to allow delayed cflocating:
<CFLOCATION from="now()" delay="dd:hh:mm:ss" />
Lets also add a parameter to CFDIV to allow that loading icon to be customized:
<CFDIV icon="/images/yourAnimatedIcon.gif" />
This being ideal for loading user custom-created pages from a database, I think one of the features I would use the most is the ability to loop over cfcase in a cfswitch:
<CFSWITCH expression="#whatever#"> <cfloop query="yourQuery"> <cfcase value="#query.Column#"></cfcase> </cfloop> <cfdefaultcase></cfdefaultcase> </cfswitch>
And finally some new functions I’d also like to see:
dollarformat()– oops! Already exists.- encryptStruct()
- encryptArray()
- queryToArray(my.query,[dimension])
Coming next week
CFX: Feature Requests Part 3 – Everything Else