-
Notifications
You must be signed in to change notification settings - Fork 0
Components: General concepts
Components are the smallest entity within Exynize platform. Essentially components are just small single-purpose functions. Exynize provides three different component types:
- Source components - generate events and/or data that should be processed
- Processor components - processes the incoming data, can be either plugged into source or chained after another processor
- Render components - renders the final result as HTML
All components are executed as stand-alone (micro)services and can do data processing in real-time as more events/data comes in.
The components can be combined into more complex processing functions - pipelines.
By default, all new components are created as private. That means that the only person who'll be able to see and use them is the creator.
It is possible to change that by setting public
flag during the component creation.
Doing so will make the component visible to anyone using the platform.
Making the component public does not published its source code.
This means that even though others will be able to see public component, its description and use it, they won't be able to see its source code.
To make source code public, creator needs to set source public
flag.
Exynize provides a basic way to test your components. The component editor in UI will automatically detect all your config parameters of the component and create input fields for them. Those input fields accept any JSON deserializable values allowing you to test component behaviour.
Exynize provides a way to easily import and use third-party node modules from npm.
All you need to do for it is simply write the import statement, e.g.:
import JSONView from 'react-json-tree';
Exynize will automatically install the required package during the execution of your component.