Archive for the ‘Community’ Category


TodoMVC Implementation with CFWheels and HTMX

Recently I’ve been playing around with HTMX and really starting to love it. So what is HTMX? From their website:

htmx gives you access to  AJAXCSS Transitions,  WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

Introduction to htmx

And also:

Why should only <a> and <form> be able to make HTTP requests?
Why should only click & submit events trigger them?
Why should only GET & POST methods be available?
Why should you only be able to replace the entire screen?

By removing these arbitrary constraints, htmx completes HTML as a hypertext

Motivation behind htmx

So what does this all mean? Well, in its simplest form, it means being able to build modern web applications with the UX that users have come to expect, with the HTML, CSS, and the backend technology of your choice which in our case is CFML and CFWheels.

So I decide to see if I could build the TodoMVC project using no hand written JavaScript and only relying on HTML, CSS, and CFWheels. I downloaded the template project and took a look at the application specs to get an idea of what to implement.

Here is the video of the running app:

So if you want to run the app locally, you’ll need to have Commandbox installed and the CFWHeels CLI commands for CommandBox installed as well. With those two items taken care of, launch a CommandBox and issue the following commands.

wheels g app name=todo datasourceName=todo template=cfwheels-todomvc-htmx --setupH2
package install
server start

Let’s look at those lines and talk about what they do. The first line wheels g app will download the template app from Forgbox.io and create a CFWheels application and name it todo. It also create a H2 database and configures the datasource for you. The next line will install all the dependencies of our app. These include, a few CommandBox modules to make development easier, the CFWheels core framework directory and place it into the wheels folder, and install the H2 drivers into our Lucee server for out application. The last line will start our Lucee server. I’ve also added a setting to automatically run the Database migrations on application startup so the database schema is created.

You can checkout the code on GitHub. Let me know what you think.

EDIT: The Lucee server that starts up will have cfwheels set as its admin password.

Changing of the Guards at CFWheels

Hello everyone,

I was waiting to have more of my thoughts and plans ironed out before posting this message, but due to the intense interest from the community I’ve decided to post what I have, however premature.

As many of you know we have had some changes in the CFWheels core team. Several of the core team members, have decided to reduce their level of administrative involvement in the project and have stepped down from the core team. I have volunteered to take the reins of the project and we are in the middle of passing the baton as it were.

So what does this mean for the CFWheels project? 

Well, the fact that there is a transition in place at all, means the project will continue to live on. The CFWheels project has been around since 2005 and during that time different individuals have held the reins and guided the project along. This time is no different. I hope to be as worthy of a steward as those that have come before me.

So what are my thoughts for the future of the project?

From an administrative perspective I want to see what structure to adopt. Whether it is the core team structure we have had in the past or perhaps a more advisory committee structure would be better. We need to take stock of all the code in flight at the moment and try to get a roadmap sketched out. Setting up a funding structure for the project vis-á-vis Patreon.com, IssueHunt.io, BountySource.com, or OpenCollective.com. And finally looking at the legal structure of the project and if there is a need to formalize that by creating a LLC or 501.C corporation. 

At this point I have more questions than answers but I welcome your feedback and look forward to your support. 

CFWheels on CF Alive

David Belanger and Tom King from the CFWheels core team chat to host Michaela Light on the CF Alive Podcast! Have a watch/listen and share far and wide…

You can view the original post on the TeraTech website here 

Core Team Updates

Thanks to Per & Chris

Over the past ten years we’ve been very lucky to have some great developers being part of the CFWheels core team. Unfortunately every now and then, we have to let people move on to other things as their jobs or circumstances change, and sadly we’ve had to say goodbye to Per Djurner (@perdjurner) and Chris Peters (@chrisdpeters) recently.

Both have contributed massively to CFWheels over many years: I think there are a lot of people who can blame Chris for his original series of screencasts getting them hooked (myself included!) on Wheels, and I’d wager that every CFWheels user has benefited from Per’s knowledge and guidance; both of them will be missed – a huge thank you to both of them.

Welcome to David & Andy

We’re pleased to announce that David Belanger (Github/dbelanger) and Andy Bellenie (Github/andybellenie) have agreed to join the Core team. Andy used to be on the team a few years ago, and brings lots of years of CFWheels experience with him. David joins us from Argentina (and occasionally Canada), making us a highly international group, with Tom & Andy in the UK and Adam over in Australia (unfortunately, with very few timezone crossovers!). It’s fantastic to have them on-board.

Up Next

Our next milestone is finishing up a 2.1 release: Please check the 2.1 Milestone to hear about upcoming features such as improved CORS headers, and also check the Changelog for all the bug fixes and improvements already implemented since 2.0.1. 

