I was working on my own blog software tonight when I realized that pretty much everything i wanted to do with my software had already been done with Blog.cfc. With that in mind, I decided to move to Blog.cfc and see what it is all about.
Below is a JavaScript code test:
2
3 $.fn.random = function () {
4 return this.eq(Math.floor(Math.random()*this.length));
5 }
6
7})( jQuery, window, document );
Below is a ColdFusion code test:
2Create a buffer for our output of the way various Scopes are
3presented during different HTTP requests.
4--->
5<cfsavecontent variable="debugOutput">
6
7<cfdump
8var="#cgi#"
9label="CGI Scope"
10show="content_type, request_method"
11/>
12
13<br />
14
15<cfdump
16var="#getHttpRequestData()#"
17label="HTTP Request Data"
18/>
19
20<br />
21
22<cfdump
23var="Content: #toString( getHttpRequestData().content )#"
24label="Content"
25/>
26
27<br />
28<br />
29
30<cfdump
31var="#url#"
32label="URL Scope"
33/>
34
35<br />
36
37<cfdump
38var="#form#"
39label="Form Scope"
40/>
41
42</cfsavecontent>
43
44
45<!--- Send HTML output back to the client. --->
46<cfcontent
47type="text/html; charset=utf-8"
48variable="#toBinary( toBase64( debugOutput ) )#"
49/>

#1 by Kevin Boudloche on 2/4/12 - 10:50 AM
<code>
alert("test");
</code>
#2 by Kevin Boudloche on 2/6/12 - 12:28 AM
<invalidTag src="foo.js"></script>