CfBlogs
 Data Grids  CF Overflow  Follow Us!  RSS

ColdFusion Posts Around the World.
Working Code Podcast - Episode 188: Code Review Nuance
Working Code Podcast - Episode 188: Code Review Nuance
Ben Nadel
Ben Nadel and the crew talk about code reviews; and reflect on the decision tree that we use when reviewing other people's code...
An
An "x-input" Property Binding Directive In Alpine.js
Ben Nadel
Ben Nadel creates an x-input directive in Alpine.js which allows outer component properties to be bound to inner component properties....
Code Kata: Building A Tri-State Switch In Alpine.js
Code Kata: Building A Tri-State Switch In Alpine.js
Ben Nadel
Ben Nadel tries to build a tri-state switch / toggle using Alpine.js....                                      
Using AttributeCollection To Manage Locking In ColdFusion
Using AttributeCollection To Manage Locking In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to use attributeCollection to manage locking in ColdFusion....                                      
Highlighting Dynamic Parts Of A Pretty-Printed JSON Value In JavaScript
Highlighting Dynamic Parts Of A Pretty-Printed JSON Value In JavaScript
Ben Nadel
Ben Nadel demonstrates how he highlighted the dynamic parts of a pretty-printed JSON value in JavaScript....
Working Code Podcast - Episode 187: Viability Of The Minimum Viable Product
Working Code Podcast - Episode 187: Viability Of The Minimum Viable Product
Ben Nadel
Ben Nadel and the crew talk about the viability of the Minimum Viable Product; and whether solopreneurship is still possible in the web application industry.... ...
Getting A Struct Key In Its Native Key-Casing In ColdFusion
Getting A Struct Key In Its Native Key-Casing In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to access the internal key-casing of a struct key in ColdFusion....                                      
OWASP Java Encoder Project Recommends Using Both URL and Attribute Encoding For HREF Attributes
OWASP Java Encoder Project Recommends Using Both URL and Attribute Encoding For HREF Attributes
Ben Nadel
Ben Nadel looks at the OWASP Java Encoder project's recommendation to double-encode dynamic URLs in an HREF context....
Normalizing Collection Entries In ColdFusion
Normalizing Collection Entries In ColdFusion
Ben Nadel
Ben Nadel creates a user defined function, toEntries(), for normalizing collection iteration in ColdFusion....
Sorting Arrays With Priority Elements In ColdFusion
Sorting Arrays With Priority Elements In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to sort an array with a subset of priority items in ColdFusion....                                      
Working Code Podcast - Episode 186: Work Insecurities
Working Code Podcast - Episode 186: Work Insecurities
Ben Nadel
Ben Nadel and the crew talk about the insecurities that they feel at work regardless of how much value they create for their companies....
Creating A ColdFusion-Oriented HashCode With Loose Types (Part 2)
Creating A ColdFusion-Oriented HashCode With Loose Types (Part 2)
Ben Nadel
Ben Nadel updates his FusionCode algorithm to allow for key-casing and type-coercion settings to be configurable in ColdFusion....
Working Code Podcast - Episode 185: A/B Testing Mechanics
Working Code Podcast - Episode 185: A/B Testing Mechanics
Ben Nadel
Ben Nadel and the crew talk about the mechanics of A/B testing; and, how it might be incrementally added to a bulk email system....
Extracting Illegal Tag Names From AntiSamy Error Messages In ColdFusion
Extracting Illegal Tag Names From AntiSamy Error Messages In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to extract illegal tag names from the OWASP AntiSamy HTML sanitization error messages in ColdFusion....
Creating A ColdFusion-Oriented HashCode With Loose Types
Creating A ColdFusion-Oriented HashCode With Loose Types
Ben Nadel
Ben Nadel creates a FusionCode algorithm which is a ColdFusion-oriented version of Java's HashCode concept....
Using An Ordered Struct As A Fixed-Size Cache In ColdFusion
Using An Ordered Struct As A Fixed-Size Cache In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to build a simple, fixed-size cache using an ordered struct in ColdFusion....
Encapsulating Serialization Logic In ColdFusion
Encapsulating Serialization Logic In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to encapsulate JSON serialization logic in ColdFusion when data needs to be manipulated as part of the serialization workflow.... ...
Adobe ColdFusion Parses JSON Into Non-Ordered Structs
Adobe ColdFusion Parses JSON Into Non-Ordered Structs
Ben Nadel
Ben Nadel demonstrates that Adobe ColdFusion's implementation of deserializeJson() loses key-order....
Two Spread Operator Bugs In Adobe ColdFusion 2023
Two Spread Operator Bugs In Adobe ColdFusion 2023
Ben Nadel
Ben Nadel demonstrates two spread operator bugs in Adobe ColdFusion 2021 and 2023....                                      
Working Code Podcast - Episode 184: Code Comments For The Win
Working Code Podcast - Episode 184: Code Comments For The Win
Ben Nadel
Ben Nadel and the crew talk the value add (and the value detraction) of putting comments in code....
Working Code Podcast - Episode 183: Carol's New Project
Working Code Podcast - Episode 183: Carol's New Project
Ben Nadel
Ben Nadel and the crew talk to Carol about her idea for a small piece of software; and, how to break ground without getting overwhelmed....
Core Decision Functions Will Accept Null / Undefined Values In ColdFusion
Core Decision Functions Will Accept Null / Undefined Values In ColdFusion
Ben Nadel
Ben Nadel demonstrates that core decision functions, such as isSimpleValue() and isStruct() can accept null / undefined arguments in ColdFusion....
Bug In Struct.Each() Error Handling In Adobe ColdFusion
Bug In Struct.Each() Error Handling In Adobe ColdFusion
Ben Nadel
Ben Nadel shows reproduction steps for a bug in the way Adobe ColdFusion surfaces struct.each errors....
Exploring Randomness In JavaScript
Exploring Randomness In JavaScript
Ben Nadel
Ben Nadel compares the randomness of Math.random() to crypto.getRandomValues() in JavaScript....                                      
Color Palette Utility In Apline.js
Color Palette Utility In Apline.js
Ben Nadel
Ben Nadel builds a color palette tool using Alpine.js. Color palettes can be saved (and loaded) as PNG and SVG files....
Using Both Tab And Arrow Keys For Keyboard Navigation
Using Both Tab And Arrow Keys For Keyboard Navigation
Ben Nadel
Ben Nadel explores the use of both the Tab and Arrow keys for keyboard navigation on the web....                                      
Generating Fake User And Company Data With ColdFusion
Generating Fake User And Company Data With ColdFusion
Ben Nadel
Ben Nadel generates fake company and user data for feature flag targeting using ColdFusion....                                      
Working Code Podcast - Episode 181: More The Laws Of Software
Working Code Podcast - Episode 181: More The Laws Of Software
Ben Nadel
Ben Nadel and the crew talk about the laws of software. Topics include McKinley's law, Doerr's law, and Fitt's law....
Using Range Offsets To Power Weighted Distributions In ColdFusion
Using Range Offsets To Power Weighted Distributions In ColdFusion
Ben Nadel
Ben Nadel uses ranges to power selection of a value within a weighted distribution using ColdFusion...
The 17th Annual Regular Expression Day - June 1st 2024
The 17th Annual Regular Expression Day - June 1st 2024
Ben Nadel
Ben Nadel celebrates the 17th annual Regular Expression (RegEx) Day! An ongoing tribute to the unbridled power of pattern matching!...
Using Margins With Four-Sided Positioning In CSS
Using Margins With Four-Sided Positioning In CSS
Ben Nadel
Ben Nadel explores the use of margins in four-sided positioning in CSS....                                      
Parallel Iteration vs. Chunked Parallel Iteration In Lucee CFML
Parallel Iteration vs. Chunked Parallel Iteration In Lucee CFML
Ben Nadel
Ben Nadel compares the performance implications of parallel iteration vs. chunked parallel iteration in Lucee CFML....
Working Code Podcast - Episode 180: The Laws Of Software
Working Code Podcast - Episode 180: The Laws Of Software
Ben Nadel
Ben Nadel and the crew talk about Atwood's Law, Cunningham's Law, Parkinson's Law, Goodhart's Law, Hofstadter's Law, and the Peter Principle....
Nesting The pointer-events Property In CSS
Nesting The pointer-events Property In CSS
Ben Nadel
Ben Nadel demonstrates that CSS pointer-events can be nested, which can allow for some simple visual effects....
Working Code Podcast - Episode 179: AI Sells You On AI
Working Code Podcast - Episode 179: AI Sells You On AI
Ben Nadel
Ben Nadel and the crew talk to Tim about his upcoming presentation on artificial intelligence....                                      
Experimenting With Low-Level SQLite Access In Lucee CFML
Experimenting With Low-Level SQLite Access In Lucee CFML
Ben Nadel
Ben Nadel creates ColdFusion custom tags that access a SQLite database using the java.sql package....
Working Code Podcast - Episode 178: Upgrading From Node 0.10
Working Code Podcast - Episode 178: Upgrading From Node 0.10
Ben Nadel
Ben Nadel and the crew talk about a variety of topics include bulk data exports, ADAH, voice AI, and code rot....
Creating In-Memory SQLite Databases Using JDBC In Lucee CFML
Creating In-Memory SQLite Databases Using JDBC In Lucee CFML
Ben Nadel
Ben Nadel demonstrates how to use in-memory SQLite databases using JDBC connection strings in Lucee CFML....
Creating On-The-Fly Datasource Connections In Lucee CFML
Creating On-The-Fly Datasource Connections In Lucee CFML
Ben Nadel
Ben Nadel demonstrates that the CFQuery tag can create on-the-fly datasources in Lucee CFML....                                      
Experimenting With SQLite JDBC Connections In Lucee CFML
Experimenting With SQLite JDBC Connections In Lucee CFML
Ben Nadel
Ben Nadel dynamically creates and consumes SQLite databases in a Lucee CFML application....                                      
Using Multiple Common Table Expressions In One SQL Query In MySQL
Using Multiple Common Table Expressions In One SQL Query In MySQL
Ben Nadel
Ben Nadel demonstrates how to use multiple common table expressions (CTE) in a single query in MySQL....
CSS Open Props Exploration
CSS Open Props Exploration
Ben Nadel
Ben Nadel uses the CSS Open Props project to create a sticker design playground using Alpine.js....                                      
Working Code Podcast - Episode 177: Infinite Invisibility Timeout
Working Code Podcast - Episode 177: Infinite Invisibility Timeout
Ben Nadel
Ben Nadel and the crew talk HSL heatmaps, Algolia search indexing, fighting against the Entity Framework, and AI-powered voice calls....
Where Does Serialization / Deserialization Belong In A Database Access Workflow?
Where Does Serialization / Deserialization Belong In A Database Access Workflow?
Ben Nadel
Ben Nadel considers where data serialization and deserialization should take place in a ColdFusion request. And, how this has changed over the evolution of the CFML language.... ...
Why I Avoid DEFAULT Column Values In My SQL Database
Why I Avoid DEFAULT Column Values In My SQL Database
Ben Nadel
Ben Nadel explains why he avoids using DEFAULT column values (as much as possible) in his SQL database table schemas....
CFHttp Error: Column Names Must Be Valid Variable Names In ColdFusion
CFHttp Error: Column Names Must Be Valid Variable Names In ColdFusion
Ben Nadel
Ben Nadel described the cause of the CFHttp error message: Column names must be valid variable names in ColdFusion....
Working Code Podcast - Episode 176: Mocking In Public
Working Code Podcast - Episode 176: Mocking In Public
Ben Nadel
Ben Nadel and the crew talk credit card stuffing attacks, mocking modules in Node.js, and the joy of ColdFusion....
Using :where() To Reduce CSS Specificity Issues
Using :where() To Reduce CSS Specificity Issues
Ben Nadel
Ben Nadel demonstrates that the :where() CSS function can help mitigate CSS specificity issues in a design system....
Inline Script Tag Execution In Hotwire Turbo And ColdFusion
Inline Script Tag Execution In Hotwire Turbo And ColdFusion
Ben Nadel
Ben Nadel explores the execution of inline script tags in a Hotwire Turbo and ColdFusion application....
Adding turbo-cfml To My ColdFusion + Hotwire Demos Project
Adding turbo-cfml To My ColdFusion + Hotwire Demos Project
Ben Nadel
Ben Nadel adds a turbo-cfml demo to his ColdFusion + Hotwire demos project....                                      
Working Code Podcast - Episode 175: Overcompensation, Mentoring, And More
Working Code Podcast - Episode 175: Overcompensation, Mentoring, And More
Ben Nadel
Ben Nadel and the crew talk overcompensating for issues at work, right-sizing pull requests, and mentoring junior developers....
Variables Scope Persists Across Custom Tag Execution Modes In ColdFusion
Variables Scope Persists Across Custom Tag Execution Modes In ColdFusion
Ben Nadel
Ben Nadel demonstrates that the isolated variables scope persists across execution modes in a ColdFusion custom tag....
ColdFusion Custom Tags Can Have Privately Scoped Functions
ColdFusion Custom Tags Can Have Privately Scoped Functions
Ben Nadel
Ben Nadel demonstrates that ColdFusion custom tags can define privately scoped methods....                                      
Using getApplicationMetadata() To Provide Global Defaults In ColdFusion
Using getApplicationMetadata() To Provide Global Defaults In ColdFusion
Ben Nadel
Ben Nadel explores the use of getApplicationMetadata() as a means to provide global defaults for custom code in ColdFusion....
CF_SaveFile Custom Tag In ColdFusion
CF_SaveFile Custom Tag In ColdFusion
Ben Nadel
Ben Nadel creates a SaveFile custom tag in ColdFusion that implements the CFSaveContent API but which stores the content to disk....
Dedenting Text In ColdFusion
Dedenting Text In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to dedent text in ColdFusion using regular expressions....                                      
Paginating The Postmark Bounces API In ColdFusion
Paginating The Postmark Bounces API In ColdFusion
Ben Nadel
Ben Nadel demonstrates how he uses ColdFusion to paginate the Bounces API in Postmark in order to identify problematic email addresses....
Creating blockTrim(), inlineTrim(), and trailingTrim() Functions In ColdFusion
Creating blockTrim(), inlineTrim(), and trailingTrim() Functions In ColdFusion
Ben Nadel
Ben Nadel implements blockTrim(), inlineTrim(), and trailingTrim() as a code kata for removing whitespace in ColdFusion....
Working Code Podcast - Episode 174: When Good Software Goes Bad
Working Code Podcast - Episode 174: When Good Software Goes Bad
Ben Nadel
Ben Nadel and the crew talk about managing and remediating incidents at work....                                      
Working Code Podcast - Episode 172: Building Your Own Standard
Working Code Podcast - Episode 172: Building Your Own Standard
Ben Nadel
working code podcast, technology podcast, programming podcast, podcasts, web development podcast...                                      
Extracting JSON Embedded Within A Generate HTML File In ColdFusion
Extracting JSON Embedded Within A Generate HTML File In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to extract an embedded JSON payload, decode it, and parse it back into a ColdFusion data structure....
Decoding The EncodeForJavaScript() Output In ColdFusion
Decoding The EncodeForJavaScript() Output In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to parse the encodeForJavaScript() output back into a string in ColdFusion....
Less CSS Won't Import The Same File Twice When Globbing
Less CSS Won't Import The Same File Twice When Globbing
Ben Nadel
Ben Nadel demonstrates that the Less CSS compiler will dedupe @import paths, which gives us more control over the order of CSS declarations....
Forking Hotwire Turbo To Make It ColdFusion Compatible
Forking Hotwire Turbo To Make It ColdFusion Compatible
Ben Nadel
Ben Nadel forks Hotwire Turbo and enables it for ColdFusion file extensions....                                      
Understanding RegExp Capture Groups When Using .split() In JavaScript
Understanding RegExp Capture Groups When Using .split() In JavaScript
Ben Nadel
Ben Nadel demonstrates how regular expression capture groups work in String split() calls in JavaScript....
Playing With MutationObserver In JavaScript
Playing With MutationObserver In JavaScript
Ben Nadel
Ben Nadel explores the MutationObserver API as a means to dynamically bind and unbind controllers in JavaScript....
Using VALUES / ROW To Create Derived Table From Static Values In MySQL 8.0.19
Using VALUES / ROW To Create Derived Table From Static Values In MySQL 8.0.19
Ben Nadel
Ben Nadel demonstrates how to use the VALUES / ROW construct in MySQL 8.0.19 to provide static data as a derived table....
On Ending Path Variables With A Slash (Or Not) In ColdFusion
On Ending Path Variables With A Slash (Or Not) In ColdFusion
Ben Nadel
Ben Nadel pontificates on whether or not to end path variables with a trailing slash in ColdFusion....
Using CFModule To Render Templates With Isolation In ColdFusion
Using CFModule To Render Templates With Isolation In ColdFusion
Ben Nadel
Ben Nadel demonstrates that the CFModule tag can be used to render templates with strong isolation in ColdFusion....
Working Code Podcast - Episode 171: Strategy Vs. Tactics
Working Code Podcast - Episode 171: Strategy Vs. Tactics
Ben Nadel
Ben Nadel and the crew talk about the difference between strategy and tactics at work....                                      
Magic Life-Cycle Test In Alpine.js
Magic Life-Cycle Test In Alpine.js
Ben Nadel
Ben Nadel explores the life-cycle of a custom magic in Alpine.js....                                      
Code Kata: Parsing Time Spans In ColdFusion
Code Kata: Parsing Time Spans In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to parse a time span back into days, hours, minutes, and seconds in ColdFusion....
Code Kata: Alpine.js Calendar Component
Code Kata: Alpine.js Calendar Component
Ben Nadel
Ben Nadel tries to build a calendar component in Alpine.js....                                      
HTML Templates Can Be Mutated Just Like Any Other DOM
HTML Templates Can Be Mutated Just Like Any Other DOM
Ben Nadel
Ben Nadel demonstrates that an HTML template can be mutated just like any other DOM mutation in JavaScript....
CSS Enter Animations Follow The 80/20 Rule
CSS Enter Animations Follow The 80/20 Rule
Ben Nadel
Ben Nadel demonstrates that CSS enter animations gives us 80% of the user experience value with only 20% of the work (if that)....
Reading Element Attributes Collection In JavaScript
Reading Element Attributes Collection In JavaScript
Ben Nadel
Ben Nadel demonstrates how to read the collection of HTML attributes out of the DOM in JavaScript....
Working Code Podcast - Episode 170: Product Design With Thelma Van
Working Code Podcast - Episode 170: Product Design With Thelma Van
Ben Nadel
Ben Nadel and the crew talk to Thelma Van about product design thinking....                                      
Working Code Podcast - Episode 169: Earning Potential Of Spaces
Working Code Podcast - Episode 169: Earning Potential Of Spaces
Ben Nadel
Ben Nadel and the crew talk survey results that show a higher salary for developers who indent code with spaces....
Adding One-Click Unsubscribe SMTP Headers To My Comment Emails In ColdFusion
Adding One-Click Unsubscribe SMTP Headers To My Comment Emails In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to add One-Click easy unsubscribe functionality for ColdFusion emails....
I Broke The Comment Subscription System For The Last Year
I Broke The Comment Subscription System For The Last Year
Ben Nadel
Ben Nadel identifies and fixes a comment subscription issue....                                      
Using The Angular.js Parser To Comply With CSP In Alpine.js 3.13.5
Using The Angular.js Parser To Comply With CSP In Alpine.js 3.13.5
Ben Nadel
Ben Nadel uses the Angular.js expression parser to create a robust and CSP-compliant Alpine.js application....
Recursive JSON Explorer In Alpine.js 3.13.5
Recursive JSON Explorer In Alpine.js 3.13.5
Ben Nadel
Ben Nadel creates a recursive JSON data structuring rendering with Alpine.js 3.13.5....                                      
Using Alpine.js To AJAX'ify HTML Fragments Served From ColdFusion
Using Alpine.js To AJAX'ify HTML Fragments Served From ColdFusion
Ben Nadel
Ben Nadel explores the use of Alpine.js to progressively enhance (AJAX'ify) part of a ColdFusion-rendered page....
DateGetTime() To Get UTC Milliseconds From Date In ColdFusion
DateGetTime() To Get UTC Milliseconds From Date In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to get the UTC milliseconds from a date in ColdFusion, even if the date is represented as a string....
ColdFusion 2021 MySQL Query No Longer Returning Dates As Dates
ColdFusion 2021 MySQL Query No Longer Returning Dates As Dates
Ben Nadel
Ben Nadel demonstrates that MySQL dates are no longer returned as dates from the database in ColdFusion 2021. And this breaks his cookie handling.... ...
Working Code Podcast - Episode 168: Memory Safe Mandate
Working Code Podcast - Episode 168: Memory Safe Mandate
Ben Nadel
Ben Nadel and the crew talk the government press release on memory safe software, sunk cost fallacy, and the value of a college degree....
Ask Ben: Fisher-Yates Shuffle Algorithm In ColdFusion
Ask Ben: Fisher-Yates Shuffle Algorithm In ColdFusion
Ben Nadel
Ben Nadel demonstrates how to implement the Fisher-Yates shuffle algorithm in ColdFusion....                                      
Exploring DOM Mutation Observation In Alpine.js 3.13.5
Exploring DOM Mutation Observation In Alpine.js 3.13.5
Ben Nadel
Ben Nadel looks at Alpine.js' ability to observe and react to DOM manipulation within the current document....
Various Ways To Get ColdFusion Data Into An Alpine.js Component
Various Ways To Get ColdFusion Data Into An Alpine.js Component
Ben Nadel
Ben Nadel explores several ways in which to get ColdFusion data into an Alpine.js component....                                      
Recursive Template Rendering In Alpine.js 3.13.5
Recursive Template Rendering In Alpine.js 3.13.5
Ben Nadel
Ben Nadel demonstrates how to recursively render a tree data structure in Alpine.js 3.13.5 using his x-template-outlet directive....



Footer Logo

Powered by Galaxy Blog

If you have an ideathat you want to share, please contact us! This community can only thrive if we continue to work together.

Images and Photography:

Gregory Alexander either owns the copyright, or has the rights to use, all images and photographs on the site. If an image is not part of the "Galaxie Blog" open sourced distribution package, and instead is part of a personal blog post or a comment, please contact us and the author of the post or comment to obtain permission if you would like to use a personal image or photograph found on this site.

Credits:

Portions of Galaxie Blog are powered on the server side by BlogCfc, an open source blog developed by Raymond Camden. Revitalizing BlogCfc was a part of my orginal inspiration that prompted me to design this site.

Version:

Galaxie Blog Version 3.0 (Toby's Edition) June 14th 2022 Tropical Wave theme