如何编写一个在Linux服务器上运行的Remote DataModule?

发布于 2024-08-10 22:04:48 字数 387 浏览 3 评论 0原文

我想知道是否有任何解决方案可以做到这一点。有人吗?

总体情况:我想使用我的 delphi 瘦客户端通过网络访问数据。但我想保留我的服务器/服务用帕斯卡编写。

“不那么”的大局:我正在尝试编写一个 php 来模拟 SOAP Midas 数据包到 delphi 中的 ClientDataSets,但我的大脑中没有必要的肌肉来做到这一点。所以我可以尝试将 dbexpress 转换为 FPC,但我不知道这是否合法。

好吧,伙计们,我知道 PHP、java、c#/asp、python、ORM 以及类似的东西可以帮助我解决这个问题,但我是 GUI 人!每个用 cobol 编写过 10000 行报告的人都知道我在说什么。我只是想将我的肥皂连接指向网络中的某个服务器(我不拥有服务提供商)并使我的客户满意。简单如...

i would like to know if there are any solution to do this. Does anyone?

The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service writen in pascal.

The 'not so' big picture: I´m trying to write a php to emulate a SOAP Midas packets to ClientDataSets in delphi, but i dont have the necessary muscules in my brain to do that. So i could try to convert dbexpress to FPC, but i don´t know if this is legal.

Ok folks, i know that PHP, java, c#/asp, python, ORM´s and things like that could help me with this, but i´m a GUI guy! Everyone who ever programmed 10000 lines report in cobol knows what i´m talking about. I just want to point my soap connection to some server in the net (i dont own the service providers) and make my customers happy. Simple as...

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

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

发布评论

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

评论(3

故事↓在人 2024-08-17 22:04:48

RemObjects SDK 支持 Free Pascal。 Free Pascal 是一个与 Delphi 兼容的 Pascal 编译器,适用于 Linux 平台等。

http://wiki.remobjects.com/wiki/Introduction_to_Free_Pascal_support

如果您熟悉 FPC 并不喜欢编写很多行代码(正如您所指出的),我认为 RemObjects SDK 确实是一个有趣的选择。

Delphi 跨平台版本正在开发中。希望 Delphi 的下一版本能够为 Linux 平台构建 DataSnap 服务器。

RemObjects SDK supports Free Pascal. And Free Pascal is a Delphi compatible Pascal compiler for, amongst others, Linux platforms.

http://wiki.remobjects.com/wiki/Introduction_to_Free_Pascal_support

If you are familiar with FPC and don't like to write many lines of code (as you pointed out), I think RemObjects SDK is really an interesting option.

A Delphi cross-platform edition is in the works. Hopefully with the next version of Delphi it is possible to build DataSnap servers for the Linux platform.

べ繥欢鉨o。 2024-08-17 22:04:48

您可以使用 Lazarus 和 wst(Web 服务工具包)来完成此操作。我们将它用于一些客户端/服务器项目。在 Lazarus 中,您可以使用(几乎)100% 兼容的 Delphi 代码,并且可以编译为 Windows、Linux 和 OSX 的本机应用程序。

唯一的问题是学习曲线,这是相当渗透的。

You can do this with Lazarus and the wst (web service toolkit). We use it for some client / server projects. In Lazarus you can use (almost) 100% compatible Delphi code and you can compile to native apps for Windows, Linux and OSX.

Only problem is the learning curve , which is rather seep.

柒七 2024-08-17 22:04:48

Delphi 2010 DataSnap 支持 REST 协议和 JSON 作为数据包。如果您想设计解决方案以将 Delphi 应用程序与非 Delphi 应用程序集成,这可能会有所帮助。

The Delphi 2010 DataSnap support REST protocol and JSON as data packet. Perhaps this may helps if you want to design your solution to integrate your Delphi apps with non Delphi apps.

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