html5 sqllite crud,CRUD operation using html5 [closed]

You need to use several kind of techniques:

Javascript loads via AJAX data from your server, best using JSON format. You should consider jQuery or Sencha ExtJS to ease AJAX and JSON handling.

Than you can store the data localy using webstorages or indexedDB, depending on the complexity of your data. The more complex, the more happy you might be with indexedDB as it allows you to have indexes and some sort of accelerated filtering. If you use jQuery take a indexedDB plugin to ease your live.

To show, add, edit and in general manipulate your data offline, consider to build your forms, tables, make them sortable. jQuery can help you to build this up too. Although Sencha ExtJS has a very nice table configurator.

uploading data to your server needs some kind of synchronisation logics, best server side, to keep the control over the validation of data central. You can work with JSON as well, its easy to generate and to parse at server side, in any server-side language.

If you don't have a favorite Javascript lib and you are new to all this, have a look at jQuery. It also might teach you the underlaying technologies. Sencha will only hide the technology from you, which is somehow "bad", as it keeps you blind and it can be hard or sometimes impossible to accomplish very complex tasks.

Actually what you need is to learn Javascript, as its the core of what people think is html5.

This answer is by far not a complete guide or tutorial, but hopefully it contains some hints for you! Wish you good start.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值