XBscript | Invenso
Home | XBintegrator | XBscript

XBscript

XBscript is the programming language used in XBintegrator. It allows developers to create great functionality without low-level programming in Java, .NET, … The language has a very easy to grasp XML syntax and has a rich set of basic instructions.

Scripting vs Low level Programming, shouldn't be a discussion really

On Scripting and Low-Level Programming

Scripting has its supporters and opponents, as does low-level programming. Each of them having their own set of irrefutable arguments for their preferred development approach. All we know is that XBintegrator is a service hosting environment that runs services, either low-level programmed or compiled. For those eager to low-level program, program away! For those who like to script, here’s XBscript for you. For those who like an object oriented approach, for those who choose to stick with procedural, you can do it by programming or by scripting. Either way, your services will run on XBintegrator.
 

XBscript anatomy with <data> and <main> areas

Script Anatomy

XBscript has been designed with a SOA mindset. Every script performs one key action (simple or complex), defined in the <main> tag of the script.

  • Every script has a declarative area, where you declare objects, routines, variables …
  • The <main> area is where you define the operation performed by your script
    • XB_IN defines the input of your script
    • XB_OUT defines the output
XBintegrator Theme Service Libraries with XBscript Instructions

Theme Service Libraries

XBscript has almost 100 basic instructions that allow you to do anything imaginable between the XB_IN and the XB_OUT parameters. You can add your own instructions as you go.

  • Explore the available theme service libraries
  • Built-in functions for concatenations and arrays
  • Extend the instruction set by adding your own instructions built in Java, or by turning an existing script into an instruction.
Test and Deploy your Scripts with a few Mouse Clicks

Test and Deploy your XBscripts

Within the XBintegrator Development Studio IDE, you can easily test your script and deploy it as a Java program in the runtime environment.

  • Validation pane alerting syntax errors during script creation and parsing errors during compilation
  • Dry run log report showing runtime errors during script execution
  • Auto-compilation of your scripts to Java programs, ready to be triggered by an ActionScript or an Interface.
XBintegrator Development Studio has Everything that you Want to Find in an IDE

The Perfect IDE

Anything you could ever wish for in an IDE, the XBintegrator Development Studio has it.

  • RMB context menus, code completion, prompting, syntax highlighting, …
  • Real-time syntax error detection
  • Extensive testing and result log with visual error indicators
  • One click script compilation
  • Version control and version comparison.