VisiRule JavaScript Rules Engine 

The VisiRule to HTML compiler uses a compact, client-side VisiRule JavaScript rules engine to execute charts locally. This reduces the heavy-lifting that comes with server-side rules engine processing and allows for lighter, more responsive rules execution across mobile and web applications.

 

JavaScript Rules Engines

The VisiRule JavaScript Rules Engine run solely on the client and executes JS code in the client's browser. This means systems can be delivered server-free or serverless, with no need for interaction with any internet connection. This means that not only is delivery independent of network performance but the interaction is highly responsive as it avoids the lag often associated with server-side processing.

 

This can be an ideal way to deliver many decision tree flowcharts solutions

VisiRule charts delivered locally are self-contained and can even be embedded within emails and documents. This allows for execution in any browser, on most any device - indeed anywhere that JavaScript runs.

How does the VisiRule JS Rules Engine work?

The VisiRule to HTML compiler encodes the business decision logic contained in the chart into an XML data structure which reflects the logical structure of the chart. This XML is evaluated locally using a dedicated JavaScript rules engine using a basic JS user interface and set of styles. The presentation layer can be readily affected using standard web technologies such as CSS. Extra situation specific functionality can be incorporated simply by adding extra buttons and JS code.

Can I change my Mind?

The dedicated JavaScript rule evaluation mechanism maintains a dynamic stack of all the questions asked and the answers given within the sessions and allows users to go back and change answers to previous questions and then re-evaluate.

Embedded Calculations and Formulae

The JavaScript Evaluator can compute Excel-like formulae and calculations.

 

CSS Customisation

Applications delivered as HTML/JavaScript can be easily customised, tweaked, enhanced, simply by editing the CSS style sheet and/or augmenting the HTML with additional JavaScript code. This greatly simplifies the run-time delivery of charts.

 

Advantages of Client-side Delivery

In a traditional server-rendered application, every user interaction has to confer with a remote server about what to do next. Client-side web apps are different. They load the entire payload up-front, so once it’s booted, it has all of the templates, business logic, etc. necessary to handle a user’s interactions. 

Lexis Tool Geschäftsfähigkeit

The digital assistant supports the examination of cases in which the effectiveness of a legal transaction or legal transaction is questionable with regard to the legal capacity. The tool is based on a questionnaire of over 50 questions , of which the user only has to go through a fraction, depending on his answers, in order to arrive at a result.

Lexis Tool Mietrechtsgesetz

The area of ​​application of the Tenancy Law often causes difficulties in practice - the assessment of which laws an existing contract is subject to is usually complex and time-consuming. The test scheme assistant enables a quick assessment of which regulations are to be applied to a specific tenancy.

Read how to do it yourself!

Read here how easy it is to generate your ow HTML version of your decision tree flowchart

JavaScript-Rules-Engine

Client-side Delivery

The demos presented use a basic CSS style sheet which specifies the font, size, face, colour, spacing, border for each node type found in the page (like question, explanation, conclusion etc). This presentation layer can be easily enhanced and extended by anyone familiar with HTML and standard web design principals. You can inpsect the HTML and see how easy this for someone who is familiar with HTML and CSS.

 

This is made possible because VisiRule separates the chart structure from the chart logic and node data and stores them in XML, accompanied by the dedicated VisiRule for JavaScript business rule engine.

Lawns Example

JS Rule Engine in JavaScript
VisiRule Generated Truth Table

Volatile Data

The focus of this decision tree is not to list every possible combination of scenarios, but to show some of the basic options that are available and remind examiners about things to think about when imaging.

Troubleshooting PC Attached Peripherals

Do I Need Approval?

JavaScript Evaluator Rule Engne

Naval Operations Security (OPSEC)

Opsec Expert System Risk Chart
opsec risk decision flowchart-01.jpg