问个RoR小白问题:能实现一个一直在后台运行的服务,并能和controller通信吗?
像J2EE的service一样的。多谢! 回复 1# DirtyBear
是使用ror提供非html格式的数据? 像J2EE的service一样的 没用过
但是后台任务与controller通信有的,但是 不推荐,controller 中的一般都封装到model 中, 其实就是Ruby程序,跟RoR有一些关联,但主要还是Ruby程序。 Maybe you need to consider the server thin that will be help you solve this problem .
页:
[1]