DataSnap 是将现有 Windows 应用程序的数据和业务逻辑引入移动/Web 客户端的合适解决方案吗?

发布于 2024-12-19 17:38:32 字数 269 浏览 2 评论 0原文

我需要采用一个巨大的 Delphi XE 应用程序(由专有 SQL 服务器 NexusDB 支持),并开始为我的客户提供以新方式访问系统的能力:

  • 用于慢速/VPN 连接的瘦 Windows 客户端
  • 移动/平板电脑
  • Web

DataSnap 适合于此或是引入中间层提供远程/移动访问的错误方式?欢迎其他解决方案/想法。

(我有 XE2 Enterprise,但在 XE Enterprise 上停留了一段时间。)

I need to take a huge Delphi XE application (backed by proprietary SQL server NexusDB) and begin providing my clients the ability to access the system in new ways:

  • Thinner Windows client for slow/VPN connections
  • Mobile/Tablet
  • Web

DataSnap appropriate for this or is introducing a middle tier the wrong way about providing remote/mobile access? Other solutions/ideas welcome.

(I have XE2 Enterprise but am stuck on XE Enterprise for awhile.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情仇皆在手 2024-12-26 17:38:32

DataSnap 被 Embarcadero 积极定位为多平台连接解决方​​案,其中服务器是用 Delphi 编写的,并且移动连接器(在 XE2 及更高版本中)可用于各种移动设备平台。所以快速回答是肯定的,一般来说是合适的。

它适合你吗?你没有说太多可以帮助我回答这个问题的内容;您愿意购买 Delphi 的 Enterprise 或 Architect SKU,所以我猜是的。

如果是我,我会寻找一种实现纯粹简单的 REST 架构的解决方案,该架构可用于每个系统,无论是移动系统还是其他系统,无论什么语言或平台,但我没有建议的替代方案,因为它在我看来,SOAP 几乎已经消亡,并且没有通用的替代技术可以完成 SOAP 客户端/服务器系统所做的所有事情。我很想考虑“推出自己的 REST+json”或评估 Remobject 的产品,并从业务和技术的角度选择一条对您有意义的路径。

Datasnap 很好,但它不是唯一的选择。它可能是当前可用的最简单、最容易推出的选项,如果您立即想要苹果、安卓和其他一些选项,也是 XE2 中唯一一个“开箱即用”的选项。

DataSnap is being aggressively positioned by Embarcadero as a Multi-platform connectivity solution, where servers are written in Delphi, and mobile connectors are available (in XE2 and later) for a variety of mobile device platforms. So the quick answer is yes, it is suitable in general.

Is it suitable for you? You haven't said much that would help me answer that question; You are willing to buy Enterprise or Architect SKUs of Delphi, so I would guess yes.

If it was me, I'd look for a solution that implements a pure simple REST architecture that is available to every system out there, mobile or otherwise, no matter what language or platform, but I haven't got a suggested alternative because it seems to me that SOAP is nearly dead and that there is no universal replacement technology out there that does everything that soap client/server systems do. I'd be tempted to consider "roll your own REST+json" or evaluate Remobject's product offerings too, and select a path that makes sense for you, from a business and technical point of view.

Datasnap is fine, but it's not the only option. It's probably the simplest and most easy to roll out option currently available, and the only one "out of box" ready to go in XE2 if you want apple, android, and a few others, right away.

日裸衫吸 2024-12-26 17:38:32

这取决于您的安全需求以及您向客户提供数据的方式。正如我经常指出的,dbExpress-Datasnap 存在很大的安全缺陷(而 DCOM 版本不太适合 LAN 之外,并且不提供开箱即用的移动设备支持)。

Web 应用程序的问题较少,因为 datasnap-Web 服务器连接可能是内部的,这将由 Web 应用程序来确保数据保护。

That depends on your security needs, and the way you're providing data to clients. As I often pointed out, dbExpress-Datasnap has big security flaws (while the DCOM version is not well suited outside a LAN, and does not offer out of the box mobile devices support).

A web application would have less issues because the datasnap-web server connection would be probaby internal, it would be up to the web application to ensure data protection.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文