Delphi Web 和 Delphi 目前的选择是什么?网络服务开发
我正在玩弄德尔福。我的大部分桌面开发都是用 .Net 完成的,嵌入式系统则用 C 完成。我在 RoR 和 RoR 中完成了一些 Web 开发。 Python(Django、CherryPy) 我有兴趣尝试一个具有本机客户端和 Web 客户端的 Web 服务(REST 或 SOAP)项目。
因为我最近重新受到学习 Delphi 的启发,所以我很好奇使用 Delphi 构建 Web 服务和 Web 客户端的选项是什么。大多数 Delphi 文档都有点过时,但到目前为止我发现了以下选择:
- DataSnap
- WebSnap
- WebBroker
- IntraWeb
- Data Abstract 和 RemObjects 的 RemObjects SDK
我的印象是 WebSnap 已经死了,但其他技术仍在开发中。对于研究哪种技术有任何指导吗?
ps 我意识到 Delphi 并不是 Web 开发的一个广泛流行的选择,但我很想尝试一下,因为我一直在享受学习 VCL 的乐趣。
I'm toying around with Delphi. Most of my desktop development is done in .Net, and embedded systems with C. I've done some web development in RoR & Python (Django, CherryPy) I am interested in taking a crack at a project that would be a web service (REST or SOAP) with a native client and a web client.
Because I've recently been re-inspired to learn Delphi, I'm curious what the options are to build the web service and web client with Delphi. Most of the Delphi documentation is a little dated but so far I've found these choices:
- DataSnap
- WebSnap
- WebBroker
- IntraWeb
- Data Abstract and RemObjects SDK from RemObjects
I get the impression that WebSnap is dead, but the other technologies are still being developed. Is there any guidance about which technology to investigate?
p.s. I realize that Delphi isn't a wildly popular choice for web development, but I'm curious to try since I've been having fun learning the VCL.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
您也许可以将我们的 Synopse SQLite3 Framework 添加到您的列表中。
有一些有趣的功能:
You could perhaps add our Synopse SQLite3 Framework to your list.
There is some interresting features:
Web Service Toolkit 是 FPC、Lazarus 和 Delphi 的 Web 服务包; “Web 服务工具包”旨在简化 FPC、Lazarus 和 Delphi 用户的 Web 服务使用和创建。最好从 svn 中查看,因为 0.5 版本实际上已经过时了。
Web Service Toolkit is a web services package for FPC, Lazarus and Delphi; “Web Service Toolkit” is meant to ease web services consumption and creation by FPC, Lazarus and Delphi users. Better check out from svn as the 0.5 release is actualy outdated.
RESTful 服务器端方法调用托管为 ISAPI dll,或者仅使用 Indy HTTP Server 组件。这确实是一种非常简单而强大的方法,可以让您快速入门,而无需很大的学习曲线。
RESTful server side method calls hosted as an ISAPI dll or just use the Indy HTTP Server component. It's really a quite simple and powerful approach and lets you get started quickly without a big learning curve.
DelphiMVCFramework 是一个强大的 RESTful 框架,也用于网站开发
https://github.com/danieleteti/delphimvcframework
DMVCFramework 功能
这是DMVCFramework 开发人员指南
https://danieleteti.gitbooks.io/delphimvcframework/content/
如果您需要支持,可以在是拥有 600 多名用户的官方 Facebook 群组 https://www.facebook.com/groups/delphimvcframework/
我是主要开发人员,但有超过 6 个活跃贡献者。
DelphiMVCFramework is a powerful RESTful framework used also for website development
https://github.com/danieleteti/delphimvcframework
DMVCFramework features
Here's the DMVCFramework Developers Guide
https://danieleteti.gitbooks.io/delphimvcframework/content/
If you need support, there is the official facebook group with more than 600 users https://www.facebook.com/groups/delphimvcframework/
I'm the main developer but there are more than 6 active contributors.
WebHub 是另一个成熟但鲜为人知的第三方 Delphi Web 框架。
WebHub is another well established, though lesser known third party Delphi web framework.
下面是可用于构建 Web 服务服务器的其他选择,有点类似于 datasnap 或 remobjects/dataabstract。几年前我用 kbmMW 做了一些工作,它是一个可靠的库。我认为 kbmMW 和 RealThinCLient 都有免费和/或开源版本:
RealThinClient
kbmMW
Couple other choices that can be used to build a webservices server, somewhat simlar to datasnap or remobjects/dataabstract, are below. I did some work years ago with kbmMW and it's a solid library. I think both kbmMW and RealThinCLient have free and/or open source versions:
RealThinClient
kbmMW
我们有一个用 Delphi Prism/ASP.NET 编写的 Delphi 服务器应用程序的 Web 前端。它运行良好,使我们能够在 .NET 环境中利用我们的 Delphi 语言技能。
We have a web front end for our Delphi server app written in Delphi Prism/ASP.NET. It works great and allows us to leverage our Delphi language skills in a .NET environment.
这个很老了,但是很多事情都发生了变化,我自己已经离开了Intraweb,去了UNIGUI,因为它基于EXTJS并生成单页应用程序。
This one is very old,but a lot of things have changed,I myself had left Intraweb and gone to UNIGUI,since its based on EXTJS and produces single page applications.
自从我在这个帖子上留下最后一条消息以来已经过去两年了,
虽然uniGUI仍然是唯一已经在Delphi中创建SPA的解决方案,但看来IW17将是真正的前沿,Delphi历史上的分水岭。客户端渲染无需服务器通信,Wordpress集成,无需编写像其他框架、Websockets、Fibers、我们的“Delphi React”一样,JavaScript 中的一行。
Well Its been two years since I left my last message on this posts,
although uniGUI is still the only solution already made for creating SPA in Delphi,it seems that IW17 will be a real cutting edge,an waters divisor in the history of Delphi.Client side rendering without needing server communication,Wordpress integration,no need to write a single line in javascript like other frameworks,websockets,fibers,our "Delphi React".