The Ortus BlogBox

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

 

 

Category Filtering: 'commandbox'

 

Ortus Railo CloudVPS Servers Have Arrived!

Luis Majano
Aug 29, 2014

 

We are excited today to announce the general availability of our Railo CloudVPS servers.  We have partnered with KickassVPS to bring about an offering of three great Railo CloudVPS pre-configured packages.  These CloudVPS offerings come fully loaded with features from the latest Railo 4.2 pre-configured and tuned, SSD drives, Railo Plesk+Apache+NginX integration, CommandBox CLI, instant scaling, automatic backups, MySQL, Email server and so much more.

Railo Pre-Configured

Your CloudVPS server already has Railo+Tomcat installed with the right JVM tuning according to the plan you select.  It also has the right connectors in place with Apache and NginX so you can just create websites via the Plesk panels and your sites will automatically be configured for you with Railo CFML capabilities.

Cloud-Based VPS Server

Your Railo CloudVPS Server server is cloud-based, meaning it has full redundancy, instant scaling ability, and high-performance for the most demanding Railo applications.

Cloud-Based VDS Hosting Management

Enjoy all the Cloud features on your VDS server, including instant scaling, hardware migrations, offline management, server reboots, resource usage and monitoring, backups, and reinstalls.

FREE Parallels Plesk Control Panel

Not a Server Admin? No worries, our CloudVPS servers also come with optional Parallels Plesk 11 for browser-based Server Administration.

 

Get Your VPS Today

ColdFusion, CommandBox, Community, News, Releases 0

TestBox BDD v2.0.0 and MockBox Released!

Luis Majano
Jun 09, 2014

 

