<分区>
我想在 meteor
(版本 0.8)中构建一个项目,该项目调用 python
脚本,该脚本又将一些数据发送回 meteor
。我不确定目前执行此操作的最佳做法是什么。
DDP looks good :
“可用于从 Meteor 堆栈外部通过 DDP 协议(protocol)与 Meteor 通信的客户端。”但是 python
实现看起来还没有完成:python-ddp-client
我想我也可以从 python
直接写入 mongodb
但这听起来不是最好的主意:
- Can Python write to database and Meteor reactively update
- How do I access Meteor's mongodb from another client, while meteor is running?
我错过了什么吗?有更好的方法吗?