Theme Settings: Saving to DatabaseHow to save and load settings from database

Test it out!

All changes are stored to localStorage by default. pushSettings()inherits this trait. Set "storeLocally"to falsevia app.config.jsto disable this action.
$.ajax({ .. success: function (data) { var DataBase_str = data[i].appSettings } .. }); initApp.pushSettings( DataBase_str );
var DataBase_str = initApp.getSettings(); $.ajax({ data: {DataBase_str}, dataType: "json" ... })