Blog

29
January 2014

Gavin Pickin

State of the Union - Source Control - Mr Adam Cameron is at it again

CFML Language, Chit Chat, Source Control

One of my fellow countrymen (Exported Kiwis), Adam "Vinegar and Beer" Cameron, has posted some interesting material on his blog. Well, there is no surprise there, his stuff is always interesting actually, but I should be more accurate and say, he has posted some "explosive" material on his blog.

29
January 2014

Gavin Pickin

The State of the Union - The Important One - CFML State of the Union Survey

CFML Language, Chit Chat

Yes, it is that time of the year again… the State of the Union… not the USA Political Nightmare that dominates the TV Channels, but the CFML State of the Union. CF United might not be an active conference anymore, but they still do post items to their website, and the last couple of years, at the same time of the Political State of the Union, they post a survey where the CFML Community is encouraged to spend 5 mins, answer a few questions, and we can all see what others in the community are doing. The survey discusses Adobe CF, Railo, OpenBD, what IDEs you use, Source Control, Conferences, Front End Frameworks, etc etc, to get an snapshot of what is going on in the CFML community around us.

28
January 2014

Gavin Pickin

Server Admin - From Mail Logs to DB Stats in a CFML Dashboard - Part 1

CFML Language, Server Admin

Lately, I have had a lot more Server Admin / Dev Ops duties than in the past… I am really enjoying a different type of problem solving as I am trying to leverage Dev Ops to increase automation and efficiency. I thought it might be interesting to map out my latest little project, one for my own learning, two for the purpose of sharing, and three for feedback on what I am doing wrong and what I could improve. This is Part 1 of a short series as I explore my problem, and how I find a solution.

As a Web Hosting Company, we obviously host websites, and a lot of Email Accounts for our Customers. These days, with Spam, you have to really be on top of your game, otherwise in a blink of an eye, your servers can get blacklisted, and you're constantly fighting to get your servers off blacklists, because it hurts each and every email customer on that server. Bad passwords, accounts being hijacked, viruses, and users sending out too many messages, or possibly bad messages, are just some of the things you get blacklisted for.

23
January 2014

Gavin Pickin

CFML - Time to short using ColdFusions UI - Do it Right

CFML Language, Chit Chat

Today, Adam Cameron and Raymond Camden announced a new community project, that is long overdue... ColdFusion UI - the Right Way. For some time now, ColdFusion's UI elements have been out of date, inefficient, and end up causing more harm than good. Its the "best practice" in the community to steer people clear of them, but there is no real resource for where to point them to. This is where this project comes in... you can tell them, go to this github repo, and you can see several alternatives to ColdFusions implementations, with links, notes, examples, to help you get things done, the right way.

22
January 2014

Gavin Pickin

Unit Testing - Online Learning - Great way to understand Dependency Injection

Angular, Dependency Injection, Online Interactive Learning, Unit Testing

We've done a lot lately with Unit Testing, and one of the items we touched on, only briefly, in the scheme of things, was Dependency Injection, and why it is a good practice to use. We also discussed why a Dependency Injection framework like ColdBox's WireBoxSean Corfield's DI/1 from Framework/1, and Coldspring from the XML days are a great benefit, especially as your app gained momentum and size. 

I explained it here, and although I only touched on it, I know Dependency Injection is not an easy concept to grasp, the funny thing, once you actually do it, you think to yourself, wow, thats not complicated at all. Yesterday I blogged about the great videos available online at youtube for Angulars Conference ng-conf, and one of the ones I watched about Dependency Injection was priceless... so todays post is going to discuss that video, and then let you watch the video, and everything will click (I hope).

21
January 2014

Gavin Pickin

Conferences - Online Learning - Angular's NG-CONF Videos All Online

Angular, Conferences, Online Interactive Learning

I have talked a lot about conferences lately, and I apologize, because most of them are very expensive, you have to travel a long way, and there are 500 awesome conferences, and if we went to them all, we'd get no work done. Today, I talk about one we all missed, well, most of us... Angulars conference, ng-conf, which was held last week... January 16th and 17th in Salt Lake City, Utah. So why am I talking about it? If you read the title you'll know why. ng-conf, being a Google backed product, put all of there awesome sessions on Youtube :) I actually caught a few on the live stream, which was cool, as you could ask questions to the team during presentations etc, but the videos are just as great, after the fact.

21
January 2014

Gavin Pickin

Techie Gotcha - SSL Certificate Problems with Apache and Issuer Chain

Apache, OpenSSL, Server Admin, Techie Gotchas

I am sure SSL Certificates are not new to most Web Developers, unless you have the luxury of an Admin team. I have been using them for years, most of those years admittedly on Windows, but the last several years we have been migrating all of our windows boxes over to Linux (as you could tell from the majority of my posts). Just recently though, something new came up, which I had not seen before, so I thought I would share my experience, for anyone else looking for a solution out there.

20
January 2014

Gavin Pickin

Conferences - Why did I want to speak at Into the Box

cfObjective, ColdBox, Conferences

I was talking to a couple of people about the upcoming Conferences, Into the Box May 13th, and cf.Objective() May 14-16, both in Bloomington, MN, and they asked, why did I want to speak at Into the Box, when I was already speaking at cf.Objective(). Here are a few questions and my answers, peek into my thought process.

18
January 2014

Gavin Pickin

Git for Dummies - Rolling back a Commit - Power of Git

Source Control

One of the reasons we should really use source control was made very evident today, so I decided to share my story, albeit, at my own expense, you'll find out why, soon. So I got a text message today, asking if I could restore a folder on one of our servers. Some how, the folder got zapped, not sure by who, not sure how, but we need to restore it, so it can be business as usual. Should we restore from backup? We could, but we have Git setup for this project, so we can check the commits, and restore the folder from the last good commit, simple enough... so lets go through it.

Now, first, I wanted to know when did this folder suddenly disappear. You can use command line for all of this stuff, and we have been so far in this dummies series, but sometimes, there is a time and a place for GUI, and using BitBucket (this is where we host our private git repos) and BitBucket's website is a perfect example for this, instead of looking through command line readout.

17
January 2014

Gavin Pickin

Unit Testing 06 - Mocking External Dependencies Part 2

Dependency Injection, Unit Testing

Welcome back to the 6th post in our Unit Testing for Dummies Series, where I walk you through building a small ColdFusion (cfml) application using Test Driven Development, running our tests with TestBoxOrtus Solutions and ColdBox's testing platform. 

Last time we created our WebsiteDAO.cfc and a simple method getWebsite() that would return a query containing the Website Details. In our method, we returned only an empty query at this time, since we are still fleshing out our App, as we explore through our Test Driven Development. Today, we're going to use Mocks to isolate our CUT component under test, which is our Website.cfc (website service). 

Blog Search