Introduction to the API

 

A programmer has several choices about how to programmatically solve problems with Lyris ListManager. One technology may be appropriate for one type of customization, where another technology may work better for a different customization. Here are some of the choices:

 

Mail commands

Many powerful commands are available as email commands. Members can be subscribed, unsubscribed, and their setting altered through email commands. Data about the membership and other reports can all be requested via email. If your need can be filled with these simple commands you may want to create emails to ListManager rather than using one of the more complicated programming options.

 

Direct database access

All the tables in Lyris ListManager are accessible through the SQL language. Data may be inserted, deleted, or modified in these tables directly. For some tasks, such as member creation, it may be easiest to use the programming language and environment you are comfortable with to access the database server using SQL to insert members. However, if you are uncertain about the use of the data or the relationship of the data to program functionality it is probably best to avoid making any direct database modifications.

 

Lyris Command Protocol (LCP)

The LCP interface has been removed and is no longer available. Application programmers should use direct SQL, TclPort, or email commands.

 

TclPort

The TclPort interface allows Tcl scripts to be run on the ListManager server. This interface allows great flexibility since the script is dynamically interpreted at execution time. It is also quite fast, even though it is flexible, and allows Lyris developers to code performance-critical sections in C++ and efficiently call them from Tcl. The ListManager web interface communicates with the ListManager server entirely using TclPort, and every function that the web interface uses is available to application programmers.

 

For information on the Web based API, please see Utilities: Other: Programming API.



How many users on list xxx Introduction to TclPort