Defining the public interface
Release 1.1 - ...
The first thing to do when starting a Smartlet implementation is to think about the public interface, defined in the Properties collection. This collection defines the type of each property, how data is passed to the smartlet, which data can move between server and client, and which default values the properties have.
The smartlet.get() and smartlet.set() methods can be used to get and set property values, both on the client (Javascript) and the server (Viper).