The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'commandbox'

 

The 12 Tips of (CommandBox) Christmas 2017- Day 11 - Super Easy Module Scaffolding

Brad Wood
Dec 25, 2017

 

We've talked about what packages are, how to create them and how to publish them on Forgebox.  Now that you have the basics down, we've got some special ninja kung foo magic that will let you crank out modules with almost no effort at all.  We obviously can't implement the module for you, but there is a lot of boilerplate around creating the Git repo, scaffolding out files, setting up tests, and publishing.  We can turn all that boilerplate into 2 commands. **

** Some one-time setup required

12 Tips of (CommandBox) Christmas, CommandBox 0

The 12 Modules of (ForgeBox) Christmas — Day 11 — CommandBox Migrations

Eric Peterson
Dec 24, 2017

 

Let's tackle a powerful module today. It will take quite a bit of configuration, but hopefully you will see the usefulness of this module by the end of this post. Meet CommandBox Migrations, a tool for managing and running your database migrations with CommandBox.

12 Modules of (ForgeBox) Christmas, CommandBox, ForgeBox, Modules 0

The 12 Tips of (CommandBox) Christmas 2017- Day 10 - Private ForgeBox Packages

Brad Wood
Dec 23, 2017

 

For today's 12 Tips of (CommandBox) Christmas blog, we're covering private ForgeBox packages.  This has been out for a while but we haven't talked a great deal about it.  The idea of private packages is that you want to have packages of code that you and your coworkers use to build your apps and you want to use ForgeBox to list them so you can have CommandBox manage their installation and updating versions.  However, these are internal packages that you don't to share with the rest of the world.  

12 Tips of (CommandBox) Christmas, CommandBox 0

The 12 Tips of (CommandBox) Christmas 2017- Day 9 - Debugging Server Starts

Brad Wood
Dec 22, 2017

 

For today's 12 Tips of (CommandBox) Christmas we're going to review how to debug a server that don't want to start.  Figuring out why a server won't come up is usually very easy, but some people will waste a lot of time on it if they don't know how to access the logs.  Part of the issue is that the start command fires off an async process to actually start up the server, so you don't get much feedback right there in your console.

12 Tips of (CommandBox) Christmas, CommandBox 0

The 12 Modules of (ForgeBox) Christmas — Day 9 — verify-csrf-interceptor

Eric Peterson
Dec 22, 2017

 

I love modules that help me do the right thing in my code, especially when I often forget to do something. Today's module is very straight-forward — verify-csrf-interceptor — an interceptor that will automatically check for CSRF tokens for all non-GET requests to help protect against cross-site request forgery.

12 Modules of (ForgeBox) Christmas, ColdBox MVC, CommandBox, ForgeBox, Modules 0

The 12 Tips of (CommandBox) Christmas 2017- Day 8 - Custom Java Versions

Brad Wood
Dec 21, 2017

 

As Christmas draws near, remember to pick up batteries for all those toys.  There's nothing worse than a Christmas morning with not enough AA's.  In fact, there's solid evidence that this entire holiday is a ruse to keep battery manufacturers in business.  They're probably kahoots with the peppermint latte guys.  Anyhoo, let's talk quickly about using custom versions of Java with CommandBox.  

12 Tips of (CommandBox) Christmas, CommandBox 0

The 12 Modules of (ForgeBox) Christmas — Day 8 — CommandBox Githooks

Eric Peterson
Dec 21, 2017

 

A short one but a good one today. Let's see how we can automate tasks with CommandBox Githooks.

12 Modules of (ForgeBox) Christmas, CommandBox, ForgeBox, Modules 1

The 12 Tips of (CommandBox) Christmas 2017- Day 7 - Keeping up to date

Brad Wood
Dec 20, 2017

 

For today's 12 Tips of (CommandBox) Christmas, we'll talk about staying up to date when it comes to your CLI binary and the modules you have installed.  New versions of stuff come out all the time and you don't want to be stuck on an old version.  

12 Tips of (CommandBox) Christmas, CommandBox 0

The 12 Tips of (CommandBox) Christmas 2017- Day 6 - Docker

Brad Wood
Dec 19, 2017

 

In today's The 12 Tips of (CommandBox) Christmas we're going to discuss Docker. Containers are changing how the world deploys apps and services for development and production.  With Docker you don't need to ask around to find a good ColdFusion hosting company.  All you need is a company who supports Docker and you know you can deploy there.  Docker requires a shift in thinking though.  Smaller, transient servers that you don't install every time.  Portable configuration and flexible deployments based on text configuration files and environment variables.  Hey, that sounds right up CommandBox's alley!  

12 Tips of (CommandBox) Christmas, CommandBox 2

The 12 Tips of (CommandBox) Christmas 2017- Day 5 - TestBox Run

Brad Wood
Dec 18, 2017

 

For Christmas this year, why don't you give the gift of unit tests to everyone (including yourself) who may work on your app in the future.  Nothing else brings about the same amount of confidence in refactoring or assurance that your app still works on that new CF engine update you just installed.  While you use TestBox to write and run your tests, CommandBox has some commands built in to help you do it in style.  And most importantly, these CLI commands are perfect for automating your tests on your favorite CI server like Jenkins or Travis.

12 Tips of (CommandBox) Christmas, CommandBox 0