Blog

ContentBox 3 - Extending ContentBox 3 easily with Modules

Gavin Pickin |  May 16, 2016

I can see the light at the end of the tunnel. ContentBox 3.0 has been a massive project, with so many changes and features, its really exciting to be a part of it. The good news, the testing is almost all done, we're going to cut a final release very soon. This means I have a lot of great things to blog about, and if you want a front seat to a full tour, you need to make sure you are coming to Into The Box (Ortus Solution's very own 1 day 2 track conference), June 14, 2016, in Minneapolis University of St Thomas, MN. USA - the day before Dev.Objective().

Note: You should attend both of these Conference, they are great, and the Ortus Solutions and ColdBox team will be giving several presentations at Into The Box and Dev.Objective()). They are great learning & networking events, hope to see you all there.

Read More

Spec Data Binding in TestBox

Luis Majano |  May 06, 2016

This issue has comed up several times in our mailing lists, so why not expand a little with a blog post.

The Problem

Many developers working with TestBox love the BDD approach to spec design. Once they get familiar with the syntax they start getting funky! It is just natural! Since they are coding within a CFC they decide to create dynamic it() or specs by iterating o...

Read More

CommandBox v3.1.0 Beta Ready For Testing

Brad Wood |  May 05, 2016

We are excited to announce availability of CommandBox v3.1.0 Beta for testing and feedback.  Our goal is to have this released in time for Into The Box so that means we need you to help get it stable and ready to go.  There are a collec...

Read More

Win a FREE pass for Into The Box 2016 Conference

Luis Majano |  April 27, 2016

Adobe Sponsors a FREE Conference PASS

Thanks to Adobe, we just announced a cool little developer contest and you can win a FREE pass to this year's Into The Box Conference - June 14th, 2016 in Minneapolis. Just check out the official Contest Entry, Code, and Win!

...
Read More

ColdFusion Summit 2016 Training Bootcamp

Luis Majano |  April 20, 2016

  

 

 

We are so excited to bring our Box training series back to this year's Adobe ColdFusion Summit on October 8-9th, 2016 at the Mand...

Read More

ColdBox 4.2.0 Released!

Luis Majano |  April 01, 2016

We are excited to announce the general availability of ColdBox 4.2.0. This release includes tons of fixes but also great new features and speed improvements. If you have CommandBox installed, you can upgrade now by just typing: box update coldbox or get started with a new ColdBox app by typing: box coldbox create app --installColdBox.

 

 

Here is a synopsis of the major feature updates and improvements in this release.

Read More

Making a live edit contact list with Coldbox REST & Vue.js

Scott Steinbeck |  March 28, 2016

Today we will be making a contact database that you can quickly and easily manage using ColdBox and Vue.js. We will be using bootstrap in our project to make it the UI look a little better but it is completely optional if you want to use this in your own project.

For this project I will be using CommandBox to generate all my files.

TL;DR: View the repo here

Lets Begin.

Step 1: You can skip this step if you already have a project set up. 

From CommandBox run:

coldbox create app name=CBVue skeleton=rest --installColdBox

This will give us a minimal project with a handlers\BaseHandler.cfc (needed to make our life easy when creating a REST API) and an handlers\Echo.cfc which is an example usage to get you started.

Now that we have our project started we need to tweak a few things.

First, since this is a template that is expecting to be setup for REST only, the Echo.cfc is set to be the default entry point. Since we want to create a view that accesses a REST API we need to point that to a view.

Read More

REST 2016 - Testing your API with Jasmine

Gavin Pickin |  March 25, 2016

Are you writing APIs? Going to start writing APIs? Now is the time to start testing. Sounds familiar, it should, because you’ll be hearing that a LOT. Do it early, and often, and reap the benefits as the project grows. Whether you are using CFML or not, TestBox is a great way to test your APIs, like I showed you in a previous blog post. Today, we’ll look at Jasmine, and see how you can test your APIs with Javascript… and a couple of “gotchas” I ran into as well.

Read More

REST2016 - Route Conditions

Luis Majano |  March 23, 2016

Sometimes when you define an incoming API route, you want it to match certain environment or aspect conditions. The addRoute() has an argument called condition, which can be a closure or UDF pointer that must return a boolean and receives the incoming requestString. You can then decide if the route should execute or just be ignored.

So if a route matches via the pattern, then this closu...

Read More

Building Ionic Apps with ColdBox REST

Scott Steinbeck |  March 22, 2016

Are you ready to enter the exciting world of app building? In today's world, 60% of people are viewing your website on a mobile phone most sites are hard to navigate.  People constantly ha...

Read More