Modernize or Die® - CFML News for May 11th, 2021 - Episode 103
2021-05-11 Weekly News - Episode 103
Watch the video version on YouTube at https://youtu.be/ktGWQa_OUA4
Gavin Pickin - Software Consultant for Ortus Solutions
Brad Wood - Software Consultant for Ortus Solutions
Thanks to our Sponsor - Ortus Solutions
The makers of ColdBox, CommandBox, ForgeBox, TestBox and almost every other Box out there.
A few ways to say thanks back to Ortus Solutions:
- Like and subscribe to our videos on youtube.
- Sign up for a free or paid account on CFCasts, which is releasing new content every week
- Buy Ortus’s new Book - 102 ColdBox HMVC Quick Tips and Tricks on GumRoad (http://gum.co/coldbox-tips)
We have 37 patreons providing 84% of the funding for our Modernize or Die Podcasts via our Patreon site: https://www.patreon.com/ortussolutions. If you love our podcasts and all we do for the #coldfusion #cfml community considers chipping in, we are almost there!
News and Events
Adobe ColdFusion Projects page is now live
We have just launched the Projects page on our Community portal to enable our developers to find some examples to help them get started quicker in their Projects. All these Projects are free to download and to reuse. Please feel free to reuse the Projects or part of the Project.
ICYMI - VS Code Release party
Release party happened May 11th, at 8am PST
Live event and Q&A with the VS Code team to discuss highlights from the March 2021, 1.55 release.
ICYMI - CommandBox 5.3.0 Released
UPDATE: 5.3.1 update coming shortly for Web Aliases and Relative paths.
We are pleased to announce the general availability of our latest CommandBox CLI release. This is a minor release that's full of bug fixes and enhancements. It should be backwards compatible (with one caveat below) and you can upgrade any previous version of CommandBox in-place to the latest release.
ICYMI - Bintray decommissioning - Adobe Docker image update
On May 1, 2021, all Bintray services will be deprecated, and your accounts will be disabled. For more information, see the official Bintray blog.
This means that the ColdFusion, Performance Monitoring Toolset, and API Manager containers for the versions 2016/2018/2021 will no longer be accessible. This may lead to interruption in your automation scripts and other CI/CD pipelines.
We have moved all the containers to ColdFusion downloads. You’ll load the tar file in Docker and then run ColdFusion or the other tools.
FusionReactor Webinar - Reach for the Clouds with FusionReactor
May 12, 2021 05:00 PM in Amsterdam, Berlin, Rome, Stockholm, Vienna
8am PST, 10am CST
FusionReactor APM has been available as a cloud-based or SaaS solution for a few years now. This webinar will reveal what additional capabilities and benefits this platform has to offer (on top of everything which FusionReactor on-premise provides). We will also answer questions about licensing, data retention and technical aspects of expanding to the cloud.
ICYMI - Adobe’s ColdFusion Certification price drops
Adobe Certified Professional: Adobe ColdFusion is an industry-leading certification program from Adobe, for Adobe ColdFusion developers. The course consists of 50+ online videos and is designed for professionals who have basic to advanced level proficiency in any computer language and basic understanding of how web pages work. Successfully passing an assessment test at the end of the program will reward participants with a badge and certificate from Adobe.
ICYMI - Adobe Webinar- Building modern web apps with ContentBox Modular CMS with Luis Majano
May 5, 2021 - 12 PM ET
ContentBox is a professional open source modular content management system powered by ColdBox HMVC and ColdFusion. In this session, we will get an overview of this CMS platform and how you can leverage to not only deliver content based applications, but any modern web application thanks to its powerful headless API and ColdBox services.
No recording yet
Adobe Webinar Series - API Creation and Management
Next Webinar: 5/12/21
ColdFusion Developers, do you want a first hand look at publishing APIs securely and at scale? Then mark your calendars for Brian Sappey’s upcoming webinars! This seven-part series will give you a 360 degree view of the API Manager and teach you how to build RESTful APIs with Adobe ColdFusion. Everything from securing, publishing and monitoring APIs, will be covered with hands-on examples, and easy discussions.
Dates: 3/24/21, 3/25/21, 4/28/21, 4/29/31, 5/12/21, 5/13/21, 5/24/21
Ortus Webinar for May - What's new in CommandBox 5.3 with Brad Wood
Friday, May 21st at 11:00 AM CT
Come learn with Brad Wood about all the new features and tricks in the newest CommandBox releases, including versions 5.1.0, 5.2.0, and 5.3.0.
Webinar Page: https://www.ortussolutions.com/events/webinars
CFCasts Content Updates
- Object-Oriented Programming with Nolan Erck (https://cfcasts.com/series/oop-series)
- Constructors and Pseudo-Constructors
- Object Properties: Accessors and Visibility Types
- Methods : Definitions, Scopes (public vs private (vs protected) package vs static vs remote)
Don't forget - the first 4 videos from last week in this series were FREE
Coming this week
- Object-Oriented Programming with Nolan Erck (https://cfcasts.com/series/oop-series)
- Var Scoping
- Static Properties and Methods
- Encapsulation and Cohesion
Coming up soon
- More CommandBox Zero to Hero
- More What’s new with ColdBox 6
- Up and Running with Quick
- LogBox 101
- Using DocBox
Send your suggestions at https://cfcasts.com/support
Conferences and Training
Adobe ColdFusion Developers Week
June 22-24, 2021 - Online
Coders, mark your calendars for Adobe ColdFusion Developer Week 2021!
Coders, Adobe ColdFusion Developer Week 2021 is edging closer! This year, we’ve lined up a series of sessions and webinars that will give you a 360-degree view of ColdFusion 2021’s brand new features and updates. Right from developing cloud-native applications to reducing downtime, these webinars will let you in on the best tips to deploy applications rapidly and seamlessly.
This is your chance to meet coders from across the globe and exchange ideas with some of the best minds in the industry. And that’s not all! Your presence at the conference will earn you points that can help you win exciting prizes and vouchers. Our scoreboard will keep track of active participation!
Whether you’re a new developer, someone with little or no experience with Adobe ColdFusion, or even if you have been using it all your life, Adobe ColdFusion Developers Week 2021 is where you need to be. Don’t miss out!
AWS Summit Online - Americas THIS WEEK
Online and Free
AWS Summit Online is designed for developers and IT professionals looking to learn how to build and innovate at scale using AWS Cloud. Hear the very latest from AWS executives, attend breakout sessions featuring customer stories, and engage with AWS experts to get your questions answered. Enhance your skills with hands-on labs and workshops, learn from inspiring demos, and discover what AWS and our Partner Solutions can do for your business.
This free online conference is designed to educate you about AWS services; and help you design, deploy, and operate infrastructure and applications.
May 18-20 - Online and Free for Everyone
Connect with developers from around the world at this year's virtual Google I/O for thoughtful discussions, hands-on learning with Google experts, and a first look at our latest developer products.
Learn. Connect. Code.
Explore what’s next in tech and the future of hybrid work. Find solutions, sharpen skills, and find what you can add to your toolbox at this year’s event.
May 27th 2021
DockerCon 2021 is a free, one-day virtual event that is a unique experience for developers and development teams who are building the next generation of modern applications. If you want to learn about how to go from code to cloud fast and how to solve your development challenges, DockerCon 2021 offers engaging live content to help you build, share and run your applications.
Call for Speakers open until Midnight April 1st
Apple WWDC21 - Glow and behold
The Apple Worldwide Developers Conference is coming to a screen near you, June 7 to 11. Join the worldwide developer community for an all-online program with exciting announcements, sessions, and labs at no cost. You’ll get a first look at the latest Apple platforms, tools, and technologies — so you can create your most innovative apps and games yet.
Learn about this year’s Swift Student Challenge, and stay tuned for additional details.
Ortus’s Possible Conferences for 2021
Due to Online conference overload, we are thinking about not expanding the number of events, but more content in more timezones with a different format.
ITB - Developer Week Style?? - (please be in-person!!!)
With some European Timezone Friendly slots from our European Community Members
Call for speakers coming soon
Need more conferences, this site has a huge list of conferences for almost any language/community.
Blogs, Tweets and Videos of the Week
Blog - Pete Freitag - Java versions supporting TLS 1.3
What versions of Java support TLSv1.3 / TLS 1.3?
Video - FusionReactor - FusionReactor Dashboards
In this blog, we are going to cover the dashboards available in FusionReactor.
Blog - Ben Nadel - Creating Page-Breaks In CFDocument Without Using CFDocumentItem In Lucee CFML 188.8.131.52
The other day, I was experimenting with the SrcFile attribute on the CFDocument tag as a means to pre-generate the HTML source for a PDF. Normally, when generating a PDF, I would just inline the CFML code inside the CFDocument tag-body; and, I'd use the CFDocumentItem tag with type="pagebreak" to create page-breaks. Which begs the question: if I'm using an externalized HTML source file, how do I create page-breaks? It turns out, since the CFDocument tag supports some CSS, we can use the page-break-before property to generate page-breaks without the CFDocumentItem tag in Lucee CFML 184.108.40.206.
Blog - Ben Nadel - CFSaveContent Trim And Append Attributes In Lucee CFML 220.127.116.11
The other day on the Lucee Dev forum, I proposed that we add a file attribute to the CFSaveContent tag in Lucee CFML. And, as I was writing that proposal, I pulled up the docs page for the CFSaveContent tag; which is when I was surprised to see that Lucee actually offers two additional attributes on that tag: trim and append. I had no idea that these existed. So, I wanted to put together a quick demo (for myself) in Lucee CFML 18.104.22.168.
Blog - Adam Cameron - Setting up a MariaDB JDBC datasource in ColdFusion 2021 in Application.cfc
This is how I needed to set my datasource in Application.cfc to get ColdFusion 2021 to connect to MariaDB. I'm writing this because I could not - for the life of me - find this information in any one place in the docs. Nor could I find it anywhere else via Google. I have pieced this together from various sources (including Lucee docs, which were more helpful than the Adobe ColdFusion documentation), and want to put it in one place for my own future reference, or should anyone else need to know how to set up a MariaDB datasouce in ColdFusion using their JDBC driver. The params should also work for any other JDBC datasource.
Blog - Ray Camden - Updating (and Supporting) URL Parameters with Vue.js
Blog - Ben Nadel - Collecting HTML Class Name Attributes In Template Rendering In Lucee CFML 22.214.171.124
The other day, I was updating a CFML template to include some conditional CSS class names in an ordered list. And, by the time I was done, the CFML looked a hot mess with several ternary operators all being interpolated into one class="" attribute. And, as I sat there, wallowing in the shame of such ugly looking code, it hit me like a bolt of lightening: Angular already solved this problem so elegantly with the NgClass directive that applies dynamic class names based on a set of conditionals. The same exactly thing should be quite doable in Lucee CFML 126.96.36.199.
Blog - Ben Nadel - Using Both SrcFile And CFDocumentItem In The Same CFDocument Tag In Lucee CFML 188.8.131.52
At InVision, we generate a surprising number of PDF documents. For the most part, the CFDocument tag in Lucee CFML just works. But, sometimes, PDF generation eats-up all the RAM and an OOM (Out of Memory) error is thrown. As such, I'm always on the lookout for ways to tweak the PDF generation process to see if I can consume fewer resources. One idea that I had was to pre-generate the HTML file instead of just rendering the HTML content within the CFDocument tag-body. But, I wasn't sure if I could combine the concept of the srcfile attribute with the child-tag, CFDocumentItem. As such, I wanted to try it out in Lucee CFML 184.108.40.206.
Blog - Ben Nadel - Validating And Documenting Complex Object Structures With CFParam In Lucee CFML 220.127.116.11
At InVision, we generate our transactional emails by including a CFML template into a <CFSaveContent> buffer; and then, using that buffer as the body attribute of a CFMail tag. And, since the definition of that template feels somewhat "far away" from the context in which it is being consumed, I've gotten into the habit of parameterizing the template variables using CFParam tags. This way, it's intensely obvious which variables are being used in the template; and, if I accidentally forget to define a variable during refactoring, the template will blow-up when I go to test it. Part of what makes this easy to do is the fact that the CFParam tag can validate complex object structures. I don't often use it this way, so I thought it would be interesting to share in Lucee CFML 18.104.22.168.
Blog - Charlie Arehart - Adobe CF certification now only US$149, including many hours of training
If you may not have heard the news or noticed it on the Adobe CF Certification page, the price is now listed as only US$149.
Several positions available on https://www.getcfmljobs.com/
Listing over 120 ColdFusion positions from 52 companies across 90 locations in 5 Countries since Dec 1st.
Full-Time - Coldfusion/SUNCORP INSURANCE at Sydney NSW - Australia
Posted May 11
Full-Time - Coldfusion Developer at Vancouver, BC - Canada
Posted May 08
Full-Time - Coldfusion at Bengaluru, Karnataka - India
Posted May 07
Full-Time - ColdFusion Developer (Secret clearance) at Chantilly, VA - United States
Posted May 05
ForgeBox Module of the Week
Facebook Conversions - CFML by Matthew Clemente
A CFML wrapper for the Facebook Conversions API. Record Facebook conversions using their Server-Side API.
The CFC only has one method, used to send events to Facebook. Here's how you use it, along with the helper component for building events
VS Code Hint Tips and Tricks of the Week
HTML accented character converter
VSCode extension for quick replacements of accented characters into html entities.
This extension adds a command to Visual Studio Code to replace some special characters into html entities. The command will appear in your command palette as Replace special characters with Html entities.
Recommended by James Moberg
Thank you to all of our Patreon Supporters
Wil De Bruin (bru-hein) is our latest Patreon Supporter
These individuals are personally supporting our open source initiatives to ensure the great toolings like CommandBox, ForgeBox, ColdBox, ContentBox, TestBox and all the other boxes keep getting the continuous development they need, and funds the cloud infrastructure at our community relies on like ForgeBox for our Package Management with CommandBox.
You can support us on Patreon here https://www.patreon.com/ortussolutions
- Bronze Packages and up, now get a ForgeBox Pro and CFCasts subscriptions as a perk for their Patreon Subscription.
- All Patreon supporters have a Profile badge on the Community Website
- All Patreon supporters have their own Private Forum access on the Community Website
Jeffry McGee - Sunstar Media
John Wilson - Synaptrix
Carl Von Stetten
Wil de Bruin (bru-hin)
You can see an up to date list of all sponsors on Ortus Solutions' Website