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.
Blog
REST2016 - Route Conditions
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...
Building Ionic Apps with ColdBox REST
![]() |
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... REST2016 - Testing your API with TestBox
Are you writing APIs? Going to start writing APIs? Now is the time to start testing. Do it early, and often, and reap the benefits as the project grows. TestBox, the defacto CFML test suite, can help your test your API, whether it’s CFML or not. I will assume you have the basic TextBox installation setup. A Developer Walks in to A Pub... - Conversations with an API
ReSTful web services are the rage. APIs for public consumption are everywhere and developers are being tasked daily with the chore of implementing new ones, and ColdBox has a fantastic set of tools for helping you to do just that. As developers, though, we often fall in to the trap of thinking of API's only in terms of delivering data when, in reality, with a bit of foresight and architectural planning, we can create API's that enable conversations with our consumers. REST2016 - Route Responses
You can route responses inline with ColdBox via the
The Ortus PDF v1.0.0 Lucee Extension Released
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. OverviewThe 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.
REST2016 - Creating Sub-module URL entry points
In this entry I will go over how to leverage ColdBox's Modular architecture to RESTFul routing.
In ColdBox, every module's 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
REST2016 - Introduction to RESTful Tools - Coldbox Relax
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. TestBox v2.3.0 Released!
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): |

