ColdFusion Builder allows you to create a mobile application based on pre-defined templates. These templates are basically CFML files that can use third-party web frameworks like Bootstrap or jQuery Mobile. ColdFusion Mobile Templates enhance productivity, allowing few of your developers to focus on the design of your applications, while the other developers can focus on the functionality of the applications.
ColdFusion Builder supports 2 kinds of mobile templates:
Your mobiles templates can be in a custom directory or an archive (.zip) file. User defined templates should be stored in <cfbuilder install>/templates/mobile/user. If you want to create your own mobile template, you need to have the following mandatory items in your template directory:
Note the following requirements:
You can provide a template name in the config.xml file as follows:
<template name="My Template"> |
If you do not provide a template name, the folder name or the archive (.zip) file name will be used.
Description can be provided in the configuration file:
The template description |
The following example shows a valid configuration file, config.xml:
<template name="My Template"> <description> The template description </description> <types> <type value="jQuery" > <description> My mobile template containing jQuery Mobile files. </description> </type> <type value="javascript" /> <type value="bootstrap"> <description> My mobile template containing Bootstrap files. </description> </type> </types> </template>
For using the mobile templates, see Building Mobile Applications.
Sign in to your account