Phonegap: WebSql or SqLite?

后端 未结 3 942
北荒
北荒 2021-02-19 13:00

I have been working with phonegap for little time, and i\'m having some trouble with the concept of storage in it.

So, the documentation states that there is this datab

3条回答
  •  长发绾君心
    2021-02-19 13:28

    HTML 5 has this implementation of databases and the implementation is done by embedding Sql Lite database in to browser.

    Browser's like chrome and Safari have there implementation of Html5 databases implemented using sqlLite termed as websql but when I was in touch, Mozilla wasn't implementing the Websql instead they were implementing Indexed DB.

    Better option I think is to use Backbone.js or Lawnchair although internally both of them use websql but the API's wrap everything for you.

    Hope this helps.

提交回复
热议问题