通过 iOS 连接到 DBMS 服务器
我必须通过 iOS 连接到 RDBMS(本地和远程)。我已经看到了解决方案(http://odbrouter.com/ipad),但为此我们必须购买一个服务器端程序可以运行,但它非常昂贵,而且不是一个易于管理的解决方案,因为我们必须为 1000 多家商店购买它,并且为每个商店进行更新等将非常困难。
我刚刚签出了以下 iOS 应用程序 ( http://www.impathic.com/impathic/index.html html),它在没有任何服务器端代码的情况下做同样的事情,这让我认为,会有一种方法可以在没有任何服务器端代码的情况下做到这一点......所以我想知道这些 RDBMS 是否暴露自己我期待的方式。
谢谢。
I have to connect to a RDBMS (locally and remotely) via iOS. I have seen the solution ( http://odbcrouter.com/ipad), but for that we have to buy a server side program to run but its very expensive and not a mangeable solution as we have to buy it for more than 1000 stores and making updates etc for each store will be very difficult.
I have just checkout the following iOS app ( http://www.impathic.com/impathic/index.html), it is doing the same thing without any server side code, which make me think that, there will be a way to do this without any server side code... So I was wondering if these RDBMS expose themselves the way I am expecting.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个冷漠的程序非常有趣,但他们很可能使用第三方库。
RDBMS 有线协议并不常见,通常只有 ODBC 和 JDBC 驱动程序具有它们的实现(当然还有实际的本机驱动程序)。
如果您的数据库是 Postgres 或 MySQL(或其他一些 OSS DB),您很可能只需将本机驱动程序源代码移植到 iOS 并为 ARM 构建它。我还没有做过,但它可能会起作用。我不知道其他数据库是否有适用于 iOS 的 ARM 本机驱动程序或注释。
否则,根据您计划进行的工作类型,您可能会更好地使用中间件解决方案。对于基本情况来说,Web 服务非常简单。
That impathic program is very interesting, but they're likely using a 3rd party library.
The RDBMS wire protocols aren't common, and typically only ODBC and JDBC drivers have implementations of them (and the actual native drivers of course).
If your database is Postgres or MySQL (or some other OSS DB) you may well be able to simply port the native drivers source code to iOS and build it for ARM. I've not done it, but it might work. I don't know if any of the other DBs have ARM native drivers for iOS or note.
Otherwise, you would likely be better off with a middleware solution, depending on what kind of work you plan on doing. Webservices are pretty straight forward for basic cases.