Entries Tagged as “Adobe ColdFusion”

ColdFusion 11 Silent Installation Properties

June 23, 2014 / Krishna Reddy

  Administrator | Adobe ColdFusion | ColdFusion | ColdFusion 11 | General

Silent instllation properties are updated for ColdFusion 11.

You can download the properties file here

Create a new directory and place the installer and the properties files there.

Please make sure to update the usernames/passwords/and flip the different feature flags as per your requirement.

'cd' to the newly created directory where the installer and properties files are placed.

Command to run the silent installation from the terminal is(Change it as per the Installer name).

>ColdFusion_11_WWEJ_win64.exe -f silent.properties

Please make sure that the terminal/command propmt is opened with administartor/root privileges (Open cmd with Run as Administartor option).

Once initiated, installation process runs in the background. Once the installation is complete you can see a log file named Adobe_ColdFusion_11_Install* under the ColdFusion installation home directory.


Adobe DevNet articles on CFMobile

May 06, 2014 / Ram Kulkarni

  Adobe ColdFusion Builder 3 | Adobe ColdFusion | Adobe ColdFusion 11 | Adobe ColdFusion Builder | Mobile

Following two articles on CFMobile are now live on Adobe DevNet site - 

  1. Build your first mobile app with ColdFusion 11
  2. Overview: Mobile application development with ColdFusion 11

Check them out if you want to know how to develop mobile applications using ColdFusion 11 and ColdFusion Builder 3.

-Ram Kulkarni

 


Creating CFMobile Application using AngularJS

April 23, 2014 / Ram Kulkarni

  Adobe ColdFusion | ColdFusion | Mobile | Splendor

This post is reproduced from my post at my personal blog ramkulkarni.com.

In my previous blog articles I had explained how to create CFMobile applications using JQuery, Bootstrap/JQueryMobile. Here are links to sample (CFMobileExpenseTracker) applications using the two UI frameworks -

I wanted to create the same application using AngularJS. It had been on my 'to learn' list for sometime now. So I spent the last weekend learning it. If you already know concepts of MVC and Dependency Injection, then understanding AngularJS is not difficult. The well documented tutorials also helped.

I decided to re-write CFMobileExpenseTracker using AngularJS and JQueryMobile. Since AngularJS provides very easy way to manipulate DOM, you really don't need JQuery. But I had to include it in the application anyway because JQueryMobile depends on it. I also used JQuery for basic event handling.

Earlier in my application I had used client side custom tag (expenseList.cfm) to display expense items by calling JQuery APIs to modify DOM and update UI. I could get rid of this custom tag entirely after using AngularJS, because of templating features  and automatic synchronisation between model and view provided by Angular JS.

Here are the screen shots of the application -


 2014_04_24_image12014_04_24_image2

Though I said that I re-wrote the application, it was not a complete re-write. I could reuse CFCs and made small modifications to index_include.cfm. I added a new JS file (angular_app.js) to crate AngularJS application and controllers -

Read More


ColdFusion Splendor – When to use invokeCFClientFunction

April 20, 2014 / Ram Kulkarni

  Adobe ColdFusion | ColdFusion 11 | Mobile | Splendor

This post is reproduced from my post at my personal blog ramkulkarni.com.

I have seen some confusion when it comes to using invokeCFClientFunction. I have been asked this question a few times, more recently on LinkedIn, so I thought explaining it in a blog post might be a good idea.

If you don't know already, ColdFusion Splendor has added support for client side CFML (<cfclient>) and this code is translated to JavaScript.  You can call JavaScript functions from cfclient and vice versa.

cfclient also makes calling asynchronous functions of PhoneGap easy by providing synchronous access to them. All device APIs are asynchronous in nature, but in cfclient block you call then as synchronous functions and ColdFusion translates them to asynchronous PhoneGap functions. All function starting with 'cfclient.', e.g. cfclient.camera.getPicture(), are asynchronous. In addition to device APIs, data access function, executeQuery and tag, cfquery, are also asynchronous in cfclient.

When you call asynchronous functions in cfclient, ColdFusion takes care of chaining callback functions - any code following an asynchronous function goes in the success callback function. But if you call asynchronous cfclient function form JavaScript code block, then ColdFusion compiler does not touch it. Note that if a UDF in cfclient block calls any asynchronous function (e.g. cfquery or any device APIs) then that function also becomes asynchronous.

Let's see an example. In the following code, I have a UDF in cfclient block, createDatabase. It does not need any argument, but let's say it takes one argument, arg1. This function calls queryExecute function, which is an asynchronous function - so createDatabase function also becomes asynchronous. If you call it from JavaScript and have some JS code to be executed only after database is created, then calling createDatabase function directly from JavaScript is not going to work as expected -

Read More


Slides of e-seminar - Everything about Mobile Application Development

April 11, 2014 / Ram Kulkarni

  Thunder | Adobe ColdFusion | Adobe ColdFusion Builder | e-seminar | Mobile | Splendor

I presented an e-seminar, Everything about Mobile Application Development, on 10th April. Some of the attendees had asked me to share the presentation and source code of the application. So here are the links

I had added a few useful links at the end of the presentation, but the PDF (linked above) of slides does not show those links. So here they are - 

Downloads

ColdFusion Splendor and Thunder

ColdFusion Documentation

CFMobile related Blogs

CFMobile related Videos

Recently PhoneGap Build made some changes in the way they pick up PhoneGap plugins. Because of this if you package the application (CFMobileExpenseTracker) using Public Beta builds, then image attachement feature would not work. We have fixed this issue post public beta. However there is a work around in public beta build- In the PhoneGap project properties of ColdFusion Thunder, select 'Load the configuration from XML' option and use this config.xml.




You can find the recording of this e-seminar here.

-Ram Kulkarni

Blue Mango Theme Design By Mark Aplet

Super Powered by Mango Blog