Django 应用程序相当于 Drupal 的 CCK 和 Views 模块?

发布于 2024-09-08 08:23:26 字数 208 浏览 3 评论 0原文

是否有与 Drupal 的 Views 和 CCK 模块等效的 Django 应用程序?

我发现 Django 比 Drupal 更灵活且更有逻辑性。但我认为 Drupal 的 Views 和 CCK 模块是杀手级应用程序。它们让网站管理员非常快速地通过 GUI 构建新的数据模型和查询,而无需接触代码。这些模块对于快速应用程序开发非常有用。你知道 Django 中有类似的应用程序吗?

Are there any Django apps equivalent to Drupal's Views and CCK modules?

I find Django much more flexible and logically organized than Drupal. But I think Drupal's Views and CCK modules are killer apps. They let the webmaster very rapidly to build new data models and queries through GUI without touching the code. These modules are very useful for rapid application development. Do you know any similar apps in Django?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

紫南 2024-09-15 08:23:26

Django 是一个框架,这一点已经说过了,但是如果您寻找接近 CCK 的功能,PINAX 可以用于 python/Django,相当于 Drupal 中的模块,某种准备就绪的模块、登录/通过检查、列表、输入输出,或 CRUD 等。但绝不是单选按钮和复选框动作编程。您必须将构建块放在一起并进行一些 Python 编程。我发现自己花更多的时间在 Drupal 中加载额外的模块和主题调整,而不是在 Django 中构建一个完整的网站,也许是因为,我拥有许多库,针对反复遇到的情况,编写了多次并随着时间的推移进行了改进。我只关注新的或前沿的事物。只要您知道自己想要做什么,这两种方法都可以。严峻的事实是,对于一个想要吸引非程序员的 CMS 来说,如果你想建立出色的网站,你必须精通 php/mysql 并掌握 css,但这有点违背了目的。在法国,我们说:“最好的工具就是你每天使用的工具”。如果您对 Drupal 感到沮丧,请学习 Django,并在需要掌握 Drupal 的同时,也许您将拥有编写自己的 Drupal 和其他 CMS 的技能。祝你努力顺利。

Django is a framework, this had been said, but if you look for functionality close to CCK, PINAX makes for python/Django, the equivalent of modules in Drupal, sort of ready to go modules, login/pass check, listing, input output, or CRUDs ect. But in no ways radio buttons and check boxes action programming. You will have to put your building blocks together and indulge some python programming. I found myself spending more time loading extra modules and themes tweaking in Drupal, than putting together a full blown site in Django, maybe because, I own many libraries wrote several times and improved over time, for cases encountered over and over. I focus only on new or cutting edge things. Both approaches are ok as long as you know what you want to go. The hard fact is that for a CMS that want to attract non programmers peoples if you want to build great sites, you have to be good in php/mysql and a good grip on css, and it kind of defeats the purpose. In France we say, "the best tool is the one you use every day". If you are frustrated with Drupal, learn Django, and in the same time needed to master Drupal, you will have a skill to write your own Drupal and others CMS, maybe. Good luck in your endeavor.

欢你一世 2024-09-15 08:23:26

我认为不存在类似的情况并且有充分的理由。 Django 是一个框架,而 Drupal 是一个完整的 CMS。 Drupal 的强大功能之一是它处理内容的方式。每一块内容都是一个节点,它允许开发人员制作可以添加节点功能的模块。

Django 是一个很棒的工具,但它的优势更在于易于开发,可以让您非常快速地创建应用程序。毕竟,这就是它的建造目的。很难用 Django 来制作像 CCK 和 Views 这样的东西,而且我认为这也没有多大意义。我发现使用 Django 进行开发时,您可以使用 Django 模型和 orm 非常快速地创建大多数 CCK 和视图事物。你不能在 GUI 中做到这一点,但这从来都不是 Django 的目标。管理界面也反映了这一点,因为它主要有利于一件事。处理内容、CRUD 风格的操作。我想这就是 Satchmo 为商店创建自己的设置系统的原因。

I don't think there is something similar and for a good reason. Django is a framework, while Drupal is a full scale CMS. One of the powerful things about Drupal, is how it handles content. Every piece of content is a node, and it lets developers make modules that can add to a node's functionality.

Django is a great tool to, but it's strength is more the ease of development, that lets you create applications very fast. That is what it was built for after all. It would be hard to make something CCK and Views like with Django, and I don't think it would make much sense either. I find that when developing with Django, you can very quickly create most CCK and views things, withe Django models and the orm. You can't do it in a GUI, but that was never the goal of Django. The admin interface also reflects that, as it is good mainly for one thing. Handling content, CRUD style operations. I guess that is why Satchmo created their own settings system for shops.

贱人配狗天长地久 2024-09-15 08:23:26

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

...将 Django 与 Drupal 之类的东西进行比较没有多大意义,因为 Django 是您用来创建 Drupal 之类的东西的东西。

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

...it doesn’t make much sense to compare Django to something like Drupal, because Django is something you use to create things like Drupal.

孤独患者 2024-09-15 08:23:26

您提到的缺乏灵活性就是您为CCK 和Views 付出的代价。我使用 Drupal 和 Django 来完成主要项目。您也可以使用 Drupal 作为框架,所以在我看来,两者绝对具有可比性。

Django 拥有比 Drupal 更好的数据库抽象,遵循更现代的编程范例,如 OOP、MVC 等,更加灵活,而且 Python 直接优于 PHP。

...但如果可以的话我仍然通常使用 Drupal。它只需花费更少的时间即可完成工作,并且工作和性能良好。 Django 没有像 Views 这样的东西,而 Drupal 的表单 api 仅比 Django 领先数光年。创建多步骤 ajax 表单无需接触标记或在 Drupal 中编写一行 javascript 即可完成,甚至无需离开浏览器即可向用户呈现动态列表。

Drupal 的部署率比 Django 高得多,这不仅是因为 PHP 的流行,还因为它实际上在某些方面做得非常好。

我的时间很宝贵,只要我的系统正常工作,最终用户就不会在意。

The lack of flexibility that you refer to is the price you pay for CCK and Views. I've used both Drupal and Django to complete major projects. You can use Drupal as a framework too, so in my opinion the two are absolutely comparable.

Django has a way better database abstraction than Drupal, follows more modern programming paradigms like OOP, MVC etc, is more flexible, and Python is just straight up superior to PHP.

...but I still usually use Drupal if either will do. It just gets the job done with less time spent, and works and performs well. Django has nothing like Views, and Drupal's form api is just light years ahead of Django's. Creating multi step ajax forms can be done without ever touching the markup or writing a single line of javascript in Drupal, and presenting dynamic lists to the user can be achieved without even leaving your browser.

Drupal has a much greater deployment rate than Django, not just because of PHP's popularity, but because it actually does some things really well.

My time is precious, and the end user doesn't give a damn as long as my system works.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文