Blog

20
March 2015

Gavin Pickin

ColdFusion JSON serialization failure - Unable to serialize binary data to JSON

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

Recently we finally migrated some big legacy websites off of some ColdFusion 8 servers. Yes, 8, we were still running one last server, and to be honest the only things running on it were BIG higher traffic websites, that we had not got the time to migrate. We have been migrating from Windows to Linux, and CF8 to CF9 and Railo / Lucee. Baby steps, but with our legacy code not having test coverage, it became a long painful process. You would think moving from ColdFusion 8 to 9 is a breeze, and for the most part it is, but I ran into a strange issue, which I am sharing today.

16
March 2015

Gavin Pickin

Speaking at Dev.Objective() x 2 - Cordova Hooks and Testable JavaScript

cfObjective, Conferences, Cordova / Phonegap, Dev.Objective, Javascript, Lucee, Mobile Development, Unit Testing

Dev.Objective() is the 10th year of cf.Objective() rebranded to describe the 5 track professional developer conference more accurately ( more info here).  Still hosting a large number of ColdFusion topics, and a lot of the normal speakers, the content again is simple amazing. Technology is changing and so is this conference, and I am happy to say, that not one, but two of my sessions have been picked for this years Dev.Objective() this May, 12-15th in Bloomington, Mn. 
As usual, my work fuels my blog, and my ideas for sessions, and this year is no different. Lately I have been focusing on Javascript with my Mobile Development, and I have come a long way, compiling knowledge as I go. I think both of these topics are great combinations of all the solid content out there, all in one place to get someone up and running quickly. I was surprised to get both accepted, more work than I was expecting, but I like a challenge, and work well under the gun, so its going to be fun knocking these out. If you are thinking about what conference to attend, you can’t do much better than this one.

11
March 2015

Gavin Pickin

Windows Store Metro App issues with jQuery Ember Angular - Solved

Angular, Javascript, jQuery, Mobile Development, Techie Gotchas

During my recent adventures with cross platform app development, I have come across a few issues,.. and solved them along the way. I had an old issue just reappear. Since the Windows Platform gives you Javascript API access to some lower level features, there are some additional security you have to deal with, one of those includes Adding Dynamic Content. This of course is a key part of jQuery, Ember, Angular and Knockout, so this by default will make developing apps for the windows store and windows devices troublesome. 
 

05
March 2015

Gavin Pickin

Did you turn it off and on again? Troubleshooting Gotchas with Cordova and WebSQL

Chit Chat, Mobile Development, Techie Gotchas, WebSQL

If you have not seen IT Crowd, you are missing out on some strange but funny geek culture... and one of the highlights of that show is the line, "Did you turn it off and on again". Sometimes with troubleshooting, the simple things can throw you off, and that happened with me recently, so I wanted to share my frustration. This might not be the most informative post, but hopefully it helps someone, so they don't shoot themselves, like I was tempted to do so.

03
March 2015

Gavin Pickin

Loading or Dumping Large Amounts of Data into WebSql - Options with Performance Numbers

Javascript, Mobile Development, WebSQL

Working with databases, there is going to be a time when you need to dump large amounts of data out of, or into your database. Dumping data out, has always been pretty easy, but what about inserts? We’ll look at a couple of solutions, and a couple of issues, and see what seems to be the best solution.

26
February 2015

Gavin Pickin

HTML 5 Search Input with jQuery Multi Token Search

Javascript, jQuery

Recently I found myself playing with another HTML 5 form element, the Search Input. Of course the form field support is not there yet… so I decided to use jQuery’s version since I was already using jQuery Mobile on an App. Quite a nice upgrade, it gives you some standard features that you might normally struggle to complete on your own… like the rounded corners, and the cancel/clear search field. Of course webkit goes further with remembering the last x searches, and can even fire a “search” event when a user pauses while typing… but sadly, we have to live in a world where you can’t use all the bells and whistles all at once… but jQuery as usual fills in the important gaps nicely.

20
February 2015

Gavin Pickin

CommandBox Roadshow - Episode 3 - Building Custom Commands - with ME

Apache, CFML Language, CFML Server, CommandBox, Lucee, Online Interactive Learning

I have been playing with Ortus Solution's amazing new tool CommandBox a lot lately. After a couple of posts on my blog, Brad Wood from Ortus Solutions reached out to me and asked if I would be interested in sharing what I have been doing with the community. A lot of time and money was invested by Ortus Solutions to make this product, and every knows ColdFusion / CFML in general needed something like this for a long time now, so of course I accepted their offer. I have already posted a couple of blog posts on the Ortus blog, and today we recorded an episode of the CommandBox Roadshow, with yours truly in charge of the Adobe Connect session.

18
February 2015

Gavin Pickin

Packt Publishing Encourages Customers to Learn New Skills with 18 free e-books

Books and Training, Chit Chat, Steals and Deals

As an avid techie, and a habitual learner, I love ebook publishers, and Packt Publishing is one of the top ones on my list. I have bought many a book, hard copy and e-book over time from Packt Publishing, and have mentioned that in my blog in a previous post. Today I'm writing this post to inform you of a great Promotion Packt Publishing has started, which includes 18 days of Free learning, with a different e-book available, for free, every day from Feb 16th, through March 5th.

Keep reading for all the details

17
February 2015

Gavin Pickin

WebSQL - When is a Javascript Object not a Javascript Object?

Cordova / Phonegap, Javascript, Mobile Development, Techie Gotchas, WebSQL

After a short break from WebSQL, I am back to talk to you about WebSQL again, as I continue my work on my Cordova / Phonegap cross platform app. Today I ran into one of those Gotchas, that cost me a couple hours of time trying to debug a strange happening in my app. It is one of those things in our developers lives, if you only knew what you didn’t know, you'd know more than you know now. In finding this gotcha, I remembered a couple of other lessons when using Web Developer tools, which you may or may not know… so I’ll share those too.

13
February 2015

Gavin Pickin

How to get your Tomcat to pounce on startup, not crawl

Apache, CFML Server, Server Admin

As promised in my last few posts, I am finally going to give you a couple of Tomcat tips and tricks, that can seriously speed up your Tomcat startup time. In all fairness, they are simple configurations, and I am not the first to find them, not even the first CFMLer to find them. This is how I got my Tomcat startup from 164 seconds, down to 8 seconds, a gain of 156 seconds, in 1 line of code.

Blog Search