Programming & APIs (Reference) provides programming example for the various location in the platform code  is used, Scripts Module and. Displays Code Behind.

This section focus in the programming, not the modules activating the code.

On this page:



→  Scripts Module | → Displays CodeBehind


Find Code Examples



Supported Languages

LanguageUse CasesPerformanceLearning CurveKey Features
C#Complex logic, performance-criticalExcellentModerateFull .NET access, strongly typed
VB.NETLegacy systems, simple logicExcellentEasyFamiliar syntax, .NET access
PythonData analysis, ML, scriptingGoodEasyLibraries, readable syntax
JavaScriptClient-side, expressions ,HTML5 (*1)GoodEasyWeb integration, JSON

(1) Use Portable pages instead of HTML

JavaScript is available only in HTML5-only, displays.  Prefer always to the Portable Pages, which allows the configuration on Desktop Rich Clients (.NET WPF) and Web/Mobile clients (WebAssembly). Keep JavaScript and HTML5 only required for code compatibility  or use of external HTML5 controls.


Language Selection Guide

Language Decision Table
Need maximum performance? => C#
Need higher level of runtime security & Reliably=>C#
Legacy VB code?=>VB.NET
Data science / ML? =>Python
Client-side logic?=>C# & Python server classes
Legacy HTML pages & controls=>JavaScript client side 
Simple expressions=>

Any language. 

Platform expression editor can parse different languages




In this section...