New PDF Ref Card: Building ColdFusion REST APIs

We have just released a new getting started reference cards, ColdBox REST APIs.  This will give you quick overview of everything you need to get started building ColdFusion REST APIs based on ColdBox's simple MVC conventions and URL routing.

Download it here and give it a read:

REST Ref Card


Texas TestBox BDD Training in 20 days

Events, Training

Just a reminder that our Texas TestBox BDD Bootcamp is in just 20 more days on April 24-25 in Houston, Texas.  These will be 2 days filled with hands-on and theory about TDD/BDD and Automation via Jenkins, ANT and more.  Hope to see you there!

 


Short Screencast on Installing the Ortus FuseGuard Module

FuseGuard Module, Modules, Tips & Tricks

Here is a short introductory video of how you can start protecting your ColdBox applications with our FuseGuard Module!  Enjoy!

 

 


ColdBox Platform Utilities v4.0.0 with TestBox Support Released

CFBuilder, Community, News, Releases

We are so proud to announce another update to our Adobe ColdFusion Builder exension: ColdBox Platform Utilities v4.0.  This update has tons of cool updates and fixes:

Bugs Squashed

Improvements

New Features

So either download the extension and install it or if you have it installed, just click "ColdBox Platform > Check For Extension Updates..." and perform our sweet auto update!  Here are a few screenshots of some new functionality:


Use ColdBox to Write Your Next REST API

Relax, Tips & Tricks

REST APIs are a popular and easy way to add HTTP endpoints to your web applications to act as web services for third parties or even other internal systems. REST is simpler and requires less verbosity and overhead than other protocols such as SOAP or XML-RPC. Creating a fully-featured REST API is easy with the ColdBox Platform. Everything you need for creating routes, massaging data, and enforcing security comes out of the box.

The ColdBox MVC Platform has had excellent support for REST APIs for years and is a great choice for your next project.  Using ColdBox automatically affords you many productive features, including (but not limited to) the following:

  • Flexible and simple URL Routing
  • No XML configuration!
  • Easy use of conventions
  • Built-in data rendering
  • Easy control of HTTP verbs and status codes
  • Error Handling
  • Security
  • Caching

Have a read through our ColdBox REST documentation: Building ColdFusion Rest APIs

Also check out our companion project that helps you write and test REST APIs called ColdBox Relax: ReSTful Tools For Lazy Experts

 


New WireBox AOP Ref Card Released

Ref Card, TestBox

We have just released another installment in our series of getting started reference cards, WireBox AOP Ref Card.  For anyone who's been waiting to jump into WireBox Aspect Oriented Programming, here is your nice full-color introduction to AOP with WireBox.

WireBox Ref Card

Download it, print it, read it, and most of all, ENJOY IT!


New LogBox Ref Card Released

Ref Card, TestBox

We have just released another installment in our series of getting started reference cards, LogBox Ref Card.  For anyone who's been waiting to jump into LogBox for enterprise logging and tracing, here is your nice full-color introduction to LogBox.

LogBox Ref Card

Download it, print it, read it, and sleep with it under your pillow.  Also, keep an eye on the horizon for our next ref card coming soon-- WireBox AOP!


Texas TestBox BDD Training April 2014

News, TestBox, Training

We are incredibly excited to announce our Testing Bootcamp from April 24-25th in Houston, Texas.  This bootcamp will include our newest course CBOX-205: BDD & TDD CFML Development led by TestBox creator Luis Majano.  

Course Synopsis
CBOX-205 is one of our core courses that focus on testing principles, TDD (Test Driven Development), BDD (Behavior Driven Development), mocking and automation. In this 2 day course you will be exposed to testing theory, types of tests, working with TestBox, application testing, automation, tools of the trade, continous integration via Jenkin+ANT and finally learn about Mocking and Stub objects. You will have both theory and hands on workshops that will sharpen your skills and challenge you.

Download Datasheet

Whether your are a newbie to testing or a seasoned tester, this training will surely sharpen your skills in no time.  We have special discounts for groups and students, so please contact us at training@coldbox.org for more information or you can visit our registration page as well: testbox-texas.eventbrite.com

Venue

Hyatt Place Bush Intercontinental Airport
300 Ronan Park Pl 
Houston, TX 77060

Registration Form

You can link to our event page or just use the form below to register.

 


TestBox BDD Video + Slides at NVCFUG

Community, Events, TestBox

Here is the video and slides from our presentation at the NVCFUG last month on TestBox xUnit and Behavior Driven Development (BDD)

 

 


Tip of the Week: Easily Customize LogBox Appender Formats

LogBox, Tips & Tricks

LogBox ships with a number of appenders for you to use including the File, Email, and Socket Appenders. These all have a default way that they format the data before its persisted. For instance, the FileAppender will write out each log event like so:

"Severity","Name","MM/DD/YYYY","HH:MM:SS","Category","Message"

If you need the data to be in a different format, or perhaps even change what data is included, you can do so easily without needing write your own appender. Instead, you can provide the path to a custom layout CFC in the config that will be used to format each log message. A layout component only needs to have a single method called "format()". It will receive a coldbox.system.logging.logEvent object and must return a string containing the formatted log message.

Here's an example:

screamoLayout.cfc

component {
  function format( logEvent ) {
    return UCase( logEvent.getMessage() ) & '!!!';
  }
}

 

And then register the layout along side the appender that will use it in the config:

logBox = {
  appenders = {
    myFile = {
      class='logbox.system.logging.appenders.FileAppender',
      layout='path.to.screamoLayout'
    }
  },
  root = { appenders='*' }
};

Now, all your application's log messages will be shouted at the top of your server's lungs. Perhaps you should check the severity and only do that if it's an error message :)

More info here: http://wiki.coldbox.org/wiki/LogBox.cfm#Creating_a_Custom_Layout

P.S. Remember, it is the responsibility of your custom layout to deserialize the extraInfo if necessary and escape any special characters in the message based on the type of storage it's going to be added to. For instance, the E-mail appender will render any HTML tags when sending the message so escape anything that's not meant to be part of the markup in the actual E-mail.


Categories


Recent Entries

Entry Archives





Training Events

ColdBox CFML Jobs

ColdBox Book

book