Developer
Tip
Creating a DRP File
The Droplets
.drp file is a small
text file generated whenever a Droplet application is downloaded
onto a client desktop. It gives the end-user's Client essential
information like the name of the application and the location of
the server-side application logic.
The DRP file
consists of a series of parameter names and values. A set of pre-existing
parameters must be included in every DRP file; you can also create
your own parameters as necessary.
Parameters:
address:
the location of the UI Server to which the Client should speak.
Can be an IP address or a URL.
calc:
the application name as registered with the UI Server.
height:
the height in pixels of the application window.
icondata:
a block of binary text formatted as text, defining the appearance
of the application's desktop icon.
imagedir:
the URL location of the application's skin files.
port:
the port through which the client should contact the server (usually
8192).
title:
the text that appears in the application's title bar.
width:
the width in pixels of the application window.
mainpaneloff:
boolean, determining whether or not the client waits until all components
are loaded before presenting the application GUI. Looks more professional
if you indicate true.
In addition
to the DRP settings above, the "vars" parameter allows you to create
custom DRP parameters as necessary for your Droplet application.
Perhaps, for example, you need to uniquely identify one instance
of the Droplet (as you might with our online photo album, Droplets
Picture Share). In this event, you can simply create a new parameter
name and assign it a value based on your DRP-generating script's
logic.
Questions?
Suggest a tip
|