The Ortus BlogBox

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

 

 

Category Filtering: 'commandbox'

 

Hey, where'd my debugger go?

Curt Gratz
Feb 09, 2015

 

You may be wondering where all that amazing debugging information went in your ColdBox 4.0 application.  Have no fear.  You can still have your cake and eat it too.  We modularized it (sensing a theme in ColdBox 4.0 yet?) So, how do you get all that wonderful debugging info?

Easy! Using CommandBox, run the following command.

box install cbdebugger --saveDev

Notice the --saveDev we added to our command.  This is handy as it tells CommandBox that you only want this as a dependency for your application in development.  

Once the debugger module is installed, you can control the settings via the debugger structure in your main Coldbox config file.  

Also, if you need access to the debugger service or the timer, they are available via the following WireBox mappings.

  • debuggerService@cbdebugger
  • timer@cbdebugger

Just call getInstance() on either to snag them as needed.

Debug to your heart's content.

ColdBox MVC, CommandBox, Modules, Tutorials, WireBox 2

CommandBox v1.0.0 Released!

Luis Majano
Feb 04, 2015

 

After almost a year in development, we are so excited to finally announce the release of CommandBox 1.0.0 Final.  This has been definitely one of the most challenging and fun projects we have overtaken here at Ortus.  We had a vision of how we could accelerate not only development, tools and ultimately the ColdFusion (CFML) landscape by building a tool that could put us up to par with many other technologies.  I am glad to say we have now a great foundation to move forward.  CommandBox brings CFML to any Operating System and even embedded systems like the Raspberry and Banana Pi.  It also gives ColdFusion (CFML) developers a much better workflow to work with their projects and a sense of community we lovingly call ForgeBox.  

With anything we do here at Ortus, it is fully documented using our new book formats.  So head on over to commandbox.ortusbooks.com to download or read the entire CommandBox documentation.  In the next coming weeks we will begin our CommandBox 5 week roadshow that will include weekly blogging tutorials and video presentations, so stay tuned as each week progresses.  So without further ado, I present to you project Gideon: CommandBox CLI!

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

ColdBox 4 Has Landed!

Luis Majano
Jan 22, 2015

 

Ortus Solutions is proud to announce the general availability of ColdBox 4.0.0, WireBox 2.0.0, CacheBox 2.0.0 and LogBox 2.0.0.  This has been over 1 year of hard work from the engineering team to bring you some great updates to our complete web development framework line.

ColdBox has become one of the most widely used MVC frameworks and we take it to another level in this release by completely modularizing the core even further and decoupling all major functionality into Core Modules that can be assembled by CommandBox for you, our very own CFML CLI and Package Manager.  This means that the source has been reduced by over 80% which leaves core MVC as the only thing delivered with ColdBox now.  Everything else is optional and brought on-demand via CommandBox.  There are over 50 issues and features in this release and you can find out much more about it in our brand new ColdBox Manual book and engineering blog.

ColdBox Manual

That's right!  The entire documentation for the ColdBox Platform will be now delivered in book format and anybody can contribute as the documentation is now hosted in GitHub.  Users can also subscribe to documentation changes, download for iOS, Android, Kindle, PDF and much more.  We have been hearing everybody about how to improve our documentation and this is our first big step in making it easier for folks to find what they need.

 

ColdBox MVC, ColdFusion, CommandBox, Releases 0

TestBox BDD v2.1.0 and MockBox Released!

Luis Majano
Nov 14, 2014

 

We are so excited to bring you TestBox 2.1.0 and MockBox 3.1.0!  These releases are minor releases of our libraries and include not only great features but a slew of fixes.  You can read all about the exciting features in our What's New Guide!  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

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

// Generate a bdd spec
box testbox create bdd MySpec

 

Release Notes

Bugs Fixed

  • [TESTBOX-96] - isEqual on Query fails when queries are equal
  • [TESTBOX-97] - equalize fails on struct/objects/arrays when null values exist within them
  • [TESTBOX-98] - Floating Point Number isEqual Fails
  • [TESTBOX-100] - Specs with the same name cause thread name exceptions when using async
  • [TESTBOX-101] - Download file has "samples" instead of "tests" directory
  • [TESTBOX-102] - tobe() cannot handle sparse arrays on Adobe CF
  • [TESTBOX-103] - xUnit compatibility CF9 broken due to isClosure() being utilized
  • [TESTBOX-105] - skip closures get more metadata arguments when being executed.
  • [TESTBOX-115] - testbox errors when using complete null support in railo

Improvement

  • [TESTBOX-40] - Have debug() include information about where it came from
  • [TESTBOX-95] - remove extra whitespace in text reporter
  • [TESTBOX-110] - Remove CF7,8 incompatibilities
  • [TESTBOX-118] - ColdFusion 11 cfinclude compatibilities

New Feature

  • [TESTBOX-106] - BDD run() method now receive the TestResults argument for usage in their definitions.
  • [TESTBOX-107] - BDD runner and specs receive reference to the TestBox calling class via the run() method
  • [TESTBOX-108] - Update the apidocs with our new DocBox skin
  • [TESTBOX-109] - Debug labels and telemetry additions
  • [TESTBOX-112] - Add "top" attribute to debug method
  • [TESTBOX-114] - HTMLRunner add big request timeout setting to avoid server cut offs
  • [TESTBOX-116] - have expectations assertions return the expectation to allow chaining
  • [TESTBOX-117] - Simple reporter includes now a test bundle filter
  • [TESTBOX-119] - New lifecycle method: aroundEach() so you can do a full AOP advice on any spec

 

Resources

 

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

New Compatibility Module released to help get you on ColdBox 4.0

Brad Wood
Nov 13, 2014

 

