问题描述
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 有哪些缺点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)