Delphi服务器框架用于管理会话并使用JSON来响应ajax请求? [英] Delphi serverside framework for managing sessions and respond with JSON to ajax requests?

查看:553
本文介绍了Delphi服务器框架用于管理会话并使用JSON来响应ajax请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有重新创造轮子,我可以用什么来管理网络应用程序中的用户会话,并能够使用JSON对ajax请求进行响应?

Without reinventing the wheel, what I can use to manage user sessions in a web application and being able to respond with JSON to ajax requests?

是否有一些框架(例如使用Indy组件或类似的东西)?

Is there some framework (made for example with Indy components or something like this)?

赏金注意事项:

在实践中对我来说,足以让我们回答一个服务于json的服务器应用程序的明确例子。不知怎的,这个php示例的Delphi示例提到了 HERE 。 (没有DB部分,我想看看发送JSON是什么意思的基础知识,我有TIdHTTPServer的基本知识。)

in practice it is enough for me to have a reply with a clear example of a server application that serves json. Somehow a Delphi example of the php example mentioned HERE. (without the DB part, I want to see the basics of what does it mean to send JSON. I have basic knowledge of TIdHTTPServer.)

推荐答案

也许这可以帮助你:

Delphi XE中的REST服务器使用DataSnap白皮书

REST Servers in Delphi XE Using DataSnap Whitepaper

了解如何使用Delphi XE中提供的功能构建REST服务器,如何使用额外的Delphi支持代码扩展它们,以及如何利用jQuery库。

Learn how to build REST servers using features available in Delphi XE, how to extend them with extra Delphi support code and how to take advantage of the jQuery library.

MarcoCantù

Marco Cantù

http://app.en25.com/e/er.aspx?s=608&lid=4414&elq=d428643420d2494581299418d9753feb

这篇关于Delphi服务器框架用于管理会话并使用JSON来响应ajax请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