I'm looking for advice if it is possible to use server based database with the onsen/monaca framework? I know Monaca has its own backend database that can be utilized; however, I intend to not have my project's database cloud based.
如果可以使用基于服务器的数据库和onsen/monaca框架,我正在寻求建议。我知道Monaca有自己的后端数据库可以利用;但是,我不打算使用基于数据库云的项目。
Initially, I would have used mysql or mongodb if I was working with Php/javascript, but given I want to make hybrid phone app using onsen/monaca, I don't know if I can go the same route. I'm new to onsen, and I am still learning.
最初,如果我使用Php/javascript,我可能会使用mysql或mongodb,但考虑到我想使用onsen/monaca开发混合电话应用程序,我不知道我是否能走同样的路。我是翁森的新手,我还在学习。
1 个解决方案
#1
2
Onsen is simply a UI framework or in short, a very fancy collection of html, css, and JS. It is compatible with any database you use. You would need to utilize JS to connect to some server-side language like PHP or use Node.JS that would actually connect to your remote database. Hope that helps!
Onsen只是一个UI框架,简而言之,是html、css和JS的集合。它与您使用的任何数据库兼容。您需要使用JS连接到一些服务器端语言,如PHP或使用Node。它实际上会连接到你的远程数据库。希望会有帮助!
Local databases, on the other hand, have to do with the target device and phonegap than Onsen. The most common plugins support SQLite.
另一方面,本地数据库与目标设备和phonegap有关,而不是Onsen。最常见的插件支持SQLite。
#1
2
Onsen is simply a UI framework or in short, a very fancy collection of html, css, and JS. It is compatible with any database you use. You would need to utilize JS to connect to some server-side language like PHP or use Node.JS that would actually connect to your remote database. Hope that helps!
Onsen只是一个UI框架,简而言之,是html、css和JS的集合。它与您使用的任何数据库兼容。您需要使用JS连接到一些服务器端语言,如PHP或使用Node。它实际上会连接到你的远程数据库。希望会有帮助!
Local databases, on the other hand, have to do with the target device and phonegap than Onsen. The most common plugins support SQLite.
另一方面,本地数据库与目标设备和phonegap有关,而不是Onsen。最常见的插件支持SQLite。