Scripting

Servoy methods can use either JavaScript or inline Java. You create methods in Servoy to enforce your business and navigation rules, as well as to connect to external applications. The Servoy scripting environment has been enhanced with a solution object model (SOM) to give you direct visual access to all the Servoy user interface and data objects. Even if you're new to object-oriented scripting -- Servoy makes it easy by automatically writing the correct code for you when double-clicking on an object.

Built-In Script Library
To help you get started, Servoy has a built-in script library that visually displays all available objects, functions and properties. You can interact with these objects, functions and properties using point-and-click; or you can use Servoy's built in code-completion and code samples to dramatically increase your productivity.

Powerful Debugger
Servoy also offers a powerful debugging environment -- built right into the scripting environment. The debugger gives you all the features you need to debug your solution, including breakpoints; step-in; step-out; watching variables and data elements; live evaluation of code; and output capabilities.

Built-In Functions Library
With Servoy you don't have to re-invent the wheel time and time again. Servoy offers many commonly used functions and features such as:
  • PDF support: both output and storage, as well as form manipulation
  • Email support: POP, APOP, SMTP
  • Onscreen Agent technology
  • HTTP support: GET, POST
  • Image manipulation support
  • File manipulation support
  • Many database functions such as: custom queries, execution of stored procedures, transaction management, locking
  • Multiple output formats: TXT, RTF, XLS, XML
In addition to the hundreds of built-in functions, you can easily extend Servoy using the Java-based API or with the use of existing JavaBeans and Java applets.