Marvin Sketch database connection

User 08b9c685a6

03-06-2012 21:49:04

Hello,


Is there documentation on how to connect the Marvin Sketch applet onto a database. We have embedded the applet onto our own website, and would like users to be able to draw something, then that drawing be saved as a structure onto our own database. -- Is this even possible? or is Marvin Sketch primarily used for query searches of structures?

ChemAxon 5433b8e56b

04-06-2012 10:17:49

Hi,


since you can get the structure that has been drawn in MarvinSketch, you can send the structure to a server via an http post message, or via an ajax request. It depends on the server what it does with the structure, it can save it into a database, apply standardization rules, structure chekers or any transformation on the structure data before inserting, or whatever you want.


An example where the drawn structure is being sent to the server side after pressing a button can be found here.


I hope this helps, if you have further questions, please do not hesitate to ask.


Regards,
Istvan