简体   繁体   English

Windows应用商店应用Javascript / HTML5连接到数据库

[英]Windows Store App Javascript/HTML5 connect to Database

I have been creating a HTML5/Javascript system using Visual Studio 2013 (Blank App) now I want to use some database, I have two choice, first is to use my online MySQL database that is hosted, and second is to use a local database that is installed in my computer. 我一直在使用Visual Studio 2013(Blank App)创建一个HTML5 / Javascript系统,现在我想使用一些数据库,我有两个选择,第一个是使用我托管的在线MySQL数据库,第二个是使用本地数据库安装在我的电脑上。

But the problems are 但问题是

1.) I want to know what kind of database I should be using in this Windows Store App, because what I want is a database compatible/portable with Windows 8 Tablets. 1.)我想知道我应该在这个Windows应用商店应用中使用什么类型的数据库 ,因为我想要的是与Windows 8平板电脑兼容/可移植的数据库。

2.) I don't know how can I add,edit, and delete a database using HTML5/Javascript since I know that javascript is not a script to do this algorithms. 2.)我不知道如何使用HTML5 / Javascript 添加,编辑和删除数据库,因为我知道javascript不是执行此算法的脚本。 If so is there any possible alternatives or rather plugins/libraries to do this database connecting? 如果有的话,是否有任何可能的替代方案或插件/库来进行此数据库连接?

3.) I have been wondering if XML is a possible choice for a portable database. 3.)我一直想知道XML是否是便携式数据库的可能选择。 I need some good tutorial that is working on Windows Store App. 我需要一些适用于Windows Store App的好教程。

Please help, and I need a sincere and best answers. 请帮助,我需要一个真诚和最好的答案。 Thanks. 谢谢。

you can use indexeddb,websql,sqlite. 你可以使用indexeddb,websql,sqlite。 sqlite is better and easy to use.following link helps to connect to database in html5/javascript apps. sqlite更好,更容易使用。以下链接有助于连接到html5 / javascript应用程序中的数据库。

http://timheuer.com/blog/archive/2012/08/07/updated-how-to-using-sqlite-from-windows-store-apps.aspx http://timheuer.com/blog/archive/2012/08/07/updated-how-to-using-sqlite-from-windows-store-apps.aspx

database wrapper for html5/javascript app html5 / javascript应用程序的数据库包装器

https://github.com/doo/SQLite3-WinRT https://github.com/doo/SQLite3-WinRT

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将HTML5 PhoneGap App连接到在线数据库 - Connect HTML5 PhoneGap App to an online database 如何在Windows 8商店HTML5 / javascript应用程序中使用javascript保存iframe的内容? - How to save content of the iframe using javascript in Windows 8 store HTML5/javascript app? Windows 8 JavaScript HTML5应用程序无法解析xml - Windows 8 javascript html5 app not parsing xml 如何在Windows8应用商店中的Javascript / HTML5中设置全局变量 - How to set global variables in Javascript/HTML5 in Windows8 store app 使用Javascript / HTML5编写的Windows Store应用程序的代码度量标准选项? - Code metrics options for a Windows Store application written in Javascript/HTML5? 离线应用程序:使用HTML5 Filesystem API存储MySQL数据库 - Offline app : use HTML5 Filesystem API to store MySQL database 使用JavaScript + html5在Win8 Store应用程序中Flash - Flash in Win8 Store app using JavaScript + html5 在Windows 8 HTML5 / JavaScript应用中使用Facebook对话框 - Using Facebook Dialog in Windows 8 HTML5/JavaScript App Windows 8 JavaScript App开发:在HTML5 Canvas上绘制 - Windows 8 JavaScript App Development: Draw on HTML5 Canvas Windows 8 Metro风格javascript / html5应用中的免费位图内存 - free bitmap memory in windows 8 metro style javascript/html5 app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM