CFQuickDocs Stats: Top 50 Queries

3 weeks ago I added logging to CFQuickDocs so that I could see what people are looking for. The results are interesting, so I thought I'd publish them here.

The top two tags are cffile and cfloop. This makes sense, because both of these have various syntax rules based on how you need to use it. But I found it interesting that #3 was cfquery. Do that many people not know how to use cfquery? Here are the full stats, for your viewing pleasure:

From 2006-10-10 to 2006-10-31 Queries: 8393 Tag queries: 3887 Func queries: 4506 Unique tag queries: 127 Unique func queries: 250

Top 50 TagsTop 50 Functions
1325cffile128dateformat
2238cfloop81dateadd
3156cfquery76replace
4154cfdirectory74timeformat
594cfhttp73isvalid
691cfqueryparam65listappend
789cfoutput65listfind
878cfchart63numberformat
972cfdocument62find
1068cffile-upload61valuelist
1168cfstoredproc57createobject
1266cfinput53findnocase
1361cfcontent52querysetcell
1457cffile-write50expandpath
1556cfloop-list48datecompare
1655cffunction48listgetat
1755cfxml44datediff
1854cfmail44xmlsearch
1954cfsetting43queryaddcolumn
2048cfinvoke42rereplace
2148cfparam41left
2247cfcatch41mid
2347cfloop-query41removechars
2446cfcookie40arrayappend
2541cfselect40hash
2640cfif40refind
2740cfsavecontent39evaluate
2839cfchartseries39listtoarray
2937cfapplication39querynew
3037cfdump38getdirectoryfrompath
3137cftable37arraynew
3236cfbreak37createdate
3336cfmodule37listcontains
3435cferror37structdelete
3534cfloop-COM36datepart
3633cfcomponent36listdeleteat
3733cffile-read36quotedvaluelist
3833cfswitch36structkeylist
3933cfwddx36xmlparse
4032cfform35urlencodedformat
4131cflogin34fileexists
4231cfthrow34structappend
4330cflocation33structkeyexists
4429cfinclude33xmlformat
4529cfprocparam32htmlcodeformat
4628cftimer32htmleditformat
4728cftransaction31preservesinglequotes
4827cfcase30replacelist
4927cfloop-index29len
5027cftry28listfindnocase

Related Blog Entries

Comments
Those are very interesting. One request for the site. This is very minor.

I far prefer using cfquickdocs vs livedocs. Livedocs is just way way way too slow most of the time. Not a big deal, I just go directly to your site. However many times I am searching google for something, and the livedocs comes up because of text in the docs, plus comments at the end. So I click on it to read the text, wait 2 minutes and finally see the page.

Your site doesn't seem to come up in google for those searches.

As such when I made the custom CF search http://www.cfhunt.com I add your site to the index, but I don't think your site will come up. I think you could easily get each tag/function listed on google if you exposed one page with shortcut links to them all. I know you already have code done for shortcut links, so this should be easy. This way you show up in the index and the cfhunt site will be able to direct people to your site.

shortcut example:
http://www.cfquickdocs.com/?getDoc=cfchart

Your pages in google:
http://www.google.com/search?hl=en&lr=&saf...
# Posted By Joshua Cyr | 11/1/06 6:13 AM
Cool stats... I am suprised CFIF made it into the top 50 (but I guess the set of CF tags is fairly small to begin with).
# Posted By Ben Nadel | 11/1/06 6:39 AM
Excellent idea Joshua. I'll probably do something like that during my lunch hour today.

Ben, I too was surprised. Especially when you notice that cfif is searched for more than cfapplication, cferror, and cfcomponent (all three of which I might look up on occasion). I think it goes to show that there are lot of new people in the CF community, still learning.
# Posted By yacoubean | 11/1/06 9:17 AM
Josh (and anybody else that cares),

I created a separate page that lists all the tags and functions as links. For future reference, this page is linked on CFQuickDocs, here it is for convenience:
http://cfquickdocs.com/completeList.cfm
# Posted By yacoubean | 11/1/06 10:52 AM
Excellent, you should show up in cfhunt the moment google indexes the page.
# Posted By Joshua Cyr | 11/1/06 11:03 AM
Let me suggest one more small addition.
Right next to the name of the tag or the function could you show the group ?
People looking for "Coldfusion String functions" may not find your pages through Google.
People looking for something specific like 'Coldfusion Lcase syntax" may land on your page but only because they already know what they are looking for.

One more small suggestion, Google Analytics is a powerful tool, you may want to look into it and not only track how people are getting to your pages but where they are coming from.

As you said the list shows a big presence of new programmers, having the statistics by location could help the local CFUG to be more proactive and reach into their communities and focus more on teaching the basics.

Just a few ideas, since they are free doesn't hurt to have them out there.

good luck and keep up with the great work.

Fernando
# Posted By fernando lopez | 11/5/06 3:59 PM
Forget about my posting about google analytics I just saw that you are already running it on cfquickdocs.com.
# Posted By Fernando Lopez | 11/5/06 4:02 PM
When I turn off javascript in my browser, go to your completelist.cfm page and click on an entry, the main cfquickdocs page shows, but it does not show the information for the selected tag/function. Since google doesn't have javascript turned on, this will likely be a detriment to your google results. I know you're using ajaxcfc, but is there a way to easily detect if javascript is not turned on and load and show the information using server-side processes instead? It appears your are already doing some type of detection since there is a second search box on the main page that only shows with javascript turned off (although it doesn't work--I cannot get it to submit--perhaps because there is no form tag!).
# Posted By Mark Mazelin | 12/5/06 6:32 AM
Mark,

I don't have any JS detection in CFQuickDocs. The entire site is heavy JavaScript, and frankly I don't really care if people can't use it without JS enabled. As far as Google, I'd heard that Google does have a spider that uses JavaScript. Don't know if that's true or not. But I appreciate your comments, even if I don't care to go to all the work to make stuff work without JS. :(
# Posted By yacoubean | 12/8/06 7:30 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.9. Contact Blog Owner