Django and Drupal

2019-09-24 04:14发布

问题:

Since Django is a web development framework and Drupal is a CMS.

Is it possible to use them both together instead of a preferred database on Django like apache?

Maybe that question isn't clear enough.

Is it possible to use Django and Drupal simultaneously on the server side to provide a better web development solution?

回答1:

You can use Drupal and Django side-by-side on the same server for different portions of your web site, but they will be entirely separate systems. They cannot interact in any meaningful fashion (except possibly a Django app making web API calls to Drupal, if Drupal has a web API).

Django is a Python-based web development framework. Drupal is a CMS (and framework, through its module system) written in PHP. They really can't use each other.



回答2:

Communication between Drupal and any other system is possible and very common, especially using their Services module, and by calling other SOAP (and other) web services.

You can, if you want, to make both Django and Drupal work on the same server, and to call "localhost" for the services you are using, both ways. For Drupal, it is irrelevant where the actual server sits.

If you have a certain Django application you want to integrate with Drupal just write down what it is, and accordingly you will be able to get more help...

Regards, Shushu



标签: django drupal