Blog

REST2016 - Route Responses

Luis Majano |  March 14, 2016

You can route responses inline with ColdBox via the addRoute() function globally in your main routes.cfm template or within any Module as well. This will allow you to build simple response functions or even mock out or stub a RESTFul service very easily. The paremeters you will use for response routing will be: response, statusCode and statusText.

The response argument can be a string or a closure or UDF pointer. T...

Read More

Ortus PDF v1.0.0 Lucee Extension Released

Luis Majano |  March 14, 2016

 

We are extremely excited to bring to the masses our PDF extension for Lucee CFML server. This has been in the works since the Railo days and we have finally spiced it up to release it publicly. So what exactly does the Ortus PDF extension do? I am glad you asked. Let's check this extension out.

Overview

The Ortus PDF Lucee Extension adds to any Lucee engine the missing PDF capabilities you were longing for and enhancing some PDF capabilities as well. The extension contains several new CFML built-in tags and functions (coming soon) that will help you manipulate and work with PDF documents. Our extension is completely documented and professionaly supported via our Ortus Support services.

Implemented Tags:

  • cfpdfform
  • cfpdfformparam

 

Read More

REST2016 - Creating Sub-module URL entry points

Luis Majano |  March 11, 2016

In this entry I will go over how to leverage ColdBox's Modular architecture to RESTFul routing. In ColdBox, every module's ModuleConfig.cfc you create has two important facets for building RESTFul services: 1) The this.entryPoint and the 2) routes structure in the configure() method.

If you are creating ColdBox applications using modules, then you will benefit with the capability to nest entry points so they can match to nested sub-modules. Let's say you have the following module structure:

+modules
  + api
    + security
    + data
Read More

REST2016 - Introduction to RESTful Tools - Coldbox Relax

Gavin Pickin |  March 11, 2016

ColdBox Relax is a set of restful tools, for lazy experts, that provides an easy way to describe RESTful web services, test RESTful Web Services, monitor RESTful web services, and document your RESTful API.

Read More

TestBox v2.3.0 Released!

Luis Majano |  March 11, 2016

Team TestBox is proud to bring our latest release to the masses, v2.3.0.  This release includes a collection of fixes but also several new cool features thanks to Mr Eric Peterson and our Slack community. It has been incredible to get so much community support in this project and so many pull requests and even to our documentation. So thank you so much for supporting and believing in us. This release is for you!

All the docs have been updated in our documentation book and check out the what's new page for an in-depth overview of this release.

You can also very easily get started or update your project with TestBox via CommandBox CLI for ColdFusion (CFML):

Read More

REST2016 - Versioning Your ColdBox REST API with Modules (Runnable Example)

Brad Wood |  March 09, 2016

In our ColdBox RESTFul RoadShow this month, we've been talking about why ColdBox is the fastest and easiest ways to build a robust REST API in CFML.  One of the very powerful features of the ColdBox MVC Platform is that you can use modules to break your apps and APIs up into management chunks  instead of building a monolith.  Modules also let you decouple pieces of your application so multiple teams can work on different parts.  And with the power of CommandBox's CLI and package manager to assemble your app's dependencies, you can even store modules in a completely separate code repository!   This is exactly what we're going to demo today.

Read More

FREE DC Area ContentBox 3 Workshop in April 2016

Luis Majano |  March 08, 2016

 

Ortus Solutions is pleased to announce that we’ll be bringing a ContentBox CMS 3.0 FREE relax and learn workshop to the Washington DC area. The idea behind this workshop is to relax, have a few drinks (on the house) and learn what you can achieve with the newest version of ContentBox, a modular CMS. The relax and learn ...
Read More

Relax Version 2.2.0 Is Now Available

Jon Clausen |  March 05, 2016

Relax version 2.2.0, for Coldbox, is now available and includes a number of bug fixes and improvements.  Relax, aptly subtitled "RESTful tools for lazy experts", is a Coldbox module, which makes it easy for developers to conduct modeling, documentation and testing for their

Read More

REST2016 - ColdBox REST - BaseHandler Module

Gavin Pickin |  March 04, 2016

In our last blog post, we talked about the ColdBox REST Template, a great way to use Commandbox to spin up a REST Application Template, and get started with ColdBox RESTful services. That doesn’t work if you have an existing application, and you want to add to it. That is why we have created a easy to install Module that you can just plug into your application.

Read More

REST2016 - ColdBox REST Template

Luis Majano |  March 03, 2016

One of the newest additions to the ColdBox application templates and also the CommandBox generation templates is our REST application template.  This template will get you started with creating ColdBox RESTFul services. The best way to start with it is by downloading CommandBox, as we will use this for generation, scaffolding and as your integrated server. Then we can start working on our RESTFul service:
 

mkdir myservice
box coldbox create app skeleton=rest name=MyService --installColdBox


Once you execute these CLI commands, you will have a new RESTFul service application ready to go.  The next step is to startup an ad-hoc server and test it out:
 

box server start --rewritesEnable


This will open a browser window with the results of your first RESTFul service:
 

Read More