Hive introduction
  • 28 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Hive introduction

  • Dark
    Light

Article Summary

Hive is the language that is used to express the rules and logic of every Combeenation configurator. Hive was specially developed for mapping product logic in our platform. It can be used in almost all properties of a component to determine a suitable value for the property - these expressions are also called rules.

A Hive rule can be a simple constant value or an extensive formula. All components and their properties can be used in hive rules.

Why a separate programming language?

Why can't product logic be expressed in a widely used language such as JavaScript? By developing our own language, we can seamlessly integrate it into our components and adjust and optimize the syntax - the grammar and rules that make up the language. The goal here is to make the mapping of product logic as simple as possible. Tabular data can be displayed directly with Hive expressions.

Another important aspect of Hive is how rules are translated internally. Unlike in common programming languages, when writing Hive rules, you don't have to worry about when to execute them. The system automatically detects which rules are affected (directly or indirectly) by user input and executes them in the correct order. This is not only convenient but also efficient.

Info
Rules that are not affected by a current change are not executed.



Was this article helpful?

What's Next