Servis-Rhino 4211B Guide de l'utilisateur Page 70

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 298
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 69
returns JSON then that data is left as-is. If the data returned is something other than JSON then it is
converted into XML and then an XSL style sheet may be applied to build JSON. Finally, before
sending the result back to the client, the adapter can manipulate the final data.
Creating a new Adapter
When we design a new mobile application that wishes to interact with a back-end system, we will
create a new adapter to achieve that goal.
Within a Worklight project within Worklight Studio, we select New > Adapter:
When we create an adapter, we define which project it is going to be contained within, what type of
adapter it will be and the name of the adapter to be created.
The types of adapter available to us are:
HTTP Adapter
SQL Adapter
JMS Adapter
Cast Iron Adapter
This will create the adapter file system structure with the XML configuration file, JavaScript and
XSL which can then be modified for specific access to a back-end.
Page 70
Vue de la page 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 297 298

Commentaires sur ces manuels

Pas de commentaire