集成Django和Rails [英] Integrating Django and Rails

查看:103
本文介绍了集成Django和Rails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个写在RAILS的应用程序,我想添加几个功能的项目,但我觉得使用django来写这些功能,因为我更喜欢Python / Django.is有任何方式我可以写django中的应用程序和tel Rails服务器,一旦django part用户被点击,就处理转发请求的请求。

解决方案

如果真正有利于在您的环境中引入一个全新的堆栈(个人,我质疑那个好处,但你更肯定您的要求超过我的要求),我将走向消息传递的路径,而不是采用更服务驱动的方式。通过消息传递将更好地使您的系统彼此隔离,并为您提供更多的灵活性,随着两个系统的发展,将会派上用场。


I have an app written in `RAILS' and i want to add few features to the project but i feel like using django to write those features since i am more comfortable in Python/Django.is there any way i can write the app in django and tel Rails server to handle the request to forward the request once django part user is clicked.

解决方案

If there truly was benefit to introduce an entirely new stack into your environment (personally I question that benefit but you certainly more about your requirements more than I do), I'd go the path of messaging versus a more service driven approach. Going with messaging will better insulate your systems from each other and give you a lot more flexibility which will come in handy as both systems evolve.

这篇关于集成Django和Rails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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