Custom server-side computations

Answered
Yukiko asked on January 23, 2023

We are considering to purchase Flexmonster pivot library. 
The documentation states that the sider-side computation is possible. 
We already have our pivot computation implementation on our Backend written in python. Would it be possible to integrate the library with our existing server and the Backend implementation?
If so, what would be the data format that the Frontend needs to receive to plot that pivot table?
 

6 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 24, 2023

Hello, Yukiko!
 
Thank you for reaching out to us.
 
We kindly suggest two possible ways to connect Flexmonster to the existing Python server:
 
1. JSON/CSV
The easiest way to connect your data to Flexmonster is to provide the link to the script, which generates the data in JSON or CSV format. This way, all aggregations are performed directly on the client side, and no additional calculations on the server side are required.
We recommend this approach for JSON/CSV files with sizes less than 100Mb to achieve the best performance.
 
You can find more details about this approach in our docs: https://www.flexmonster.com/doc/json-data-source/.
 
2. Custom data source API
The Custom data source API approach allows communication between Flexmonster and your server implementation using a provided communication protocol. This way, all data processing and aggregating are handled on the server side.
 
Here you can find a step-to-step guide on how to configure your server so it can exchange data with Flexmonster: https://www.flexmonster.com/doc/implement-custom-data-source-api/.
 
We also have two sample servers implementing custom data source API for reference: the Node.js server and the .NET Core server.
 
Hope you will find our answer helpful.
Feel free to contact us if any further questions arise.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 31, 2023

Hello, Yukiko!

Hope you are having a great week.

Our team is wondering if you had some time to look through our previous message. Could you please let us know if it was helpful?

Looking forward to hearing from you.

Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 9, 2023

Hello, Yukiko!

Hope you are doing well.

Just checking in to ask if you have any further questions about connecting Flexmonster to your server.

Looking forward to your response.

Regards,
Solomiia

Public
Yukiko February 22, 2023

Solomila,
Thank you so much check back in!
I just wanted to double check if using python flask framework is compatible with Flexmonster server as long as I follow the steps for 'custom-data-source-api'. 
 
 
 

Public
Yukiko February 22, 2023

Solomila,
Thank you so much check back in!
I just wanted to double check if using python flask framework is compatible with Flexmonster server as long as I follow the steps for 'custom-data-source-api'. 
 
 
 

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster February 23, 2023

Hello, Yukiko!
 
Thank you for getting back to us.
 
Kindly note that custom data source API is the communication protocol between Flexmonster and your own server. So, it is compatible with all back-end frameworks and technologies that can handle HTTP requests, including Python Flask.
 
Hope it helps.
Do not hesitate to contact us if you need further assistance with custom data source API.
 
Regards,
Solomiia

Please login or Register to Submit Answer