10 years of CFWheels / Welcome Adam / CFWheels 2.x

A bit of history:

It’s slightly hard to put an exact date on it, but this year (probably) celebrates 10 years of CFWheels!

Obviously, in the internet age, 10 years is an awfully long time. The first mention I can find if from Pete Freitag’s “Get Wheelin” blog post celebrating CFWheels 0.1 in November 2005. Rob Cameron, the original author moved over to Rails full time a few years later: you can catch up with him at http://ridingtheclutch.com/. Over the years there have been a lot of contributors – whilst our GitHub repo hasn’t quite got that (very) early history, since Jul 23, 2006, we’ve had:

  • 2825 commits (Per Djurner has the dubious claim to fame of the first commit, and at time of writing, the most recent too :))
  • 22 Branches
  • 43 Releases
  • 76 forks
  • 453 issues

Whilst there was a “bit of a break” around 2012/13, Wheels has been going from strength to strength. Contributors have changed and moved on, and so have core team members. Our thanks go out to all of them!

Welcome Adam!
We’re very pleased that Adam Chapman (@chapmandu) has agreed to join the CFWheels core team! He’s been a long-time supporter of wheels, we’re very glad to have him on board. We expect great things AC…. great things. 🙂 You can find Adam’s blog here.

CFWheels 2.x:

Lots of chat at the moment about the next major release of CFWheels – please do get involved on the Google group if you’ve got ideas. At the moment, amongst lots of micro improvements, we’re looking at:

  • integrating the ColdRoute plugin into the core:  ColdRoute allows you to define RESTful resources through new expressive routing helpers and controller conventions. It also allows you to organize controllers and views into subfolders via “namespaces” or “modules.”
  • improving wheels as a true RESTful service provider: you can already return JSON, XML and lots of other good stuff, but we’re looking to improve things like setting custom headers, and really controlling your APIs response
  • improving the plugin architecture, and generally looking a more “modular” way of doing things.
  • dropping CF8/9 support; dropping Railo (as you should all be on Lucee now!!)
  • better Commandbox support: we’ll be looking at CLI type stuff to make getting going with wheels even quicker.

Got an idea? Get on the Google Group and let us know!

Andy Bellenie to speak at Scotch on the Rocks 2013

Core team member Andy Bellenie is presenting at the Scotch on the Rocks conference this year, held 6-7 June in Edinburgh, Scotland.

There’s an great set of speakers lined up, including Ray Camden (Adobe), Luis Majano (Coldbox), Matt Gifford, Mike Henke, Bruce Lawson (Opera), Guust Nieuwenhuis and many more, not to mention Andy Allan and the guys from Fuzzy Orange who make it all possible.

Andy will be presenting a talk on the use of mindfulness-meditation as a technique for both professional and personal development. He’ll also be flying the flag for CFWheels at the conference and will run a BOF session for newbies and pros alike.

More info on his talk can be found here: http://www.sotr.eu/index.cfm/main/presentation/by/andy_bellenie

And the main conference site is here:
http://www.sotr.eu/

Welcome Don Humphreys to the core team

Please join me in welcoming Don Humphreys to the Wheels core team. Don has certainly grabbed our attention over the past few months with development of the CFRel and ColdRoute plugins, which bring some significant Rails 3 features to Wheels.

Congratulations Don! We’re looking forward to your contributions to the project.

You can follow Don on GitHub as dhumphreys and Twitter as @dhumphreys88.

ColdFusion on Wheels is moving to GitHub

On Sunday, January 23, the Wheels project moved its source code hosting to GitHub. You can now browse to the cfwheels repository on GitHub, fork it, and watch it for updates—all from your GitHub dashboard.

This is only for the source code as we will still be using Google Code for issue tracking and documentation for the time being. (more…)

Wheels Blog Badges, Wallpaper, and Free T-Shirts

ColdFusion on Wheels will be giving away a limited number of How’s My Coding? t-shirts at cf.Objective. In the spirit of upcoming conferences and love for Wheels, Chaz Chumley has made How’s My Coding? wallpaper and blog images.

cf.Objective(), April 22-24, and CFUnited, July 28-31, will have Wheels sessions so register, attend our sessions, and say Hi. (more…)

T-shirt and Hosting Giveaways at CFUnited 2010

Representatives from the ColdFusion on Wheels community are mingling around at CFUnited 2010, which was just kicked off by Adobe’s keynote. If you’re around at the conference, come say hi to myself, Mike Henke, and Chaz Chumley.

The 3 of us will be giving 3 different presentations about Wheels on Thursday afternoon:

If you run across us, we’re giving out some awesome t-shirts designed by Raul Riera and his dev shop, Hipervinculo. (more…)