tutorials

Tutorials for developing applications with SVS.

working with SVS
outline of SVS from a developer's perspective

creating SVS clients
creating clients for working with SVS

More will be added as the project develops.

working with SVS

These tutorials provide background information and overviews of SVS for those wishing to develop their own applications with it.

page contents

creating SVS clients

The first part of these tutorials explains the basic clients in the svs_core package and how to extend them for use in another application. It provides two examples: a 'service' client, one that provides and stores information on an SVS network (such as the game clients in svs_demogame); and a 'user' client that can access and work with such information (such as the player clients in svs_demogame). The service is a simple 'time' service: clients can request the current date and time from the service client. The service client also keeps a log of how many time each client has requested the time, this information can also be retrieved by user clients.

The second part explains how to add a new user interface component to a client using the Tkinter interface toolkit which is the standard toolkit used in the GUIs for svs_core components.

In the third part the service client is extended to provide automatic notification to all user clients when one of them requests the time. This demonstrates the use of the 'listener' and 'notification' system in svs_core.

The source code for this tutorial can be found in the 'creating_clients' directory of the 'tutorials' package (download).

page contents