The Ortus BlogBox

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

 

How to use a database in CLI scripts with CommandBox

Brad Wood
Feb 21, 2017

 

One of the cool things that CommandBox allows you to do is run CFML code directly from the command line via the execute command, or on Unix as a natively-executable hash bang script. This opens up all sorts of doors for scheduling cron jobs and whatnot that you can write in CFML much faster and esaier than using bash or shell scripts. One common question is how to access the database from one of these scripts.

CommandBox, Lucee, Tips & Tricks 0

New Ortus Quick API Docs Explorer

Luis Majano
Feb 16, 2017

 

We are excited to announce an update to our quick docs API module. You can find our new UI and new API docs collections in the same address apidocs.coldbox.org. However, we will be migrating them to the Ortus Solutions website in the coming weeks. The update includes lots of visual and searching improvements for any API documentation created by DocBox, our API documentation library.

News 0

Easy custom site host names with CommandBox

Luis Majano
Feb 14, 2017

 

In this video Brad Wood introduces the CommandBox Host Updater Module written by Chris Schmitz: https://www.forgebox.io/view/commandbox-hostupdater which allows you to automatically add host entries to your operating system and starting servers all on port 80 for you using CommandBox. It is really a great example of a CommandBox module, but also a great tool to have for ALL your ccustom development work. Enjoy!

Video

Installation

To get started with this module, simple use your CommandBox console to install it and running: box install commandbox-hostupdater. That's it, enjoy!

CommandBox, ForgeBox 3

Into the Box 2017 Schedule Released

Gavin Pickin
Feb 07, 2017

 

Logo Banner - Into the Box 2017 - Coldfusion and Java redefined

Ortus Solutions' very own conference, Into the Box conference, has expanded in 2017, from 1 day of conference content, to 2 days of conference content + 1 day of workshops. We are hosting Into The Box 2017 in Houston Texas in April. Wednesday the 26th has 5 great workshops, Thursay April 27th and Friday 28th is 2 full days of great conference sessions, with 2 tracks to choose from… over 30 sessions.

We are so excited to finally unveil the schedule lineup for our Into The Box conference.

Conferences, Into The Box, Training, Workshop 0

Injecting Functions with WireBox

Brad Wood
Jan 31, 2017

 

This is a guest post by Eric Peterson.

I had a unique use-case the other day, and I wanted to share the solution with you all.

I use a custom Collection component to handle many higher-order functions like map, reduce, filter, etc. Basically, it wraps an array or a query and lets you continue chaining these functions, kind of like wrapping a value with lodash in Javascript.

ColdBox MVC, Tips & Tricks, WireBox 0

Tips for handling ColdBox module routing with nested modules

Brad Wood
Jan 24, 2017

 

ColdBox modules have revolutionized the way that CFML developers can reuse and organize code.  Modules follow an HMVC, or Hierarchical MVC pattern that allows you to not only break apart your CFML app into smaller chunks, but to stack those pieces into a hierarchy that really makes sense of your code.  We also call this module inceptions-- the act of nesting modules inside of each other.  

So, a question came across the ColdBox Google group today asking about how to access events from within nested modules and how that manifests itself in the URL.  Before I responded, I spun up a quick site in CommandBox to test and I found to my dismay that the answer was very difficult to find in our docs.  As such, I figured a quick blog post was in order since it's fairly easy to set up if you know what to do.

ColdBox MVC, Tips & Tricks 0

ContentBox 3.1.0 Released

Gavin Pickin
Jan 12, 2017

 

ContentBox 3.1.0 is a minor release with over 40 issues, improvements and new features addressed. Below you will find the detailed release notes about this release but also the major areas of improvement and new features introduced. Enjoy!

ContentBox CMS, News, Releases 0

CommandBox 3.5.0 Released

Brad Wood
Jan 10, 2017

 

We are pleased to announce the final release of CommandBox 3.5.0.  This is a minor release, with 53 completed tickets-- most of which are server enhancements focused on making server management and configuration easy across any engine.  This version has been in release candidate for a few weeks and has received a lot of testing.  As a minor release, there are no compatibility-breaking changes to any of the public APIs, but there has been some necessary restructuring of the back end bits related to starting servers that could possibly have an effect on you if you have any scripts or custom modules based on the previous folder structure of some server installs.  We recommend all users upgrade to this new version, but take a minute to review the changes so you can fully utilize the new features.

CommandBox, News, Releases 0

CommandBox 3.5 Release Candidate Ready for Testing

Brad Wood
Dec 28, 2016

 

We've been hard at work on the latest version of CommandBox which brings bug fixes, improvements, and new options for deploying and starting servers.  We think it's ready for the general public to give it a good testing before we release it so today we're announcing the CommandBox 3.5.0-rc (release candidate) for you to give a spin.  This should be a painless switch so we encourage you to take a look and provide us with feedback.  We are also pleased t have several features and fixes in this release that were provided by community members as part of our first 1000 open source pulls.

 

CommandBox, News, Releases 0

The 12 Tips of (CommandBox) Christmas - Day 12 - Custom Error Pages

Brad Wood
Dec 26, 2016

 

This is our final installment of the 12 Tips of (CommandBox) Christmas and we hope you've learned some new tricks.  In this last segment, we'll cover setting up custom error pages for your CommandBox-based web servers.  This applies to all CF engines that you start and can help you add a bit of polish to a CommandBox-powered site you want to make public. 

CommandBox's server started as a development tool, but has now grown to a fully-functional and performant web server that can handle most any site.  You can customize the error page that CommandBox servers return when a missing file is requested. You can have a setting for each status code including a default error page to be used if no other setting applies.

12 Tips of (CommandBox) Christmas, CommandBox, Tips & Tricks 0
1 2 3 4 5 6 ... 109 >>