This post is reproduced from my post at my personal blog ramkulkarni.com.
So far I have posted CFMobile examples that were mostly standalone applications (except a photo application that uploaded image to server). However many mobile applications may need to interact with server, for example to show data from a remote database, to modify data or for many other purposes.
CFMobile features in ColdFusion Splendor make accessing remote CF server very easy. I will demonstrate this using a simple example - I will build a mobile app that displays employee records fetched from a remote CF server. The client side (cfclient) code calls a CFC on the server side which fetches data and returns result to the calling page. You will see that creating and accessing a server side CFC is as easy as it is in a completely server side CFML code - you don't need to worry about writing code to make AJAX calls. cfclient does that for you transparently. I should mention here that this feature to call server CFCs from cfclient is not limited to mobile application, you can even use it for any web application.
Here is a screenshot of the application
This post is reproduced from my personal blog post at ramkulkarni.com.
In my post, Simplify Mobile Application Development Using ColdFusion, I posted a video that showed how easy it is to create mobile application with CFMobile features of ColdFusion Splendor (Server) and ColdFusion Thunder (IDE). In that video I created a simple app called 'Simple Expense Tracker'. But the code was not optimal, because the main purpose of the video was to show you features of CFMoible. I also mentioned that I will post a better example of the same app.
So In this post I will show you how to create a database application, where user interface code is separated from the data access code. I will also use JQuery for DOM access and Bootstrap for UI.
This is a follow-up post on "Source code of CFSummit2013 mobile application" . There has been a lot of discussion in the comments of that post, as well as on a number of social media channels. I saw that some of the reactions were based on incomplete understanding of these features.
But first things first - Mobile features in Splendor and Thunder are specifically targeted for mobile application development. If you are not doing any mobile development or do not plan to do so in the near future, then these features may not appeal to you.
ColdFusion Mobile features are not just about cfclient
A lost of discussion is happening around cfclient. It is being assumed that this is a complete feature. Well, it is not. It is a part of overall mobile development features of Splendor and Thunder. These features can be categorized in four broad areas -
I am pleased to let you know that there is a mobile app available for iOS and Android for the Adobe ColdFusion Summit happening in Vegas.
Here is the link for the app on Google Play. And here's the link for the app on iOS.
The best part about this is app is that the entire app is built using the new Mobile features coming up in ColdFusion Splendor and ColdFusion Builder Thunder. The code for the app will be shared after the CFSummit.
You can view the entire schedule of the conference, create your own schedule, submit session and conference surveys, follow Twitter feed and even receive conference notifications.
Go ahead and play with the app before you arrive at the CFSummit next week.
See you all in Vegas at the largest ColdFusion conference in recent times.
Here's some exciting news about ColdFusion Splendor. We will soon have pre-release open for Adobe ColdFusion Splendor, next major version of ColdFusion server and ColdFusion Builder Thunder, next major version of ColdFusion Builder. This time we will have a single pre-release program for both Builder and Server.
If you are interested in being a part of the pre-release, do take this survey linked here.
Please realize that participating in this survey does not guarantee a pre-release invite. The plan is to start the pre-release with a reduced number of participants and eventually increase the number of pre-release of participants. You will receive an invite as soon as your interest is accepted. The acceptance may happen now or in the coming months when we decide to increase the number of pre-release participants.
Your participation will be valuable in shaping up the future version of ColdFusion.