Sencha Mysql Queries

2020-05-07 10:40发布

I'm about to port an Android-Travellog App to other Plattforms using Sencha Touch. The Problem is, that Sencha only has a Store System to store Data, but doesnt appear to have a possibilty to acctually make MySql queries. And since most of the Mysql code in my previous app is already there, id would be quite a pain to redo everything with Senchas new System. Is there a possibilty to use mysql (or any other sql) queries with Sencha to Store Data on the Phone?

1条回答
forever°为你锁心
2楼-- · 2020-05-07 11:29

Sencha stores and proxies abstract away the need to write raw query code. A store can use one of a number of different proxies for interfacing with different back-end data stores, one of which is the SQL proxy, which as you can see in the source code provides an API for basic data querying WebSQL databases.

If you want to gain the full benefit of the framework and do things the "Sencha way" you'll probably want to start from scratch and architect your app to use the stores API.

查看更多
登录 后发表回答