how to send data from indexed DB to MYSQL


  • Hi all

    I develop a metro style application using JavaScript.I want to save some data from the metro application. according to [MSDN I should use indexed DB to save my data.

    My question is How to send my data TO MYSQL which is represent my website DB


    Friday, December 21, 2012 4:30 PM


  • If your website (not your App) has a MySQL DB that you want to write or read you should expose on your website some sort of WebServices (SOAP / JSON / REST) that lets you, using for example, a WinJS.XHR on the App, send the information to the website to be inserted.

    If you want to store locally on the App some data, IndexedDB works pretty well, I personally use a wrapper that makes it even easier, developed by Kristof Degrave: http://linq2indexeddb.codeplex.com/ .

    On his personal blog he has plenty of examples.

    • Marked as answer by Ruezaki Friday, December 21, 2012 7:37 PM
    Friday, December 21, 2012 7:21 PM