BlueDragon 7.0 Webinar brain dump
I've just sat thru a great webinar by Josh Adams' on the BlueDragon 7.0 new features for an hour, presented by Teratech. I made notes as I went along so excuse any gaps but it seems like there is plenty to look forward to for BlueDragon in the next release. I fully intend to install the Beta 2 on a free machine to test it with WalkJogRun when it is released on Monday. Here are my brief notes for reference:
BlueDragon 7.0 Webinar
BlueDragon - Used by Westlaw
Beta 1 released sept 28,2006
Beta 2 due for release Monday - feature complete
Final release Jan 2007
1. Concurrent processing with cfthread instead of 4 sequential requests for a webservice taking 4x the time, use cfthread to run the requests concurrently - roughly in the time it takes to run 1
<cfthread name="mythread">
</cfthread>
<!--- wait for thread to finish --->
<cfjoin thread="mythread">
CFThread is like CFMODULE where you can pass attribute value pairs.
myThread returns generated content as a variable e.g. mythread.generatedcontent and if you use cfreturn inside a thread it will pass back a return value.
CFJoin can actually be used to wait for processing of templates not even in the current request e.g. an application scope thread like wait for doc to be generated.
Fire and forget threads allow you to run some code like a stored proc call and return immediately so you never cfjoin it back - for example, a complex processing stored proc or a CMS insert.
2. CFQUERY enhancements
cacheduntilchange attribute for SQL 2005
background attribute - run query outside of current thread in a queue for processing when available
Better approach for fire and forget queries is to use BACKGROUND attribute on CFQUERY - does the same thing more efficiently.
3. NULL keyword and IsNull() function
BD7 acknowledges difference between NULL and empty string when your SQL recordset returns both null and empty strings
4. CFC interfaces and abstract CFCs
Nothing covered in the presentation.
5. Application.cfc with enhancements:
onClientStart event handler
onMissingTemplate event handler
6. CFDocument with enhancements
PNG and JPEG output
Multi threaded on all editions
7. CFCHART with enhancements
CFCHARTLEGEND, CFCHARTTITLE, CFCHARTIMAGE
Not supported
1. No event gateways
2. Flash forms
3. Reporting services