ColdBox 4.0 is now in Release Candidate and we're tightening down all the screws for the big release.  As 4.0 is a major release of the platform, we've taken the opportunity to really clean up the code, making changes and improvements where necessary.  This includes the exodus of 75% of ColdBox's core code into pluggable modules so you can truly pick and choose what parts of the framework you want.  Some methods such as getPlugin() and getColdBoxOCM() were also removed.  This has naturally modified the framework's API a bit and your 3.x ColdBox app might not run without some tweaking.  

We have a What's New doc as well as a Compatibility Guide for ColdBox 4.0 where we have tried to document any changes necessary to get your codebase switched over.  However, we realize that some of this may take time for you to refactor if you have a larger codebase and we don't want it to keep you from looking at ColdBox 4.0  

That's why I've created a compatibility module for ColdBox 3.x code bases to help them run on the new 4.0 version of the ColdBox platform.  We feel this is a  much better solution than littering the core codebase with additional settings and feature flags.  ColdBox is the only framework with a first-class modular architecture.  Mix that with the incredible extensibility options, and this module has be ability to alter just about anything it wants.  

Only install it if you need it, and remove it once you're finished refactoring your code to the 4.0 standards.  This isn't meant to be a permanent install-- it's just a stepping stone to help you get your codebase up and running until you have time to finish refactoring.  Do feel free to use it in production, though it comes with no warranties or guarantees.  Here's a list of the modifications this module will make to ColdBox 4.x to make it work like the 3.x versions.

Functions and behaviors restored

  • Original getModuleSettings() behavior
  • getPlugin() function
  • getMyPlugin() function
  • getColdBoxOCM() function
  • UDFLibraryFile setting
  • "model" convention for WireBox scan locations
  • coldbox.system.plugin base class

The following WireBox mapping DSL namespaces are restored

  • ocm
  • ocm:{keyName}
  • coldbox:plugin:{pluginName}
  • coldbox:myplugin:{pluginName}
  • coldbox:myplugin:{pluginName@moduleName}
  • coldbox:fwconfigbean
  • coldbox:configbean
  • coldbox:cacheManager
  • coldbox:mailsettingsbean (requires mailservices module)
  • coldbox:debuggerService (requires cbdebugger module)
  • coldbox:validationManager (requires validation module)

This module also comes packaged with all the original ColdBox 3.8.1 plugins, so you only need to install this module and you'll have it all back again.   If you need any of the functionality that was refactored into modules such as ORM, validation, or i18n, just install those modules.  

Known issues:

  • When this module loads, it will copy Plugin.cfc to the coldbox/system directory.  If you uninstall this module, it will not remove that file.
  • Plugins only work for the default convention location of "plugins". 
  • You will still need to change the Application.cfc to use coldbox.system.Bootstrap instead of coldbox.system.ColdBox.  There's really no way around that one.

Installation

The preferred way to install this module is via CommandBox because using a package manager is just so fast and easy.  If you don't have Command Box, grab it real quick from here.  Then CD to your site's web root and run the following:

CommandBox> install cbcompat

If you want to do an old-fashioned installation, just click the download link from ForgeBox, and uncompress the contents of the zip file into your app's modules directory.

If you have questions or suggestions, hit me up on the ColdBox list, or feel free to submit a pull request.

ColdBox MVC, CommandBox, Modules, Releases 0

Brad Wood presenting on CommandBox to the Online CF Meetup 10/2 @ 12pm (US ET)

Brad Wood
Sep 30, 2014

 

Brad Wood will be giving a presentation on our newest Ortus project CommandBox this Thursday to Charlie Arehart's Online ColdFusion Meetup.  The session will be noon US Eastern and like all Online CF Meetups, will be recorded.

Topic Description:

CommandBox is a standalone, native tool for Windows, Mac, and Linux that will provide you with a Command Line Interface (CLI) for developer productivity, tool interaction, package management, embedded CFML server, application scaffolding, and some sweet ASCII art. It seamlessly integrates to work with any of the *Box products but it is also open for extensibility for any ColdFusion (CFML) project as it is also written in ColdFusion (CFML) using our concepts of CommandBox Commands.

CommandBox also functions as a package management tool which integrates seamlessly with ForgeBox, our community of ColdFusion (CFML) projects, but can also integrate with git,svn,http, ftp and many more code endpoints. Come learn about one of the coolest tools for CFML in years and how it can help your everyday productivity. 

You can find more info here at the official event page.  We hope to see you there!

http://www.meetup.com/coldfusionmeetup/events/210266372/

CommandBox, Presentations 0

ColdBox 4 & CommandBox Beta have arrived!

Luis Majano
Sep 04, 2014

 

Ortus Solutions is proud to announce the general beta availability of ColdBox 4.0.0 and CommandBox 1.0.0.  This has been over 6 months of hard work from the engineering team to bring you two revolutionary new product releases that we are sure is going to change the ColdFusion (CFML) landscape.  

ColdBox 4 has become one of the most widely used MVC frameworks and we take it to another level in this release by completely modularizing the core even further and decoupling all major functionality into Core Modules that can be assembled by CommandBox for you.  This means that the source has been reduced by over 75% which leaves core MVC as the only thing delivered with ColdBox now.  Everything else is optional and brought on-demand via CommandBox.  There are over 50 issues and features in this release and you can find out much more about it in our engineering blog.

CommandBox is a revolutionary product as it becomes the first Command Line Interface, package manager, REPL, recipe runner and more for ColdFusion (CFML).  CommandBox will help you not only create and work faster, but also track dependencies, packages and even execute a-la-carte CFML right in your operating system.  Check out the product page for more in-depth information about CommandBox and this beta release.

 

ColdBox MVC, ColdFusion, CommandBox, ForgeBox, News, Releases 2

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
<< 1 ... 3 4 5 6 7 8 9 >>