Indy 的 TidHTTPServer 与 Delphi 的 TDSHTTPService 的推荐或比较
我需要使用 Delphi 2010 实现一个小型、独立的 Web 服务器,用于处理 REST API 调用。Delphi 2010 似乎有两个开箱即用的简单选择:Indy 的 TidHTTPServer 和 Delphi 自己的 TDSHTTPService。
我熟悉 Indy 组件,并且可能毫无疑问地使用它们;有很多关于它们的文档和示例。但我没有使用 DataSnap 的经验; TDSHTTPService 似乎只有很少的文档。
两者之间有什么建议或比较吗?
I need to implement a small, standalone web server that will be used to process REST API calls, using Delphi 2010. There seem to be two easy choices available with Delphi 2010 out of the box: Indy's TidHTTPServer and Delphi's own TDSHTTPService.
I am familiar with Indy components and would probably use them without question; there is a lot of documentation on them and examples. But I have no experience with DataSnap; TDSHTTPService seems to have very little documentation.
Any recommendations or comparisons between the two?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会选择 datasnap,因为它内置了对 REST 的支持。
并且有一个 Marco Cantu 的白皮书 详细描述了它视频
旁边他的新书《Delphi 2010手册》比上面的白皮书有更多的细节,应该很快就会以电子书形式推出。
Bob Swart 还有另一份白皮书,其中包含 DataSnap 的视频
I would go with datasnap, because it has built in support for the REST.
and there's a white paper by Marco Cantu describe it in good details with videos
Beside he's new Book "Delphi 2010 Handbook" has more details than the above white paper, and should be available soon as eBook.
Also Bob Swart has another white paper with videos for DataSnap