This is a guest post by Eric Peterson.
I had a unique use-case the other day, and I wanted to share the solution with you all.
We are pleased to announce the general availability of ColdBox 4.3.0, WireBox 4.3.0, CacheBox 4.3.0 and LogBox 4.3.0. This is a minor release with some great improvements and lots of bug fixes. So let's look at the major things in this release.
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
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.
We are excited to finally announce the availability of the ColdBox 4 printed and kindle book. Enjoy!
We are so excited to announce the general availability of 5 new Ortus Books in print and kindle format about our products. We have been hard at work to produce high quality documentation and transition all our documentation to book format. We only have two more in the works right now with a target release of May (ColdBox + ContentBox). So without further ado, here are the 5 new books f...
We are proud to announce the general availability of the new WireBox 2.0.0 documentation in book format. The book can be read online and downloaded for Free for all types of readers and mobile devices. Enjoy!
ColdBox 4.0 is a major release for the ColdBox line. The most major since its original release in June 2006. To boost efficency and open up options, we've removed a lot of non-necessary items from the core installation and made them available through modular architecture instead. However, there are some thing that we've kept - and for good reason. This post discusses what we kept in the core of ColdBox 4.0 and why.
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.
In tandem with our ColdBox 4.0 release, we are publishing major releases of the core Box libraries as well: