boxlang-cfml-migration

Convert CFML file types to BoxLang equivalents with bx-compat-cfml.

16|78|Updated Nov 28, 2014
One-click install
npx skills add https://github.com/ortus-docs/coldbox-docs --skill boxlang-cfml-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: boxlang-cfml-migration
Source: https://github.com/ortus-docs/coldbox-docs/tree/main/.agents/skills/boxlang-cfml-migration
Command: npx skills add https://github.com/ortus-docs/coldbox-docs --skill boxlang-cfml-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps CFML developers migrate to BoxLang by clarifying key syntax and behavioral differences, leveraging the bx-compat-cfml compatibility module, converting CFML file types, and addressing common migration issues (scopes, annotations, query params, date handling) to ensure code runs on both CFML and BoxLang runtimes.

Core Features & Use Cases

  • Guides CFML to BoxLang syntax changes and runtime parity across CFML and BoxLang engines.
  • Converts CFML file types (.cfc, .cfm, .cfs) to BoxLang-native equivalents (.bx, .bxs, .bxm) and documents tag/prefix changes.
  • Provides a practical migration checklist and examples for scopes, annotations, BIFs, and date handling to enable safe, cross-runtime code.

Quick Start

Follow the migration checklist to begin converting sample CFML components to BoxLang and verify behavior across runtimes.

Frequently Asked Questions about boxlang-cfml-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate CFML code to BoxLang?

To migrate CFML to BoxLang, follow a migration checklist that addresses syntax differences, file-type conversions, and runtime parity using the bx-compat-cfml compatibility module for safe cross-runtime code.

What CFML file types need to be converted for BoxLang?

CFML file types like .cfc, .cfm, and .cfs must be converted to BoxLang-native equivalents such as .bx, .bxs, and .bxm, which also involves updating corresponding tags and prefixes.

How are scopes and annotations handled when converting CFML to BoxLang?

During CFML to BoxLang conversion, scopes and annotations require specific adjustments to maintain runtime parity, and the migration provides practical examples to ensure proper query handling and date behavior.

Does BoxLang support running existing CFML projects without rewriting?

BoxLang supports running existing CFML projects by leveraging the bx-compat-cfml compatibility module, which clarifies behavioral differences and allows code to run on both CFML and BoxLang runtimes.

Why do my CFML date and query functions behave differently in BoxLang?

Date behavior and query parameters can differ between runtimes; addressing these common migration issues with provided examples and compatibility checks ensures consistent execution across CFML and BoxLang.