如何使用Web SQL HTML 5创建表和数据库 [英] How to create table and database using web SQL HTML 5

查看:284
本文介绍了如何使用Web SQL HTML 5创建表和数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习html  5 那里 一个概念web SQL < span class =code-keyword>使用 html  5 来自许多wesites正在服用示例和尝试来学习。但是很多令我困惑的事情。 
1 。为什么我们使用 web SQL,如果我们有SQL服务器或oracle 作为支持。
2 如果我们使用的是web SQL Satellite 用于创建数据库?
3 如果我们创建数据库其中它只会在浏览器中存储?如果是,则 限制存储数据?
4 。anyone给我详细说明WEB SQL的例子.....

我试过的:

< pre lang = C#> ;我指的是很多网站,但不能理解这个概念,我知道如何创建数据库和表格,但无法添加数据 以及 fetch。

解决方案

1.为什么我们使用这个Web SQL,如果我们有SQL服务器或oracle作为支持。

< blockquote class =quote>

引用:

Web SQL数据库API实际上不是HTML5规范的一部分,但它是一个单独的规范,它引入了一组API来操作客户端使用SQL的数据库。


用于cleint端数据库的WebSQL。 SQLServer和MySQL本身就是服务器,可以通过inernet / Intranet等进行查询。

参考: HTML5 Web SQL数据库 [ ^ ]

2.如果我们使用web SQL Satellite用于创建数据库?

- 这里有什么问题?

3.如果我们创建数据库,它将仅在浏览器中存储?如果是,那么存储数据的限制是什么?

- Chrome(Webkit)WebSQL数据库的最大文件大小? - 堆栈溢出 [ ^ ]

javascript - 如何申请增加iPad上的HTML5 localstorage大小,就像FT网络应用程序一样? - 堆栈溢出 [ ^ ]

4. anyone给我详细说明WEB SQL示例

HTML5 Web SQL数据库 [ ^ ]



另请查看以下文章 -

为什么世界需要Web SQL博客| SiteCrafting [ ^ ]



希望,它有帮助:)


am learning html 5 there is one concept web SQL using html 5,from many wesites am taking examples and try to learn.but many things which confusing me.
1.why we use this web SQL,if we have SQL server or oracle as backed.
2.if we are use web SQL Satellite is used to create database?
3.if we are create DB where it will store?in browser only?if yes then what is limit to store data?
4.anyone give me detailed explanation about WEB SQL with example .....

What I have tried:

<pre lang="C#">i refer many websites but not able to understand the concept,i knew how to create database and table but could not able to add data in table as well as fetch.

解决方案

1.why we use this web SQL,if we have SQL server or oracle as backed.

Quote:

The Web SQL Database API isn't actually part of the HTML5 specification but it is a separate specification which introduces a set of APIs to manipulate client-side databases using SQL.


WebSQL for cleint side database. SQLServer and MySQL are servers themselves and can be queried over inernet/intranet etc.
Reference: HTML5 Web SQL Database[^]
2.if we are use web SQL Satellite is used to create database?
-- what is the question here?
3.if we are create DB where it will store?in browser only?if yes then what is limit to store data?
-- Chrome (Webkit) WebSQL Database maximum file size? - Stack Overflow[^]
javascript - How can I request an increase to the HTML5 localstorage size on iPad, like the FT web app does? - Stack Overflow[^]
4.anyone give me detailed explanation about WEB SQL with example
HTML5 Web SQL Database[^]

Also check following article-
Why the world needs Web SQL | Blog | SiteCrafting[^]

Hope, it helps :)


这篇关于如何使用Web SQL HTML 5创建表和数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