Need a special offer?Find out if your project fits.
+

Flexmonster data server mongodb data source road map

Answered
Michel Roger asked on August 18, 2020

Hello flexmonster team,
 
Do we have on the roadmap adding the mongodb datasource to the data server? I know we have available a project for a custom mongodb api connector, but that does not offer any of the security at the api level which is required to be a prod ready implementation.
 
Thanks,
Michel 

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster August 20, 2020

Hi Michel,
 
Thank you for posting your question.
 
Taking into account our current roadmap, in the near future, we are not planning to introduce MongoDB as one of the data sources available with the Data Server by default.
 
With that in mind, there are two options we would suggest considering in your situation:
 

  1. Connect to MongoDB with the Flexmonster MongoDB Connector – this is the easiest & therefore the recommended way to connect Flexmonster to a MongoDB database.

    Just like the Flexmonster Data Server, the MongoDB Connector is based on the custom data source API and was further modified to suit the MongoDB data source best. This means that apart from all of the custom data source API optimizations it also provides a straightforward API that allows you to connect to a MongoDB instance quickly & easily. 

    Feel free to check out the following documentation page for more information on MongoDB connection: https://www.flexmonster.com/doc/mongodb-connector/.

    Please note that the pivot-mongo GitHub repository is simply a sample project illustrating how the Connector API can be implemented – in order to cover your specific security nuances we would suggest implementing your own middleware layer.

    The Connector itself can be downloaded from the corresponding npm page, where you can also read more about the API provided by the module: https://www.npmjs.com/package/flexmonster-mongo-connector.

  2. Refer to the Data Server as a DLL – while the .exe-bundled Data Server is a finished product with pre-configured security, you can also embed it into your project as a DLL.

    This approach allows you to modify the Data Server to suit your needs – for example, you can implement your own parser, making it possible to connect the Data Server to a MongoDB database, as well as to any other data source of your choosing. 

    More on this here: https://www.flexmonster.com/doc/getting-started-with-data-server-dll/.

 
It is important to mention that both of the scenarios above provide roughly the same level of security – you can always implement additional security measures on your server if this is required.
 
Please let us know if this helps.
 
Best regards,
Mykhailo

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster August 27, 2020

Hi Michel,
 
Hope you're doing well!
 
We were wondering if you've received our response to your question. Was it helpful, or is there still anything we can assist you with?
 
Please let us know what you think.
 
Regards,
Mykhailo

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 4, 2020

Hi Michel,
 
How are you?
 
Just checking in to ask whether you've had a chance to check out our response. Please let us know if you've found it helpful.
 
Looking forward to your reply.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer