API
An API is the interface through which software components communicate with each other. Via the API of an embedded viewer, the host application programmatically controls, for example, loading models, selecting components or BCF topics.
Related terms: SDK, White label
Client-side processing
Client-side processing means that an application processes data directly on the user’s device instead of on a server. For BIM models, this means the browser itself reads and displays the IFC file, and a locally opened file stays on your own device. The crais Viewer works entirely client-side. Where models are stored and loaded from is decided by the architecture of the host application.
Related terms: Web worker, WebAssembly, IFC viewer
CSS custom properties
CSS custom properties, often called CSS variables, are named design values that are defined centrally and reused. White-label software uses them for styling.
Related terms: White label
npm package
npm is the standard package system for JavaScript and TypeScript, used to distribute and install software libraries with versioning. An npm package is installed with a single command and kept up to date through version management. The white-label viewer by crais is also delivered as an npm package.
Related terms: TypeScript, Peer dependency, White label, SDK
Peer dependency
A peer dependency is a dependency that a software package does not bring along itself but expects the embedding application to provide in a matching version. Such requirements often cause version conflicts during integration. Packages entirely without peer dependencies avoid these conflicts from the start.
Related terms: npm package, TypeScript, White label
SDK
A Software Development Kit (SDK) is a package of libraries, tools and documentation that developers use to integrate a technology into their own application.
Related terms: API, npm package, White label
TypeScript
TypeScript is a programming language developed by Microsoft that extends JavaScript with static types and compiles to regular JavaScript before execution. Types are binding declarations of which data structures a function expects and returns. Errors like a wrongly passed value show up while writing the code instead of at runtime, and the editor displays the available parameters and options for every function. In larger web applications, TypeScript is the standard today.
Related terms: npm package, SDK, API
Web worker
Web workers, part of the Web API, are background processes in the browser that run heavy computations in parallel with other processes. The crais Viewer processes IFC data in web workers, so the interface stays responsive even while large models are being converted.
Related terms: WebAssembly, Client-side processing, FRAG
WebAssembly
WebAssembly is a binary format that lets computationally intensive code run in the browser at near-native speed. The IFC parsing in the crais Viewer uses WebAssembly, so even large models are processed directly on the device.
Related terms: WebGL, Web worker, Client-side processing
WebGL
WebGL is the browser standard for hardware-accelerated 3D graphics, currently in version WebGL2. The technology makes it possible to display large BIM models directly in the browser without installed software, on desktop, tablet and smartphone.
Related terms: WebAssembly, IFC viewer
White label
White label refers to software that a company integrates into its product under its own brand, without the original maker being visible. The provider delivers the technology, the branding comes from the integrating company. This way software products extend their feature set with specialised technology without having to invest a lot of time in their own development.
Related terms: SDK, API, npm package, IFC viewer