Blog

Luis Majano

March 11, 2021

Spread the word


Share your thoughts


Today is a majestic day! A day that brings the release of our very first beta for ContentBox 5! This release has been in development for over 6 months and its a major architectural shift from our previous versions; multi-site support. You can now migrate over your Mura CMS applications with ease to ContentBox knowing that multi-tenant support is now available for all, for FREE, FOREVER!

Here is our what's new guide with our full release notes: https://contentbox.ortusbooks.com/intro/release-history/whats-new-with-5.0.0

I will be covering the major features in this introductory blog post.

Upgrading From 4.x

We are creating the migration guide right here: https://contentbox.ortusbooks.com/intro/release-history/upgrading-from-v4.x

Please bear with us as we continue to update it as work progresses.

Getting Started

To get started with ContentBox, you can easily do via CommandBox CLI CommandBox and the following commands:

mkdir mysite --cd
install contentbox-installer@5.0.0-beta-snapshot
server start

This will create a new site for you and startup a server so you can work with your site.

Tip: Check out our Installation guides for much more installation variations.

Major Features

ColdBox 6 Core

We have upgraded our core to ColdBox 6 and we have received a tremendous amounts of benefits (https://coldbox.ortusbooks.com/intro/release-history/whats-new-with-6.0.0). Here are some of the features we get with this upgrade:

  • Performance, performance, performance. ColdBox 6 has been finely tuned to make your applications much more performant and stable under high load.
  • Better new CFML engine support
  • Asynchronous programming. We have introduced the concepts of the async package to the core and ContentBox will leverage more of these features for background job processing, automation and much more.
  • New logging facilities and enhancements
  • Better exception handling for developers
  • REST Handlers and highly performant REST Routing
  • Singleton View Rendering. You will find that all renderings are way faster than before.
  • Much more!

CBSecurity 2

 

We have migrated our cbsecurity module to the latest version to give you a wealth of features (https://coldbox-security.ortusbooks.com/intro/release-history/whats-new-with-2.0.0) such as:

  • Fortified rule engine
  • Annotation based security engine
  • JWT support
  • Security Services
  • Cross site request forgery support

Multi Site Support

 

This has been one of the most requested features and we where hesitant for many years to comply due to the size of the needed refactoring. However, we have finally created a great base for making ContentBox multi-tenant. You can now configure 1 or 10000 sites under the same ContentBox umbrella. The new installer actually creates two sites for you: a development/staging site and a production site. That means that you can manage different content environments all under the same deployment.

 

 

Here are some of the features you get with multi-site ContentBox:

  • Ability to register an infinite number of sites
  • Site detection by regular expressions or patterns on incoming URIs
  • Site detection by header identifier if using the headless cms or reverse proxies
  • Each site can contain its own
    • Categories
    • Blog
    • Pages
    • Content Store
    • Menus
    • Commenting System
    • Themes
  • Admin site switcher
  • Admin site control bar
  • Clone content or entire content hierarchies from one site to the other
  • Publish content directly to different sites
  • Move content between sites
  • Much more coming soon.

 

 

 

 

Admin UI Revamp

 

 

The entire admin UI has been revamped and streamlined. You will find it much more breathable and easier to work with especially from mobile devices and smaller screens. We are also starting to prepare a major theme change and customization that might be introduced in the final release or scheduled for a minor update.

 

 

PostgreSQL Support

 

 

We have completely changed our ORM structures and custom queries so it can be friendlier to other RDBMS. In this release we focus on portability of the host database and finally have core PostgreSQL support.

Performance

We have analyzed the entire ORM structures, queries and CFML code in this release thanks to FusionReactor's Profiler. We have streamlined the way the CMS loads and the results are impressive. The first load of ContentBox is about 70% faster than ContentBox 4. Along page executions with around 30-40% faster executions.

No More Admin Auto Updates

This is such a controversial feature to be able to deliver patches via the admin. We have completely dropped the capability to patch the CMS from within the CMS. It caused more issues than it solved and in Windows it was pretty much impossible.

We have moved to a CommandBox + Migrations approach and the results are amazing. No more broken installs, half done db updates and more. Now you can simply run two CLI commands and be done with it. Here is a typical flow for updating your system:

# stop the server
stop
# Update ColdBox and ContentBox
update coldbox,contentbox
# Run Migrations
migrate up
# start it up again
start

Add Your Comment

(3)

Mar 11, 2021 23:38:44 UTC

by Will B.

Wonderful news, gang! You guys definitely rock it out with these products! Can't wait to take advantage of this and Coldbox 6!

Mar 12, 2021 09:24:17 UTC

by Damien Bruyndonckx

Thanks for the awesome work you're doing. This new version looks fantastic and new features are very relevant to me. Would this multi-site feature be one possible approach for multi-lingual sites? If not, what would you recommend to make a site multi-lingual?

Mar 12, 2021 15:06:47 UTC

by Luis Majano

Thank you Damien! Yes, this can totally be an approach since each site can be identified even by URL patterns. So when you register a site you can register two URL patterns like so: ``` mysite.com\/en mysite.com\/es ``` ContentBox will detect the full incoming URI. So you can add any URI convention for multi-lingual. I also encourage you to visit our community for further questions and development help https://community.ortussolutions.com/c/communities/contentbox/15

Recent Entries

ColdBox 7.2.0 Released

ColdBox 7.2.0 Released

ColdBox, a widely used development platform for ColdFusion (CFML), has unveiled version 7.2. Packed with compelling new features, bug fixes, and enhancements, this release is designed to empower developers by boosting productivity, refining scheduled task capabilities, and enhancing the overall reliability and efficiency of application development. This article will delve into the key highlights of ColdBox 7.2 and elucidate how these advancements can positively impact developers in their daily coding endeavors.

Luis Majano
Luis Majano
November 20, 2023
Into the Box 2023 Series on CFCast

Into the Box 2023 Series on CFCast

Excitement is in the air as we unleash the highly anticipated ITB 2023 series exclusively for our valued CFCast subscribers – and the best part? It's FREE for CFCast members! Now is the perfect time if you haven't joined the CFCast community yet. Plus, we've got an incredible End-of-Year deal that's too good to miss

Maria Jose Herrera
Maria Jose Herrera
November 20, 2023
Ortus Deals are Finally Here!

Ortus Deals are Finally Here!

The much-anticipated Ortus End-of-the-Year Sale has arrived, and it's time to elevate your development experience! Whether you're a seasoned developer, a tech enthusiast, or someone on the lookout for top-notch projects, Ortus has something special in store for you. Brace yourself for incredible discounts across a wide array of products and services, including Ortus annual events, books, cutting-edge services, and more.

Maria Jose Herrera
Maria Jose Herrera
November 15, 2023