Public beta of next versions of ColdFusion Server (code named Splendor) and ColdFusion Builder (code named Thunder) were released yesterday on Adobe Labs. I have been closely involved with implementation of some of the features in both Splendor and Thunder, specifically Mobile features in Splendor and editors in Thunder.
Splendor and Thunder together provide a complete workflow to create HTML5 Mobile applications – you can easily develop, test, debug and package applications for mobile. I have created a short video to explain this workflow with a simple example, and this video is available on adobecoldfusion channel on YouTube.
[On adobecoldfusion channel you might see two videos on mobile – 1. Getting Started with ColdFusion Mobile in Splendor 2. ColdFusion Mobile Workflow in ColdFusion Splendor. The first video is a subset of the second one and does not cover test and debug workflow.]
When you create mobile application using ColdFusion, you write code in CFML. Now we have tow versions of CFML – 1. server side 2. client side. Client side CFML must be enclosed in <cfclient> tag. All the basic CFML language constructs and data types are supported in the client side CFML. Some of the very useful tags are also supported in cfclient – like cfquery, cfoutput, cfsavecontent etc.
If you want to quickly try out how all this works, download ColdFusion Thunder (IDE). You will need to sing-in with Adobe ID before you can download the build. Go to ‘ColdFusion Builder Project Thunder’ section towards bottom of the page and download the build for your platform.
Note that ColdFusion Thunder now comes packaged with a default server, so you need not download ColdFusion Splendor separately.
- Download the SimpleExpenseTracker project that I explained in the video and unzip it in the wwwroot folder of the detaultServer that is packaged with Thunder. Location of this folder is <thunder_install_folder>/Applications/CFBThunderBeta/ColdFusion/cfusion/wwwroot
- In Thunder (CF Builder), go to File->Import menu and in the Import wizard, select ColdFusion->Import existing Projects
- Browse to the folder where you unzipped expense tracker project and select that folder e.g. <thunder_install_folder>/Applications/CFBThunderBeta/ColdFusion/cfusion/wwwroot/SimpleExpenseTracker
- In the project list you will see expense tracker project selected. Click finish
- Once you import the project, you need to associate CF server with it. Make sure ‘defaultLocal’ server (in CF Servers view) is running. If not, click on the server and then click ‘Start Server’ icon.
- Right click the project in the Navigator view and select Properties from the pop-up menu.
- Go to ColdFusion Server Settings and select ‘defaultLocal’ from the servers drop down list and click OK.
Because this project does not use any device APIs (like for Contacts, Camera etc.), you can run this application in Chrome/Safari desktop browser. Note that this will not run in browsers that to not support SQLite, e,g, IE.
Open Chrome and browse to SimpleTrackerFolder e.g. http://localhost:8500/SimpleTracker
Note that this example was created simply to get you started with mobile development with ColdFusion. The code in the example is not optimal – in real applications you would want to separate UI code from the remaining. I would post an example of the same app done with better coding practices later.
If you want to follow debug and inspect workflow in the video, then you will need the Shell application. As I explained in the video, this application is a standalone Android/iOS application with web browser embedded in it and created with PhoneGap libraries. So all the PhoneGap APIs would be available to pages opened in this app. It looks like this application is not yet uploaded on Adobe Labs, but you can download it from follow locations –
- PhoneGap Shell app for Android (.apk) – 1.7 MB
- PhoneGap Shell app project for iOS – 14 MB (zip)
We cannot distribute packaged application for iOS because of licensing restrictions, so the entire Xcode project for this app is made available.
Give this feature a try and you will find that mobile application development is made a lot more easier by ColdFusion. Both products are still in beta, so also tell us how we can improve them. Go to https://bugbase.adobe.com/ to log bugs or enhancements.
21 Replies to “Simplify Mobile Application Development Using ColdFusion”
Hi Ram, first of all thanks for the insight of some of the new features on ColdFusion Builder, great post!
Second of all, I would like some help (if you can provide) on setting up the Android SDK on the CF Builder.
Once again, thanks and keep up the amazing job with the Coldfusion family!
If you are going to use Android plugin and CF Builder together, then I suggest you install Eclipse, and then install CFB (plugin installation) and Android plugins into it. I have not tried installing Android plugin to CFB, but standalone CFB may not contain all the plugins that are required by Android plugin (but I am not sure about this).
If you are not going to do native Android development and need Android SDK only for emulator and Android monitor, then I suggest you install Android SDK only. I had written a blog post sometime back, Installing and configuring Android SDK outside IDE, which you may find useful.
Hello Ram, You are writing an amazing information about ColdFusion.its a fresh information for the developer.
A nice request; please give the samples, as `responsive design` too…
For the new version of CFBuilder, is there any `working` ORM solution in it?
It may not be possible soon, but I would try to post an example of ‘responsive design’ in future.
Regarding ORM example, I don’t have a ready example, but if you use ‘Adobe CFC Generator’ extension of CFB, you could create ORM CFCs very quickly. This extension is in extensions folder under CFB installation folder.
Thank you for your fast response…
Great post! Thanks for this, we are releasing Mobile app development for organizations and this article helped me a lot!
I am very happy to be here because this is a very good site that provides lots of information about the topics covered in depth. Im glad to see that people are actually writing about this issue in such a smart way, showing us all different sides to it. Please keep it up. I cant wait to read whats next.
Mobile application development and android application development is flourishing day by day.
Hello, I have a lot of pressure to develop mobile apps. I want to leverage my knowledge and experience with coldfusion to do this When will this be rolled out :> ?
I am so happy….. Now we say, ColdFusion developer can made Mobile apps too.
This is indeed nice information. I can be helpful for people like me.
I found your post very interesting and would love further insight into the app building world. Thanks for the information
Interesting information about mobile app development and currently I am using android app platform for mobile app but I got a new information about cold fusion for app development and I like this way for development and I would like to learn it. Waiting for your next article. Thanks for sharing this post.
Hey! Is coldfusion still relevant?
Thank you sharing these excellent and more useful post.. looking forward for these kinds of knowledgeable articles.
Mobile app developers in India
Great post about mobile app development using Coldfusion even though of being 4 years old. Looking forward to follow you after being on this page for 15 minutes. Cheers mate. 🙂
Great post on coldfusion. Very informative….
Thanks For Sharing