Blog

Category Filtering: 'techie-gotchas'

30
January 2015

Gavin Pickin

Pre-mature Optimization - Pre-mature Blog - Gotcha WebSQL Open Database

Javascript, Techie Gotchas, WebSQL

I have written a few posts so far about WebSQL, why I like it, especially in this cross platform Cordova / Phonegap App development world, and a getting started post, where I was wrong. Yes, I Pre-maturely posted that Blog, so this is me fixing it, of course, I edited the original post right away, but here, I’ll go into what I stated wrong, and how it took me way too long to figure out I was wrong, and how sometimes Pre-mature Optimization isn’t needed, but sometimes, it will help show you how wrong you were.

04
June 2014

Gavin Pickin

ColdFusion - Hide n Go Seek with Documentation + Update on the CF Install Repo

CFML Language, ColdFusion Install Repo, Techie Gotchas

Another interesting week in ColdFusion… other than the call for speakers (if you want to speak at CF Summit, go submit your proposal now), the big talking about over the last week, has been Adobe discontinuing all of the CF8 and CF9 live doc help files, and recommending users, use the new maintainable Wiki. So why is that big news? 

21
May 2014

Gavin Pickin

Techie Gotchas - Debugging Code - How important is it to a Programmer?

CFML Language, Chit Chat, Conferences, Dependency Injection, Techie Gotchas, WireBox

It seems as programmers, we're always writing code, but as Dan Wilson said in one of his great sessions at cf.Objective() last week, we spend only a small fraction of our time writing new code, we spend most of it debugging, fixing and reading code. Thats not something you normally think about, but it aligns with my thinking recently, about what makes a good programmer. Being involved with teams for some time now, albeit small teams, adding new members is something which is constantly on the horizon, and the more I think about it, one of the biggest signs of a good programmer is the ability to spot bugs and problems with code. If you're fixing, debugging, or just trying to read code, it makes sense that reading and understanding the code is the most important thing. Now, whether you agree or not, why am I writing this today? 

08
May 2014

Gavin Pickin

When A Boolean is a Boolean and when it isn't - CFML Language Headaches

CFML Language, Techie Gotchas

As usual, ColdFusion has the ability to make me look like a talent developer one minute, but can make me look like crazy fool the next. Am I surprised... no, not in the fact it can do it, but this time, in the way it did it. As the title suggests, I was working with some Booleans, and like most languages, ColdFusion treats a 0 as False, and everything else True. This is not what got me... what got me is, that ColdFusion does not always hold that true.

19
March 2014

Gavin Pickin

Cold Fusion Builder - A seriously destructive bug makes it into Version 3

CFML Language, CFML Server, Techie Gotchas, Tools and IDEs

I mentioned in a previous blog post about some Bugs in CF Builder, although, overall, so much happier with the product than I was with previous versions. The quick file closing is amazing, something I would always dread, but that is gone now, so thats a big plus. I am also seeing less drag on the intellisense like features and lookups, so speed is improving on the whole, but some lil editor bugs here and there.

The big items that I hated in 2, is still in 3... and has caused some headache, heartache, and seriously pissed off several devs I know. I updated the bug today, since Adobe couldn't reproduce it, and I put a video on Youtube to explain the process and show the bug itself, at its destructive best.

11
March 2014

Gavin Pickin

Mobile Development - JSON vs JSONP with Ajax calls and ColdFusion CFC Components

Android, CFML Language, Cordova / Phonegap, IOS, jQuery, Techie Gotchas

I had mentioned that I am getting setup and writing some HTML5 / Javascript / CSS / Phonegap / Cordova Apps, and along with these types of apps, you will start to use Ajax to make server api calls to keep your fresh and up to date. I ran into a hurdle today when making some Cross Site Ajax calls, and decided I would share my findings.

First, you might ask, if I'm making a native app, why are you worrying about Cross Site Ajax calls? And you would be correct, with the app deployed on a Android or IOS device, those Cross Site Scripting issues do not exist. I decided I wanted to develop my apps to be deployed on our dev servers during development and testing, and wanted them to work as well as they could (obviously certain device api's would not be available), so I wanted to look into using JSONP to solve my cross site scripting issues. Using json a lot, and with most of my sites calling the same server for api calls, I have heard of JSONP, but not actually implemented it myself… so here goes.

05
March 2014

Gavin Pickin

Migrating to Railo - Is ColdFusion Forgiving or Sloppy?

CFML Language, CFML Server, Migrating to Railo, Techie Gotchas

Over the long never ending migrating from ColdFusion to Railo (a lot of legacy sites mentioned in several other blog posts), I have seen a pretty interesting trend. I was discussing with a friend today, who migrated one of their sites from ColdFusion to Railo just this week, and we were discussing the issues they faced, and how they compared to what I have seen… it was interesting, and it got me thinking… run for cover, me thinking is dangerous.

27
February 2014

Gavin Pickin

WireBox - Possible Gotcha with Binder Config File Settings and using Full CFC Path

CFML Language, ColdBox, Techie Gotchas, WireBox

My last post, I looked at Installing ColdBox's WireBox Standalone library into one of my legacy sites. We got the Core downloaded, mapped, we created an Injector, and looked at how to create your Objects using the Injector. We even looked at using Annotations and the Binder Config file to tell WireBox how you wanted those Objects wired.

27
February 2014

Gavin Pickin

Techie Gotcha - Debugging CFML Errors - Unhelpful Error Messages

CFML Language, CFML Server, Techie Gotchas

Debugging your code is one of the biggest parts of your job in my mind, and I believe that you can tell how good a developer is (up to a certain point), by how they debug their code. A lot of people seem to Ask Stack Overflow first, then ask their coworkers, read on google next, and then they try and figure it out themselves these days. Its funny, because, I think it should be the opposite order, you should work it out yourself, then read google, then ask a coworker, then ask for help at Stackoverflow… but I think I'm one of those who can debug pretty well, mainly because I've made LOADS of mistakes in my time.

17
February 2014

Gavin Pickin

Techie Gotcha - Application CFC inheritance Paths with Mappings - Silly Me

CFML Language, CFML Server, Dependency Injection, Techie Gotchas

There is someone, somewhere, beating their head into their desk and saying to themselves, either very quietly, or yelling it at the top of their lungs, "What the {appropriate bad word} was I thinking, I'm an idiot". It might not be you right now (you're reading this blog post, so its probably not you), it might not be you tomorrow, but we all have those moments, where, something seemingly simple, gets the best of us... because its only simple once you see the light. Hindsight is 20/20, I believe its better to share those moments, so that everyone else can learn from your mistakes, even if it proves you have those moments, and it might prove you have them more of those moments than most people :) 

Today, I have one of those moments to share with you, and today, its about Application.cfc Inheritance Paths with Mappings, and how I finally "clicked" about something I had always wondered about, but hadn't really looked into properly.

Blog Search