Versions Compared

Key

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

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 is programming itself, not in the modules activating the code.

On this page:

Table of Contents
maxLevel2
minLevel2
indent10px
excludeSteps
stylenone



Scripting →  Scripts Module | Displays CodeBehind | Programming & APIs


Find a Code Example

Livesearch
spaceKeyFX
sizelarge
additionalpage excerpt
placeholderSearch by module, task, or technology
typepage
labelstutorial

Overview

The Scripting Reference provides comprehensive documentation for developing custom logic in FrameworX 10.1. With support for multiple programming languages including C#, VB.NET, Python, and JavaScript, you can implement complex calculations, automation logic, and integrations. This guide covers syntax, APIs, best practices, and practical examples for all scripting scenarios.

Info
titleScripts Module

→ Scripts Module: follow this link with information about the Scripts Modules

This section focus on the usage of the programming, not the Script Modules itself. 

This section is recommended to be used, only after the understanding of the Scripts Module.


Supported Languages

Language Comparison

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


Info
title(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

Decision Tree:
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
Simple expressions => any language. Platform expression editor can parse different languages.
Info
titleScripts Module

→ Scripts Module: follow this link with information about the Scripts Modules

This section focus on the usage of the programming, not the Script Modules itself. 

This section is recommended to be used, only after the understanding of the Scripts Module.

Children Display
depth1
styleh3
excerptTypesimple

Supported Languages

Language Comparison

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
Info
title(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

Decision Tree: 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
Simple expressions => any language. Platform expression editor can parse different languages.



In this section...

Page Tree
root@parent
spaces93DRAF