We are so excited to bring you TestBox 2.0 and MockBox 3.0!  These releases are major releases of our libraries and include not only great features but a new repository home.  TestBox/MockBox have been decoupled from the ColdBox core and are now available standalone only (http://github.com/ortus-solutions/testbox).  They have also been integrated with CommandBox, our new ColdFusion CLI and package manager, to allow you to download, install and even execute tests in the command line.  We have also made available our integration server builds which can also be installed via our CLI.

You can now do this to install TestBox or MockBox.

// install testbox
box install testbox

// install testbox bleeding edge
box install testbox-be

// install mockbox
box install mockbox

// install mockbox bleeding edge
box install mockbox-be

// Execute tests
box testbox run runner="runner path"

// Generate a bdd spec
box testbox create bdd MySpec

 

Release Notes

Bug

  • [TESTBOX-75] - Suite marked as skipped even when nested suites executed
  • [TESTBOX-76] - assertSame / assertNotSame behaving differently from MXUnit
  • [TESTBOX-77] - Incorrect message for isNotEmpty assertion
  • [TESTBOX-79] - isEmpty returns true when it receives a function
  • [TESTBOX-84] - TestBox is walking up the tree instead of down the tree for beforeEach
  • [TESTBOX-87] - addAssertions() method failure on adding CFCs
  • [TESTBOX-90] - teardown(), afterEach() will only be executed if the test not Failed
  • [TESTBOX-92] - HTML reporter not showing skipped or hidden specs/suites correctly

Improvement

  • [TESTBOX-73] - Always output variables when using assertEquals()
  • [TESTBOX-81] - Add a shorthand for getMockBox.prepareMock(Object).$getProperty('VarName')

New Feature

  • [TESTBOX-74] - Ability to pass labels to the URL runner to execute only the labels thanks To Juerg Anderegg
  • [TESTBOX-78] - New method to retrieve private variables: getProperty()
  • [TESTBOX-83] - Add echo of test results on ANT build file so you can see results on the console
  • [TESTBOX-88] - Refactor to its new repository
  • [TESTBOX-93] - Integreate with box.json for CommandBox package management
  • [TESTBOX-94] - TestBox now sends a mini report as headers when making HTTP requests to it

Resources

Finally, TestBox is also a direct drop-replacement for MXUnit as well.  

ColdBox MVC, CommandBox, News, Releases, TestBox, TestBox 0

ColdBox 4 and CommandBox CLI at London Railo Group

Brad Wood
May 22, 2014

 

Luis will be speaking at the London Railo Group next Friday, May 30th at 6:30 pm.  He will be talking about some of the great stuff we're doing in ColdBox 4 (including the complete modularization of the core) as well as our new CFML CLI called CommandBox which we unveiled last week at Into The Box.

If you're in London stop by and say hello.

ColdBox MVC, CommandBox, Conferences 0

Project CommandBox (Gideon): The CFML CLI, Package Manager and REPL

Brad Wood
May 16, 2014

 

So at Into The Box this week we unveiled our latest here at Ortus that we've been calling project Gideon.  I'll note now that I'm blogging this to the Ortus blog because this is not beholden to the ColdBox MVC platform, but a new general tool we hope to help color the CFML developer's toolbox with.  Of course, even though this is a general tool aimed at the CFML community, you can bet your bippy we're cooking up some sweet Box love for our existing libraries.

CommandBox

CommandBox is a standalone, native tool that will have binaries for Windows, Mac, and Linux.  It provides a Command Line Interface (CLI) for developer productivity, tool interaction, package management, embedded CFML server, application scaffolding, and some sweet ASCII art.  We are working on a number of command namespaces to easily interact with TestBox, ForgeBox, ContentBox, CacheBox, etc.  Built-in help is completely integrated for every command.  You can pop open a CommandBox shell in your terminal window and manually type commands, or even automate things externally via the CommandBox binary with your OS's native shell.  

Package Management

So one of the biggest things we think the CFML community is missing is a true package management platform.  With this in mind, we are going to be reworking ForgeBox this year and opening it up to the entire community.  We have created a spec for a box.json file which will go in the root of CFML packages to describe metadata about the package, how it should be installed, and dependencies that the package requires to run.  Hand in hand with this move, is the complete modularization of the ColdBox platform.  75% of its code has been stripped from the core, and moved into modules on ForgeBox.  CommandBox is getting a tight integration with the ForgeBox REST API to search, view, and install packages/modules directly into your app from the command line.  We want the community to follow in this manner, and if they aren't writing modules for ColdBox (which are getting some sweet new features in ColdBox 4) at least start writing package-able CF code that can be distributed in a consistent and scriptable manner.

Application Scaffolding

CommandBox will have tons of command for quickly building out applications.  Create a new ColdBox app with "coldbox create app", add a handler with "coldbox create handler".  You can even get actions added to it, views created, and BDD integration tests stubbed out at the same time.  This can bring new productivity for people who like to live on the command line and especially for those who want to be able to automate stuff they do a lot of.

Embedded Server

One of the cool things CommandBox brings to the table is the ability to spin up an ad hoc, lightweight, CFML server in any directory from the command line.  Simply change your working directory to the root of your app, type "start" and a super fast Railo server spins up on a new port running your code.  When you're done type "stop" from that directory or use the little icon that's showed up in your system tray.

Whiz Bang Cool

So one of the most interesting things about this entire project is that the actual commands are written in CFML itself!  CommandBox is small, lightweight, integrated at the operating system level, but actually running on CFML at the same time.  This means you will eventually be able to extend it with your own commands that do cool stuff for a different framework, or automate repetitive tasks you're tired of doing every day.  All the code for CommandBox is open source and already available on GitHub.  Tonight I did an informal demo of CommandBox to a BOF here at cf.Objective().  I recorded it on Connect.  I start out talking a bit about ColdBox 4 and ForgeBox, but just stick with me-- I'm laying the groundwork to help paint the bigger picture we're trying to achieve here at Ortus.  We're really trying to push the CFML world forward with tools no one else is making that fall into a bigger picture of productivity, automation, and modular applications.  We hope to have an alpha out in the next week or so to play with and provide your feedback.  Watch the 20 minute recording below and then fire off your thoughts in the comments.

http://experts.adobeconnect.com/p6bz0oi4ppi/

ColdBox MVC, ColdFusion, CommandBox, Community, Into The Box, News, Releases 14