Blog

Round-Trip From ColdFusion to Okta using SAML and ColdFusion 2021

Posted by Andy Peterson
14 Dec 2020 07:52 PM

I feel as though when the Adobe ColdFusion 2021 planning committee called their first meeting to order, the number one item on their agenda was how to make a developer's life easier In addition to the AWS/Azure cloud configuration/integration capabilities I've posted about, I now have Okta integration to play with, via SAML. And with a few lines of code to handle authentication, I now have the ability to leverage SSO, MFA, and much more in my applications. 

Hello Cloud! Zero to Serverless CFML in 20 Minutes

Posted by Andy Peterson
13 Dec 2020 02:51 PM

When it comes to CFML serverless environments, I have watched a lot of videos and read a lot of documentation but never have I come across a session that gets your cfml code working in the cloud this fast. 20 minutes into this 90 minute session by Paul Kukiel of Amazon Web Services and I'm watching my cfml run on AWS. Given this quick win, and despite having another 70 minutes of video to watch, I paused the session to take stock of what happened, and write a post about it. 

$1 Domain Names - For Life - Using IIS's HTTP Redirect to swap domains for orgs on a budget

Posted by Andy Peterson
12 Dec 2020 05:28 PM

I run a couple of websites for non-profits (like this one), and naturally we like to keep the costs low. Last year, we bought a domain name from GoDaddy for $0.99, but now it's time to renew - for $17. This isn't something that is going to break the bank, but it's 17x more expensive to own this domain this year compared to last. And since our "brand" isn't tied to the domain name, can't we just buy another one very similar to this one for a buck and permanently redirect the old one to it? Will we lose visitors in the process?

Adobe ColdFusion 2021 and Azure Blob, A Painless Configuration Experience

Posted by Andy Peterson
07 Dec 2020 08:24 AM

I just noticed that my last two blog posts refer to pain, or lack thereof. Here's a spoiler alert for ya - I prefer the latter. This post will show you how to painlessly upload and download a file to a Azure Blob cloud to/from a container that we also created by writing less than 30 lines CFML. Nice!

Updating Lucee as Part of a Vulnerability Alert Response - Painless as Promised, or ???

Posted by Andy Peterson
05 Dec 2020 10:13 AM

While I mainly use Adobe ColdFusion, I do maintain several Lucee installs - most of which are running on auto-pilot and/or hosted/configured/maintained by the host. However, when I first heard of the Lucee vulnerability on the Modernize or Die podcast, I decided to take an inventory of where I was using Lucee to see what needed upgrades and patches. Lucee patches for this vulnerability are 5.3.5.96, 5.3.6.68, and 5.3.7.47. I was running 4.5.1.024. This Lucee install was woefully out of date, so much so that an update for 4 was not listed. Indeed, a comment from Zac Spitzer indicated that 4.5 was probably not affected. Nevertheless, it was time to upgrade.

AWS S3 and ColdFusion 2021, Part 1: The Setup

Posted by Andy Peterson
04 Dec 2020 05:22 AM

This is another stars-aligned, providential moment whereby my organization is seeking to choose a cloud provider at the same time Adobe is stepping up to the plate with a new arsenal of tools to get me there faster. After watching another excellent Brian Klaas conference session, this time at CF Summit 2020, it was time to dive in. His advice to start your cloud journey by moving local assets to the cloud resounded in my ears, and so that is exactly what we will accomplish here. 

In this blog post, we will cover:

  • Setting up S3
  • Configuring S3 in the ColdFusion 2021 Administrator
  • Programmatically creating a bucket
  • Uploading and downloading a file from that bucket. 

Running Adobe ColdFusion 2018 and 2021 concurrently - Use the WSConfig tool.

Posted by Andy Peterson
03 Dec 2020 02:08 PM

When CF 2021 came out just before CF Summit back in November of 2020, I was chomping at the bit to try the new features, including SAML, AWS, and Azure integration from the administrator's configuration. But just after upgrading to 2021, we discovered the date bug, and so needed to revert a site or two back to CF 2018. Here's how we did it.

Notes on "How Native Mobile Development Changed the Way I Write Web Apps", w/ TJ VanToll"

Posted by Andy Peterson
16 Jul 2020 09:02 AM

TJ VanToll is a frontend developer, author, and a Principal Developer Advocate for Progress. TJ has over a decade of web development experience, including a few years working on the jQuery and NativeScript teams. Nowadays he helps web developers build awesome UIs with KendoReact.

Twitter: @tjvantoll  Web: https://www.tjvantoll.com

Why you should watch

TJ works for Progress, which is a company that is growing and that you may do business with. TJ had a fun intro reviewing his background in development. Eventually his career took him to NativeScript. Now he is back to working in the web development world, and he has some tips for us!

Notes on "Your Best Options to Build Modern Front Ends with JavaScript" by Dan Wilson.

Posted by Andy Peterson
13 Jul 2020 12:37 PM

Dan Wilson is fun to listen to and this was a nice presentation to acquaint the user with the differences between Angular, React, and Vue. He's been a member of the CF Community for years. I am not certain he uses it much nowadays. Nevertheless, he is always informative, and if you are looking to adopt something other than jQuery to go along with your modernization initiative and are leaning towards another option, Dan does a great job of reviewing them.

The three top vibrant frameworks that will still be around in five years are Angular, React, and Vue.js.

The problem is, I have a lot of apps running jQuery. Is jQuery really that bad? :-)

Journey from Monolithic to Modern CFML Development - Chapter 2: GitHub and VS Code

Posted by Andy Peterson
17 Apr 2020 10:30 AM

If you are following along, you should have a local Charity folder created from Chapter 1. Congrats! For us to work locally and to collaborate on the project, we will leverage GitHub as our repository and VS Code as the editor. By the end of this step, you will be using VS Code to pull down the master as well as a clone of a branch that you create.