FarCry 4.0 introduces a revolutionary new way of developing ColdFusion applications, namely the "formtool". Formtools are a metadata-driven library of UI elements for display and editing. A couple of attributes can transform the functionality of your application. By way of example, take a look at how one line of code can add an image library to your application.
All that magic thanks to...
So what? FarCry has a CMS solution bundled with it you say -- however, what you are seeing in the video has nothing to do with the CMS plugin. It's actually a simple blog posting application whipped up to demonstrate how things work. I thought it would be nice to add the ability to relate content from the standard image, file and flash libraries that ship with FarCry core.
Having spent all this time helping to build FarCry, it's only recently am I discovering what a joy it is to build things with it.
For fun, how about I post the entire blogging bit of the code base:
- defines the table structure, and deploys to the database of my choice
- dynamically builds the entire edit handler complete with labels, ui elements, fieldsets and more (you can see it in the background of the video)
- provides basic workflow (draft, pending approved)
- adds versioning, archive and roll back for my record
- binds it to the framework categorisation engine
- adds all the image library functionality demonstrated (well actually that just a one liner but heh)
Strangely compelling this FarCry caper... Now if only we could work out a way to build cool skeleton apps, introduce complex XML config files, and force CF developers to learn OO -- then we might grow up to be a *real* framework ;)