The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'coldfusion'

 

TestBox 1.0.0 BDD and TDD Framework Released

Luis Majano
Dec 18, 2013

 

Much work and dedication has gone by these past few months in order to bring you the final release of TestBox v1.0.0.  For those of you that do not know what TestBox is, TestBox is a next generation testing framework for ColdFusion that is based on BDD (Behavior Driven Development) for providing a clean obvious syntax for writing tests. It contains not only a testing framework, runner, assertions and expectations library but also integrates with MockBox, our  mocking and stubbing library. It also supports xUnit style of testing and MXUnit compatibilities.  You can read much more detail about the release from our engineering blog and give TestBox a spin from our main downloads page.

ColdBox MVC, ColdFusion, Community, News, Releases, TestBox 0

TestBox 1.0.0 Release Candidate Arrives!

Luis Majano
Dec 02, 2013

 

We are so excited to bring you our 1.0.0 Release Candidate of TestBox.  Much work and dedication has gone through this release and a final release is imminent.  For those of you that do not know what TestBox is, TestBox is a next generation testing framework for ColdFusion that is based on BDD (Behavior Driven Development) for providing a clean obvious syntax for writing tests. It contains not only a testing framework, runner, assertions and expectations library but also integrates with MockBox, our  mocking and stubbing library. It also supports xUnit style of testing and MXUnit compatibilities.  TestBox has been released as a 1.0.0 Alpha and can be downloaded from our main downloads page and it has been also integrated into the "development" branch for the ColdBox platform as well.  You can read much more detail about the release from our engineering blog.

ColdBox MVC, ColdFusion, Community, News, Releases, TestBox 0

Webinar: Scaling CFML Applications with Couchbase NoSQL Server

Luis Majano
Oct 30, 2013

 

We are very excited to partner up with the great folks at Couchbase to bring you an awesome webinar on November 19th, 2013.  Myself, Brad and Tug will be presenting on the amazing features of the Couchbase NoSQL server and how it can be leveraged for scalability with CFML applications.  Here is a synopsis of the webinar:

Scaling ColdFusion (CFML) Applications with Couchbase NoSQL Server

In modern applications, scalability is one of the most important keys to success.  High availability requires distributed systems that can scale with load and data size.  Couchbase has been recognized to be one of the fastest and easiest to scale NoSQL databases. Ortus Solutions has developed plugins for CFML applications (powered by ColdFusion and/or Railo) and Couchbase to bring this power to your CFML applications.  

Many modern applications are using NoSQL document stores for rapid development and flexible data models.  Many data needs can be satisfied by storing JSON documents that allow for on-the-fly modifications.  You can index JSON documents of any structure using map reduce functions, and execute queries against them.  Couchbase will bring both scalability, flexible data models and much more to your CFML applications.

In this webinar you'll see:

  • Overview of Couchbase Server and NoSQL Document store
  • Overview of ColdFusion (CFML) Applications
  • Distribute Java EE sessions with Couchbase Railo Extension
  • Leverage NoSQL JSON Document store from CFML
  • Leverage Couchbase as a distributed cache from any CFML application.

 

 

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, Couchbase, News, Presentations, Training 0

TestBox - CFML BDD/Unit Testing Framework Has Arrived!

Luis Majano
Oct 15, 2013

 

We are so pleased to bring you another addition to our Ortus product lineup: TestBox.  TestBox is a next generation testing framework for ColdFusion that is based on BDD (Behavior Driven Development) for providing a clean obvious syntax for writing tests. It contains not only a testing framework, runner, assertions and expectations library but also integrates with MockBox, our  mocking and stubbing library. It also supports xUnit style of testing and MXUnit compatibilities.  TestBox has been released as a 1.0.0 Alpha and can be downloaded from our main downloads page and it has been also integrated into the "development" branch for the ColdBox platform as well.  You can read much more detail about the release from our engineering blog.

ColdBox MVC, ColdFusion, Community, News, Releases, TestBox 0

Ortus at CFCamp 2013 - Munich

Luis Majano
Oct 01, 2013

 

We are excited to be part of CFCamp 2013 for the third year now.  This is truly an awesome conference with over 26 different sessions, amazing speakers and of course it is hosted in one of my favorite cities in the world, Munich! So head over to their registration and get registered now as this event is around the corner.  You can use our discount code "CFCoBox" and get an extra 10% off.

We will be present at the conference and will be holding an awesome session on our latest product: ContentBox Modular CMS.  So stop by our booth and come and say hi, you might just get some fancy shwag if you do!

ColdFusion, Community, Events, News 0

Couchbase: Ortus Railo Extension

Brad Wood
Aug 28, 2013

 

So far in this series, we’ve introduced you to Couchbase Server and showed you how to set up a cache cluster.  Then we covered using that cluster as an ORM Secondary Cache as well as connecting to it through our open source CacheBox Provider.  Today, we’re going to show how to get the deepest integration yet for those of you running Railo’s Open Source CFML server via our upcoming Ortus Railo Couchbase Extension.  Our extension will allow you to leverage Couchbase directly from Railo as a caching engine, but also as a storage container for session or even client scope variables.  The extension also introduces several native ColdFusion functions that will allow you to interact with Couchbase directly from CFML code for your NoSQL or Caching needs. So let's get to it and start off by introducing our extension.

Capabilities

Caching

