Will Websql really be discontinued?

Asked

Viewed 388 times

5

I’m having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, Indexeddb, Mysql, PHP, along with the Intel XDK IDE.

The program is quite simple it captures information from Mysql and persists in Indexeddb, this only works in the emulation of Intel XDK, when I install it on mobile with Android 4.1.2 (API 16), does not work, use the plugins and yet it won’t.

The point is, this project has only one screen button to perform synchronization and a ListView, and how simple it is at the moment to use the Websql that works perfectly and then tomorrow or after the Websql will even be discontinued ?

2 answers

6


Currently this technology is considered deprecated and should not be used.


No one can say when and if a technology currently supported by any platform will be supported in the future. History indicates that even certain things are no longer certain at some point. It is part of the risk of developing choosing a technology that may become obsolete and not supported in future versions.

Specifically, this technology is more risky. It is not considered standard, it is only supported on some web development platforms, it is almost certain that it will not be supported by others. And yes, one day it may no longer be supported on current platforms.

The lack of support in a certain way already occurs. I don’t see this being worked where it is officially supported. It seems to me to be legacy already. But I also don’t see that it will soon be removed from the platforms that support it.

The option is Indexeddb. If you’re having problems with it, try Scan them. Quitting doesn’t seem to be the best option.

If you are absolutely certain that there is no solution then you can use alternatives. Ideally it would be interesting to support the two technologies, the standard when it gives, and the alternative when it is the only possibility.

Current support for Websql.

Current support for Indexeddb.

  • Note that the AP makes a little confusion between IndexedDB and WEBSQL, he makes it look like he’s using IndexedDB, but in a few moments he calls it WEBSQL.

  • Might be even.

  • Sorry friends, explaining better: I’m using Indexeddb but it doesn’t work, so I created this topic to ask for more information about WEBSQL and see if it really pays to work with this technology and not have future problems. But with all the answers,, they enlightened me, so I’m no doubt, I’m no doubt - thank you all

4

I see you make a little confusion between IndexedDB and WebSQL, your question implies that you are using the IndexedDB.

But unfortunately your problem is with Webview, only in the Version 4.4 to WebView is now based on Chromium, to be exact, it uses the same version of Chorme See 30 to Android... you can read more about it in the following link: Webview or Can I Use Indexeddb

Then you have two options, continue with Indexeddb and upgrade Android to 4.4+ or buy a more up-to-date device.

Your second option is to use SQLite, how do I believe that the IntelXDK is based on Cordova, you can use the following plugin: Cordova-plugin-sqlite

Browser other questions tagged

You are not signed in. Login or sign up in order to post.