Child pages
  • Implementing Business Logic

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Overview

In Servoy, business logic is implemented using JavascriptWhile the Servoy platform is based entirely in Java, one does not need to write ANY Java during the course of development or deployment.

Instead, all business logic is implemented using Javascript. Javascript was selected because it is an internet standard, easy to learn and as such, the most widely used scripting language on the planet. Javascript is far more productive than coding in pure Java and Servoy provides robust APIs with which to easily implement business logic.

Note

Developers who are familiar with Javascript may point out issues with browser support and speed issues. It is worth noting that Servoy does not deploy any Javascript. All code written in Servoy is deployed using Mozilla's Rhino, which is a Java-based Javascript implementation. This means that:

  1. All methods are executing in Java
  2. And no business logic is ever executed in the browser, thereby eliminating browser support issues.