Brad Wood talks about “CommandBox 4 Deep Dive (new version revealed)” in this episode of ColdFusion Alive podcast with host Michaela Light.
[ Ссылка ]
He is one of the speakers at Into The Box 2018 conference, a system architect for Ortus Solution and lead developer of the CommandBox CLI.
Episode highlights
What is CommandBox
Command line utility (CLI)
Windows, Mac, Linux
Manage CF apps and servers from command line
Run CF code from command line
Written in CFML - open source
What if CFML compiler was
Why all CFers should be using it
State of the CF Union survey 70-80% of CFers use
Productivity especially around managing multiple server versions
Very fast spin up a new server for testing ( 30 seconds)
Auto download the install WAR file
Any dot version
Free (open source)
What is new in version 4
In snapshot since Dec 2017 (beta test)
New underpinnings
Lucee CFML 5
Faster Lucee start up times
Lots of new features from Lucee 5 that you can use in CommandBox now
Follows JSR 223 standard
256 color support (vs 8)
Bullet Train is now built in (vs module)
Tab completion - updated JLine - highlight of commands as you type
REPL syntax highlighting
Better class loading
Better terminal support - conemu
Still free
Paid support
Private packages via ForgeBox
Private S3 repository
Usage Overview
Review help system
Add Help at end of command to get specific help
Git book tutorial
Samples for each command
Demo REPL and uses
Learn about scaffolding commands
Auto generate framework and test code
Using shell history, tab completion, and config settings
Native scripting with CFML
Running .cfm files from your CLI as Task Runners
A CFC with function Run()
Run from command line or cron job
Send emails, access files, process data
Automate Git, Maven etc
Extend Jenkins continuous integration
Using a database in a stand-alone cfm script
Server Management
Start/stop servers
Multi-engine support (Adobe, Lucee, etc)
Manage servers
Handling CF configuration with CFConfig
Script it
Version control of server config
Externalize passwords for datasources and S3 etc
Server.json between ACF and Lucee and version
Using CommandBox for cloud deployments (Heroku, Docker)
Package Management and Authoring
What is ForgeBox.io
Find and install packages
ColdBox, F/W 1, Mura etc
Update packages
Creating a package
Travis automated testing of packages in multiple CF versions
Package scripts
Creating a ForgeBox account
Publish a package to ForgeBox
List libraries that I am using
Outdated command - are any new libraries available
Extending CommandBox
Creating a Module
What are modules
How to use Interceptors
Hook into key events in CommandBox as they start or end
Packing a model inside a module
Distributing your work for the world to see on ForgeBox
Exercise Time
Let’s build something!
Work in teams or alone to create a module that does something cool and publish it to ForgeBox and Github.
Why are you proud to use CF?
WWIT for you to make CF more alive this year?
What are you looking forward to at ITB?
Brad’s sessions
Integrating MVC into legacy
Ortus Keynote
Thinking Modularly
WireBox Basics (Dependency Injection)
Take your CF apps from local dev to production with CommandBox and CFConfig and Docker
CommandBox Deep Dive
ColdBox Zero to Hero workshop sold out
More of the basics as well as advanced stuff
Workshop Description
This workshop will start with the basics of using CommandBox CLI in your everyday workflow. We’ll focus on topics like managing servers, package management, and scripting command line tasks using CFML and Task Runners. We’ll also cover extending the CommandBox core with modules to add your own behaviours. We will focus on hands-on exercises and will end the day with each student building their own module and publishing it to ForgeBox.
Prerequisites
A working knowledge of CommandBox’s shell and basic commands is desirable but not required
Have the latest stable version of CommandBox installed already
A GitHub account and Git CLI installed (if you want to follow along with publishing packages)
Agenda
Introductions/checking prerequisites - 15 mins
Usage Overview - 45 mins
Native scripting with CFML - 1 hr
Server Management - 1 hr
Lunch - 1 hr
Package Management and Authoring - 1 hr
Extending CommandBox - 1 hr
Break - 30 mins
Exercise Time - 1.5 hr
Ещё видео!