Apropos of nothing: readership stats
G'day:Vainly, I track how many unique visitors I get to this blog each day, and chart a weekly average. The readership is really low - since its inception in July last year, the average is just over...
View ArticleDo you have your code reviewed?
G'day:I've just been chatting to Chris Weller this afternoon about various odds 'n' sods, and the topic of code review came up. I recalled that Stack Exchange has a code review sub-site, but the CFML...
View ArticlePHP: I've done some basic tutorials
G'day:First of all I am very hungover today, and looking at the screen hurts so I am not going to vouch for the quality of this article. Or, indeed, whether it'll even see the light of day.Straight...
View ArticleInstalling ColdFusion 5 (yeah, that's not a typo) on Windows 7 64-bit
G'day:This is not exactly what I was intending to do this morning, but - as is often the case - a question on Stackoverflow piqued my interest. In this case, a person needs to get CF5 running on...
View ArticleMore ColdFusion 5... CFML.EXE
G'day.Do you know what's really cool about CF5? CFML.EXE, which will execute CFML from the command-line, eg:Here I have run my gdayWorld.cfm directly from the command line, and it outputs the result....
View ArticlePHP: jumping in and out of code is easy
G'day:Now I will get back to discussing those PHP tutorials I did at some point soon, but I have a fairly fractured day today, so I don't have heaps of spare time for the blog. So here's a quicky.In...
View ArticleQuestion: when to lock scopes
G'day:I was chatting with some other CFML developers over the last few days about when one should / should not use <cflock> to lock scopes. My position is "hardly ever", and "certainly not as...
View ArticleIt's easy to create a security hole in your application with onCfcRequest()
G'day:Man... PHP continues to take a back seat with me, as interesting ColdFusion stuff keeps cropping up. Well: my definition of "interesting", anyhow.Today on Stackoverflow I was reminded of a...
View ArticleMore bugs that annoy me: CFHEADER & restSetResponse() (and CFCONTENT, whilst...
G'day:This came up whilst I was writing the code for the last article. In my Application.cfc, I had this onRequest() interceptor:public void function onRequest(required string requestedFile){...
View ArticleCompletely useless information about a quirk in ColdFusion's CFML
G'day:I'm just preparing to return to the UK on Tuesday evening (I'm currently in NZ), and as I do not intend to set foot back on these shores for a long time, there's been a lot of beer-drinking with...
View ArticleCFML compilation into Java .class files
G'day:Once again, Stack Overflow is my muse. Today a person called David Mulder is asking a question the answer to which relates to how CFML source code is processed into a Java .class file before the...
View ArticleColdFusion REST: is this a bug (in either CF or just my understanding)?
G'day:(And, no, this is not a case of Betteridge's Law... I'm actually asking a question 'cos I don't know the answer).I was having a mess around REST stuff this afternoon, half-heartedly trying to...
View ArticlePHP: built-in web server
G'day:This is a real quick one as I have only 20min before I'm due to start work. And I need to go to the supermarket yet to get my breakfast.So far I'm messed around with running PHP on Apache and...
View ArticlePHP: the first few tutorials, and getting to grips with a new (to me) language
G'day:I'm back into the work swing of things now - having been remote for the last month - so have the usual 1h before work starts to knock out some blog bumpf. I'll not get this article finished in...
View ArticleQuick quiz: is this path within the doc root?
G'day:Here's a quiz question.Write a function thus:boolean function isWithinWebroot(required string fileSystemPath){ // provide code here}Which would work as follows:// given a webroot being in...
View Articlecf.Objective()
G'day:In a surprise move... I am going to cf.Objective(). So that's quite cool. My mate Alex Skinner is heading over from Blighty too, and he convinced me to tag along. The lads (and guests) from...
View ArticlePHP: solving a real problem
G'day:As you might have read, I discovered PHP has an internal web server, just like CF does. It seems a lot more basic than ColdFusion's one... especially the one that CF10 uses which is pretty much...
View ArticleFollow-up to "Quick Quiz" article
G'day:I'm a bit disappointed that I only got three responses to my code quiz the other day, but so be it. At least Matt, Dale and Winston will get a beer next time I see them. Thanks guys: I really do...
View ArticleCode Review
G'day:I became aware of Stack Exchange's Code Review website a few months back, but never really looked at it until today. I decided one way to get someone other than Bruce (no offence! ;-) to look at...
View ArticleWhat I plan to see @ cf.Objective()
G'day:Apropos of not much, here's how my thoughts on what I intend to go see @ cf.Obejctive() are currently falling together. All, obviously, subject to change.WedsAlex and I won't be getting in to MSP...
View Article