|
Scripts
Scripts are a mechanism where business logic can be implemented using a procedural programming language. Ideally, most business rules should be represented using a declarative format such as Decision Tables or Rete Rules. Scripts can be useful however when the business logic is procedural, or when developers need additional tools to work around any potential "brick walls" in the development of business rule solutions. Scripts can also be used to build comprehensive unit and regression tests for your business rules. The Pascal-like scripting language provided with Common Knowledge is very powerful, not only providing a rich set of language features but also leveraging a powerful expression syntax that is available throughout Common Knowledge. The language supports all common programming constructs including iteration, selection, functions, procedures, local and module variables, and constants.
Like all Common Knowledge Extenders, the Script Extender seamlessly integrates with Common Knowledge Studio and the Common Knowledge Rules Engine and can be easily combined with other business rule formats to create powerful solutions to complex business rule problems. Overview of Capabilities The Common Knowledge Script Extender provides capabilities in a number of areas to enable you to implement procedural logic to complement your declarative business rules:
![]() Feature List The Common Knowledge Script Extender incorporates an ever-growing set of features that assist you during the design, authoring, execution and testing of business rules procedural logic. Features include:
![]() What's New in Version 3.1 The following features are new to version 3.1 of Common Knowledge and augment the existing capabilities of the Script Rule Extender in its ability to assist you when implementing your business rules:
|
Rete Rules Read how the new Rete Rules Rule Extender can be used to represent business rules in an intuitive and declarative manner and to evaluate those business rules using a forward chaining inference mechanism based on the Rete algorithm.
Active Scripts
Read how Active Scripting can be used on the Windows platform to implement procedural logic using a range of languages including JScript, VBScript, Perl and Python. |