Servis-Rhino 4211B Betriebsanweisung Seite 52

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 51
Application Descriptor
The Application Descriptor is an XML file contained within the application portion of the project
that has the file name "application-descriptor.xml". Worklight Studio provides a rich
editor for working with its content but it can also be examined and edited in its source XML format.
Contained within the file are IBM defined elements and attributes:
id
platformVersion – The version of IBM Worklight used to build the solution.
displayName
description
author
name
email
copyright
homepage
mainFile
thumbnailImage
features – The set of additional features that have been added to the project. For example:
JSONStore
Application Architecture
A Worklight solution uses a single DOM model.
The <body> of the HTML page must had an "id" of content. For example:
<body id="content" style="display: none;">
Towards the end of the HTML document there will be a <script> load of
"js/initOptions.js".
App specific JavaScript code will be placed inside "<App>.js". It contains a function called
"wlCommonInit()" which will be the primary entry point to the application.
Adding targeted environments
As you develop a solution, you may want to add additional target platforms on which the
application will run. To do this, select "File > New > Worklight Environment":
Page 52
Seitenansicht 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare