Are Django applications equivalent for Drupal CCK and Views?

Are there Django applications equivalent to the Drupal and CCK views?

I find Django more flexible and logically organized than Drupal. But I think Drupal Views and CCK modules are killer apps. They allowed the webmaster to quickly create new data models and queries using the graphical interface without touching the code. These modules are very useful for rapid application development. Do you know any similar apps in Django?

+4
source share
4 answers

Django is the framework structure that was mentioned, but if you are looking for functionality close to CCK, PINAX creates for Python / Django the equivalent modules in Drupal, ready-to-work modules, login / password, listing, input output or ect CRUD. But in no case do the switches and flags switch. You will need to combine your building blocks and indulge in python programming. I found that I spend more time loading additional modules and themes customizable in Drupal, instead of building the entire bloated site in Django, perhaps because I have many libraries written several times and improved over time, for occasions that met again and again. I focus only on new or most modern things. Both approaches are suitable as long as you know what you want. The difficult fact is that for a CMS that wants to attract non-programmer people, if you want to create great sites, you have to be good in php / mysql and good css linkage, and this partly hits the target. In France, we say: "The best tool is the one you use every day." If you are disappointed with Drupal, learn Django and, at the same time, to learn Drupal, you will have the ability to write your own Drupal and other CMS. Good luck in your efforts.

+4
source

I do not think that there is anything like that for a good reason. Django is the foundation, and Drupal is the full-blown CMS. One of the powerful features of Drupal is how it handles content. Each piece of content is a node, and it allows developers to create modules that can add node functionality.

Django is a great tool, but strength is the ease of development, which allows you to build applications very quickly. So it was built in the end. It would be difficult to do something like CCK and Views, as with Django, and I don't think that would make much sense either. I find that when developing with Django you can very quickly create most CCKs and view things using the Django and orm models. You cannot do this in the GUI, but that was never the goal of Django. The admin interface also reflects this, as it is mostly good for one. Content processing, CRUD style operations. I think that’s why Satchmo created its own customization system for stores.

+1
source

http://docs.djangoproject.com/en/dev/faq/general/#is-django-a-content-management-system-cms

... it makes no sense to compare Django with something like Drupal, because Django is what you use to create things like Drupal.

+1
source

The lack of flexibility you are talking about is the price you pay for CCK and Views. I used Drupal and Django to complete large projects. You can use Drupal as a basis, therefore, in my opinion, they are absolutely comparable.

Django has a better database abstraction than Drupal, follows more modern programming paradigms such as OOP, MVC, etc., is more flexible, and Python simply surpasses PHP.

... but I still usually use Drupal if this is done. It just does its job in less time, and it works and works well. Django has nothing to do with Views, and the Drupal api form is just a few years ahead of Django. Creating multi-stage ajax forms can be done without touching the markup or writing a single javascript line in Drupal, and providing dynamic lists to the user can be achieved without exiting the browser.

Drupal has a much faster deployment speed than Django, not only because of the popularity of PHP, but because it actually works really well.

My time is precious, and the end user doesn't give a damn while my system is running.

+1
source

Source: https://habr.com/ru/post/1314704/


All Articles