What are some of Drupal#39;s shortcomings?(Drupal 有哪些缺点?)
问题描述
Drupal 是一个无所不能"的 CMS.有些模块允许您添加几乎任何功能,这很棒.然而,感觉很多功能(v5 和 v6)似乎分散在用户周围并且不直观.作为一名开发人员,我感觉自己用泡泡糖和绳子把一个网站拼凑在一起.
Drupal is very much a "Do Everything" CMS. There are modules that allow you to add almost any functionality, which is great. However, it feels like a lot of the features (v5 and v6) seem scattered around and unintuitive for the user. As a developer, I'm left with the feeling of having patched a site together using bubble gum and string.
例如,要将文本添加到默认搜索框(单击时消失),您必须添加一些 jQuery 代码或覆盖主题.我还发现菜单系统比应有的更复杂.
For example, to add text to the default search box (that disappears when clicked), you have to either add some jQuery code OR override the theme. I've also found the menu system more complicated than it should be.
只有我一个人有这种看法吗?关于 Drupal 的核心,你会改变什么(如果有的话)?
Am I the only one with this opinion? What things (if any) would you change about Drupal's core?
推荐答案
缺乏真正的面向对象设计意味着您经常不得不依靠其他开发人员的远见来留下钩子"功能来让您改变某种行为.
The lack of true object oriented design means that you frequently have to rely on other developers' foresight to leave "hook" functions to let you alter a certain behavior.
使用 Drupal 5 我也遇到过这样的情况,完成相对简单的设计更改的唯一方法是修补 Drupal 本身(然后确保在每个新的官方 Drupal 版本中重新应用修补程序).但是,公平地说,您应该已经看到 Drupal 4 中的情况有多糟糕.
Using Drupal 5 I've also run in to situations where the only way to complete a relatively simple design change is to patch Drupal itself (and then be sure to reapply patches with each new official Drupal release). But, to be fair, you should have seen how bad it was in Drupal 4.
我也很恼火,当我花时间在当前生产版本的 Drupal 中识别错误或怪癖时,我提交了一个补丁,但该补丁从未提交,因为基本上只有安全错误在当前版本中得到修复稳定版.
I'm also annoyed that when I take the time to identify a bug or quirk in the current production version of Drupal, I submit a patch, and the patch is never committed because, basically only security bugs get fixed in the current stable release.
这篇关于Drupal 有哪些缺点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Drupal 有哪些缺点?
基础教程推荐
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- 使用 PDO 转义列名 2021-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- PHP 守护进程/worker 环境 2022-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01