如何使用Grails框架实现ajax投票应用程序?

发布于 2024-07-18 08:56:08 字数 27 浏览 3 评论 0原文

有什么好的代码示例或文章可以提供帮助吗?

any good samples of code or articles that can help?

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

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

发布评论

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

评论(1

怼怹恏 2024-07-25 08:56:08

没有可以进行“投票”的插件,因为投票是特定于领域的。

在 grails 中实现一个简单的投票应用程序会很容易。 我会写在这里,但我需要更多关于你投票的内容、谁投票等的详细信息。

至于 ajax 部分,它与投票正交。 要在您的应用程序中实现“ajax”,只需使用remoteFunction标签:http://www.grails。 org/Tag+-+remoteFunction 获取一些文档。 或者你可以使用 jquery 自己推出。

There isnt a plugin that can do "voting", because voting is quite domain specific.

It would be easy to implement a simple voting app in grails. I'd write it here, but I'd need more details as to what you are voting for, who votes etc.

As for the ajax part, that is orthogonal to voting. to implement "ajax" in your app, simply use the remoteFunction tag : http://www.grails.org/Tag+-+remoteFunction for some documentation. or you can roll your own using jquery.

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