CFML has a set of cache-related functions that allow you to set and retrieve objects from an application cache.  Adobe ColdFusion uses EHCache, an in-process Java caching solution.  Railo, the open source CFML engine, also can use EHCache, but they went a step further and introduced a pluggable cache architecture that allows you to write a Java adapter class that will connect to any underlying caching engine; much how CacheBox works but right into the engine. 

Session/Client Storages

Railo also allows these caches to be used for session or client storage as an added bonus.  This is extremely handy if you have a farm of load balanced web servers and you want to use session storage without using session replication or enabling sticky sessions on your load balancer.  By configuring your session storage to use an out-of-process distributed cache you are allowing your site to scale out easily since the application servers won't be taxed with storing session data for all your users in their in-process heap.  It will also allow for your session information to survive server restarts and provide a much better user experience for your application.  Lastly, it can allow your load balancers to run round-robin algorithms instead of the typical sticky session approach.  This will bring a much more stable cluster farm where load can be distributed evenly and without user segregation.

Native Integration

Couchbase is not only an amazing caching solution but also a NoSQL database, as we have seen throughout our series.  Having the capabilities to interact with it easily via CFML was our next step of introducing several native CFML functions thanks to Railo's extension architecture.  This is where we come in.  We here at Ortus Solutions have developed a commercial extension for Railo Server that adds Couchbase support for the native cache functions, as well as query/template/function caches, session/client storage and native CFML functions for NoSQL integration.  This extension is built on top of the Couchbase Java SDK and truly gives you low-level access to the power of Couchbase Server.

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, Couchbase 0

Couchbase: CacheBox Integration

Brad Wood
Aug 16, 2013

 

In our previous posts, we covered how to get Couchbase installed and set up your first cluster.  Then we showed you how to use Couchbase for an ORM secondary cache.  Now it’s time to showcase our Couchbase CacheBox provider that we released just a few days ago.  This is a CFML provider that uses the Java SDK for Couchbase and lets you create one or more named caches in CacheBox that connects to one or more buckets in a Couchbase cluster.  Once you connect up CacheBox, you can seamlessly also store ColdBox Platform cached events/views in Couchbase along with anything else you use the CacheBox API for.  So basically you have full Couchbase storage capabilities from ColdBox and non-ColdBox applications.  Let’s get started!

ForgeBox and Code

The CacheBox Couchbase provider does not ship with the ColdBox core, but can be found in our community repository; ForgeBox.  You can use this provider in any installation of CacheBox that is bundled with the ColdBox Platform, or in a standalone installation.  Here’s some handy links for you:

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, Couchbase 1

Couchbase: Secondary ORM Configuration & Setup

Brad Wood
Aug 07, 2013

 

In our first two posts, we covered how to install Couchbase server and get a cluster up and running.  In this post we are going to put that cluster of yours to use and show you how to configure it as an ORM secondary cache provider for your ColdFusion applications.  

 

Please remember that the installation instructions are pretty much the same for Adobe ColdFusion and Railo CFML.

If your “cluster” is still just a single server, don’t worry.  The size and configuration of a Couchbase cluster is seamlessly invisible to the connecting client.  Meaning you can grow and scale your cluster without changing your setup/connection code.

At this point in time, there is no Couchbase-specific library for a Hibernate secondary cache, but luckily for us, Couchbase is compatible with the memcached protocol, so we can use the memcached library.  The only drawback is that if you are connecting on the standard port of 11211 to Couchbase, the library will only be able to connect to the “default” bucket.  To use a named bucket for your ORM Secondary cache, you will need to assign the Couchbase bucket you create to a unique port number with NO password when you create it in Couchbase Administrator application.

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, Couchbase 0

Couchbase: Cluster Setup + ORM Secondary Cache Introduction

Brad Wood
Jul 31, 2013

 

This is our second part of our Couchbase and CFML series that we started last week.  In our first post, “Installation and Introduction to Couchbase” we talked about Couchbase Server, how to install it, and how it can help create a fast and scalable caching layer for your applications.  Today we’re going to talk about setting up a Couchbase cluster and look at our first use for it: as a Hibernate secondary cache for ColdFusion ORM.

Horizontal Scalability


 

In our previous post we set up a very simple cluster of only one node.  Let’s look at how Couchbase lets you expand your cluster horizontally as your needs increase.  A cluster can have as many nodes as you want, seriously!  All nodes in a cluster will be exact copies of each other in regards to their buckets and even their configuration.  When you set up the first node, you will choose how much RAM you want for each node in that cluster to allocate itself.  You can only add a new node to the cluster if it has enough RAM to allow for the node size specified in the cluster at setup.  Therefore, the total amount of RAM in the entire cluster will be the node size times the number of nodes.

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, Couchbase 1

ColdBox Platform, ColdBox LITE and Library Releases

Luis Majano
Jul 10, 2013

 

It has been a busy past few months here at Ortus Solutions and we have some cool new stuff to share with the world today.  We have updates for all our major open source libraries this week. Some are minor releases and some are cool enhancement releases thanks to everybody's feedback and contributions.  You can find much more about the releases in our ColdBox engineering blog or in our online documentation wiki:

We have lots of other cool stuff coming soon so stay tuned!

CacheBox, ColdBox MVC, ColdFusion, Community, ContentBox CMS, LogBox, News, Releases, TestBox, WireBox 0