What is LotusScript ?
前言:最近一个项目使用的是Domino平台的OA系统开发,所以找些相关资料学习下,有相同需求的,大家可以多多交流
Programming Notes and Domino applications using Domino Desinger is accomplished with several distinct programming/scripting languages including Formula(@Functions), LotusScript, JavaScript, Java and C/C++. Depending on what you want to accomplish, you must master, to some degree, all of these languages to create sophisticated, cross-client applications for Domino. Of the languages, Formula and LotusScript are essential for Notes applications, and if coding browser application, JavaScript is additionally required.
Java is used to code the Eclipse/Lotus Expeditor framework in which Notes Standard configuration is extended and "injected" as just another plug-in(albeit a very large one). But within the Notes "plug-in" LotusScript is still the most powerful language.
LotusScript is a BASIC derivative that uses many of the same statements and function names, so most developers will find it easy to understand and use without too much relearning.
LotusScript is also implemented in all Lotus SmartSuite products. Although the base of LotusScript is the same across Lotus products(allowing cross-product automation across multiple operating systems), each product--including Notes/Domino--includes product-specific object-oriented extensions.
To use LotusScript in any meaningfull way, you must learn not only the base language but also how to manipulate the product objects, and if necessary make calls to external programs.
LotusScript isn't the only way to access the Domino Object Model. Lotus also exposes its product object classes to programs written in C/C++(via the Notes C/C++ API), Java(Class Libraries), and Visual Basic/VBA/VBScript/.NET(OLE and COM). Or, if all you need to access is the data(and not the product objects), you can use the Notes/SQL and JDBC drivers.