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.
Scripts 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.
Language | Use Cases | Performance | Learning Curve | Key Features |
---|---|---|---|---|
C# | Complex logic, performance-critical | Excellent | Moderate | Full .NET access, strongly typed |
VB.NET | Legacy systems, simple logic | Excellent | Easy | Familiar syntax, .NET access |
Python | Data analysis, ML, scripting | Good | Easy | Libraries, readable syntax |
JavaScript | Client-side, expressions ,HTML5 (*1) | Good | Easy | Web 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.
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.
Scripts 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.
Language | Use Cases | Performance | Learning Curve | Key Features |
---|---|---|---|---|
C# | Complex logic, performance-critical | Excellent | Moderate | Full .NET access, strongly typed |
VB.NET | Legacy systems, simple logic | Excellent | Easy | Familiar syntax, .NET access |
Python | Data analysis, ML, scripting | Good | Easy | Libraries, readable syntax |
JavaScript | Client-side, expressions ,HTML5 (*1) | Good | Easy | Web 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.
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.