“Transitioning from WordPress to ContentBox: A Powerful ColdFusion Alternative”
Are you a web developer tired of working with WordPress and its limitations? Look no further than ContentBox, a robust, open-source ColdFusion-based content management system built on the powerful ColdBox framework. While WordPress is popular due to its ease of use and extensive plugin ecosystem, it can sometimes fall short in terms of scalability and security. With ContentBox, you can enjoy the flexibility and stability of ColdFusion, a language we all know and love.
This session will introduce you to ContentBox CMS, what it is, what you can do with it, and why you should consider ContentBox for your next ColdFusion project. We will also compare it to WordPress and show why you would want to use ContentBox instead. Finally, we will discuss modern hosting options and how you can get up and running with a ContentBox site in the cloud using Digital Ocean.
3. Other Awesome Presentations!
• Best Practices for Securing your Secrets and Settings in ColdFusion
○ 10/2 @ 2pm in Grand Ballroom E
○ Gavin Pickin
• Battlefield ORM : Learn the strategies and tactics to win with ColdFusion
ORM powered by Hibernate!
○ 10/3 @ 9am in Grand Ballroom D
○ Luis Majano
• Automating CFML from the CLI with Task Runners
○ 10/3 @ 4:15pm in Grand Ballroom BC
○ Brad Wood
4. Daniel Garcia
Who Am I?
• Senior Developer at Ortus Solutions
• Help co-Host the Modernize or Die podcast
• Been using ColdFusion since 1999 (version 4)
• Cinephile (loves movies)
• Regaler of useless knowledge (loves trivia)
• Part-time, non-traditional grad student
(New Mexico State University - Go Aggies!)
7. • Started as a blogging tool in 2003
• Built with PHP and uses MySQL
• Open Source software
• Evolved into a CMS
• Approx 810 Million WordPress sites*
• Current version is 6.3
• FREE!
*According to colorlib.com
What is WordPress?
8. • Huge number of themes available
• Huge number of plugins available
• Non-technical users can manage content
• Many hosting options
• Cheap to host
• Many hosting companies make it easy to
install it (one-click installers)
• Many people know how to work with it
Advantages of WordPress?
9. • You must add plugins for many features
• Too many plugins can slow down the site
• May not have the best quality code
• Many sites have to be updated regularly
• Many security issues
• Hackers target WordPress sites
• Lack of knowledge to properly secure sites
• Many plugins get abandoned
• Must know PHP to do custom development
Drawbacks of WordPress?
10. • It’s cheap to host
• I can set it up quickly
• I don’t need to do any custom
development
• There are some nice themes available
○ Avada is my favorite
• The sites I use it for don’t need many
resources or custom development
Why do I sometimes use WordPress?
11. • If there is any custom development to do
○ I’m a ColdFusion Developer!
• If the client is paying more
○ They often want custom solutions
• If the client needs a more robust site
• If the client needs to be most secure or
scale both vertically and horizontally
○ WordPress professionals can do
that, but I am a CF Professional!*
When would I not use WordPress?
* Adobe ColdFusion Certified Professional (CF Summit 2022)
13. • Modular Hybrid CMS
• Professional Open Source (Apache 2)
• Built on ColdBox HMVC*
• Hibernate ORM
• Powered by CFML
• Deploy on any Java Server
• 2015 - 30+ Releases
• v5.x Series
• FREE!
*HMVC = Hierarchical Model View Controller
What is ContentBox?
14. Any CFML Engine
Any OS
CommandBox WAR
Any Java Server
Express
Self-Contained
Embedded Database
USB Sticks
Container
Anywhere Docker
Images Are Accepted
Deploy Anywhere!
15. Modularity Via ColdBox Modules
Any ColdBox MVC
application
Events
Custom
Security
Modules Model
ContentBox
Admin
ContentBox
UI
ContentBox
Core
Forum eCommerce
API Custom App
COLDBOX MODULES
ContentBox
API
21. Multi-Site
• Manage one or thousands of sites
• Detection
• URI
• QueryString
• Header
• Copy/Move content between sites
• User assignments
• Staging and Production in one box
22. Hierarchical Headless Content Store
• More than pages and blogs
• Hierarchical content store
• Core for headless operations
• Multiple publishing techniques
• Expressive API for consumption
• Power any web app
23. Headless CMS
• Expressive RESTFul API
• Secure JWT Clients
• Powered by ColdBox Security (PBAC)
• Permission Based Access Control
• Completely Documented
• Connect to pages, blog or the content store
• Deploy as a single module
• Consume from ANY language
PH
P
24. Headless CLI
• Built on CommandBox
• Install ContentBox on
• Any CFML Engine
• Any Database
• Update ContentBox
• Create modules, widgets, themes
• Connect to your headless instances
• Manage many API endpoints
• Manage any ContentBox instance
• Publish/Consume content
25. High Focus On Security
DMZ
ContentBox UI
ContentBox REST
Database ContentBox Admin
Reporting Security SAP
Modular Deployment
26. Search All Things
• Built-in Database Search
• ElasticSearch Integration
• Index blog, pages, content store
• Index media documents
• PDF, word, images, etc
• Search via themes
• Search via the ContentBox API
28. Cache All Things!
Models
Singletons
ORM Caching
Settings
Metadata
Content
Translation
Content
Markup
Mediawiki
Markdown
Custom
Content
Output
Final HTML
Output
Similar to
Varnish
RSS Feeds
Created on
Demand
29. Many More Features…
Layout manager for easy style switching
Page exports: json, pdf, word, html
Real live editor previews
Responsive previews
Reusable Widgets
Markdown Native Support
Two-factor authentication
Add custom global HTML, CSS or JavaScript easily
Event driven hooks for almost anything
Provide UI settings for any custom layout themes
Template hooks for applying your styles dynamically
Ability to apply mobile layouts to content objects
Layout and content inheritance
Ability to easily view and code widgets in the editors
WYSIWYG Editor with media content management
30. • Cloud Hosting
• Infrastructure as a Service (IaaS) Provider
• Alternative to AWS and Azure
• Droplets are small VPSs (Linux Only)
• Can run Docker
• Has Marketplace with many images
• Can cost as little as $6 per Droplet
○ May need more resources
depending on app
What is Digital Ocean?
31. • Low cost to get started
• Predictable pricing
• Quickly spin up environments
• Roll your own or use managed services
○ Database server
• Less complicated than AWS*
• Marketplace can get you up and
running within minutes
• Want to learn more or have better
control with your hosting
Why use Digital Ocean?
*Although simpler than AWS, there is still a learning curve.
32. • More complicated than managed
solutions
• Learning curve to get started
• Managed solutions offer several valued
added services
○ Mail, Bundled licensing, Support
• Someone else can support your server
• Several conference Sponsors to talk to!
• Cost vs Convenience!
Why NOT use Digital Ocean?
33. • Create an account!
○ tinyurl.com/trydo
○ Get $200 credit for 60 days!
• digitalocean.com
• docs.digitalocean.com
• digitalocean.com/community/tutorials
How to get started with Digital Ocean?
34. • Can start with a Droplet and install
CommandBox…OR…
• Use Docker!
• Ortus Docker images
○ hub.docker.com
○ ContentBox
○ CommandBox
■ If you want to install it yourself
or have other ColdBox apps
ContentBox on Digital Ocean?