The technical foundation is a database-driven process in which product specifications are provided as structured data in response to a request. This data is processed in the frontend and converted into a visual representation. The previous reliance on pre-rendered HTML files is completely eliminated. Instead, the entire display is generated at runtime. This enables a clear separation between data storage, logic, and presentation.
An important aspect of the implementation is that the developed functions can be reused. To this end, the components for displaying and processing the specifications have been moved into a separate module. This module can be used and further developed independently of the specific application.
The implementation of PDF generation, in particular, benefits from the now-available complete structured product data. The creation of PDF data sheets is based on a standalone library that works directly on the structured product data and runs in both the client and the backend. Depending on the use case, the system relies on the same logic but uses different execution locations. For example, if a single PDF is generated by a user, the generation takes place directly on the client. If, on the other hand, multiple documents are to be created simultaneously, a backend service handles this process, generates the PDFs on the server side, and makes them available as a bundled download in the form of a ZIP archive.
The major advantage is that the same logic and the same central module are used in both cases. No additional detours via the browser are required. This makes implementation simpler, runs faster, and is less prone to errors.