週五, 2008-02-15 02:51 — charlesc
Table of Content
新功能
Maintenance releases
安裝與升級
Upgrading from Drupal 4.7 or earlier
Upgrading from Drupal 5.x
Upgrading from a Drupal 6.0 release candidate
Additional notes
經過一年的開發,Drupal 6.0 來了!在整個開發過程裡,我們處理了超過 1,600 個工作項目,這些成果都顯現在 Drupal 6 的使用性的改善、安全性與維護工作的強化、更友善的安裝過程、更具延展性的開發架構裡。不管是錯誤的修正或功能的需求,我們所作的工作都依循 Drupal 對於開發者、設計者的承諾,力求兼具彈性與功能。
到目前為止,採用 Drupal 的網站包括了華納唱片、紐約觀察報、Fast Company、Popular Science和國際特赦組織的主網站,以及SonyBMG、富比士、哈佛大學等許多機構的專案網站。Drupal 也可以用來開設個人部落格(Tim Berners-Lee(www 發明人))、架設播客網站(TWIT.tv)、經營線上社群(SpreadFireFox.com)、收藏藝術家作品(Terminus 1525),或是向大眾傳遞訊息(The Onion)。
新功能
Drupal 6.0 包括了許多新功能,有些你在安裝時一眼就可以看出,有些則隱身在幕後。如果想要快速瞭解 Drupal 6,可以看看 Greg Knaddison 所製作的影片 - New features in Drupal 6.0 screencast,或是下面所列出的影片教學。我們做的改進太多,以下只簡要列出那些絕對令人驚豔的部份。
有史以來最容易使用的 Drupal
Drupal 6 超簡單的安裝程序,可以在幾分鐘之內架設一個網站,讓你有充裕的時間來享受全新的、直覺的拖拉介面。
快速/簡單的設定
很簡單~真的很簡單~因為新的安裝程式會引導你快速地完成全部流程。你甚至可以在安裝的時候就匯入想要使用的語系檔,從一開始就使用熟悉的語言來進行操作,然後馬上就可以開始張貼內容了!請參考 Addison Berry 所製作的影片教學。 拖拉式管理介面
現在,Drupal 可以使用拖拉的方式,來管理網站選單、移動區塊位置、組織文件大綱。這種拖拉式的使用介面,可以用在選單項目、討論區、分類、上傳文件、輸入格式、個人資料欄位等地方。 能通各國語言
可以透過簡易的介面,將文章翻譯成不同的語言。讓 Drupal 根據特定網址、使用者設定或瀏覽器設定,自動選擇所使用的語言介面。直接支援由左至右和由右至左的文字走向。請收看由 Michael F 和 Greg Knaddison 所製作的影片介紹。
改進多語介面
在新增語系、安裝模組或啟用版型時,自動匯入語系檔
快速的介面翻譯
下載並安裝本地化模組,就可以直接翻譯 Drupal 的使用介面。
讚!新的核心模組!
Drupal 的核心模組,也包含了許多令人驚喜的新功能。
動作與觸發
需要自訂工作流程嗎?需要在發表新文章時自動寄送電子郵件?或是控制文章的發佈流程?有了全新的、功能強大的「動作」功能,只要按幾下滑鼠就可以滿足這些需求,完全不需要寫程式!這些動作可以用在文章、使用者、回應等地方。 使用 OpenID 登入
Drupal 6 內建 OpenID 支援,讓你的訪客更容易成為你的網站會員。OpenID 是一個在網路上自由享用單一身份識別的方法,有了它,你可以登入許多網站、而不需重複繁雜的註冊程序。 更新狀態模組
讓你可以即時取得新版本和安全性更新的資訊。此模組會與 drupal.org 保持聯絡,讓你知道你所使用的 Drupal、模組和版型是否有新的版本。
版型:超簡單、真簡單
修改你的網站外觀,變得愈來愈容易了,而且功能一樣強大、但卻又更有彈性。
純 CSS 版型
使用簡易的 .info 版型檔案,來定義區域、相依性和功能,完全不用寫 PHP 程式碼,讓你可以使用單純的 CSS 來作設計。
版型開發模組
Drupal 6 提供新的工具給版型設計師,包括超讚的 Theme Developer 模組(需另行下載)。它像是專供 Drupal 版型開發所特製的 Firebug,可以大幅地提高你的設計效率。請參考 Moshe Weitzman 所提供的影片說明。 版型客製化
想要作些改變?幾乎所有可以修改版型的內容,現在都使用以簡易的 HTML 所撰寫的獨立的版型檔案,只要把範本複製到你的版型資料夾,並且依據需求修改即可。不寫程式、沒有煩惱。請收看由 Earl Miles 所錄製的介紹影片。 強化預先處理的部份
預先處理的功能,讓版型設計師可以在版型裡遠離 PHP 程式碼(template.php 檔案)。版型跟以前一樣彈性,同時卻有更完整的說明文件、更容易使用。
統一的作法
Drupal 6 把它的版型支援和自動翻譯功能,延伸到由 JavaScript 所提供的使用介面元素。
更新的 jQuery
從 Drupal 5 開始,Drupal 運用功能強大的 JavaScript 程式庫 jQuery 來提供使用介面的強化與 Ajax 方式的互動。Drupal 6 持續此一作法,採用 jQuery 來提供更豐富的使用體驗。jQuery 1.2.3 已包含在 Drupal 6 裡。
更安全的 Drupal
從更新狀態模組開始,我們有更多工具來保護你的網站和使用者。
我們會罩你!
Drupal 的安全專家會幫助你,保護你的網站安全。我們與模組開發者通力合作,提供所需的安全性更新。藉由更新狀態模組和安全性聲明電子報,你將可以在第一時間取得最新的安全性更新資訊。 密碼強度檢測
Drupal 會檢驗你的密碼強度、提供建議。 更精細的權限控制
以角色為基礎的權限控制,現在更精密了。你可以簡單卻精確地管理你的使用者權限。
PHP 輸入格式控管
"PHP 輸入格式" 現在是一個非必選的核心模組,預設並不會啟用,讓你更安全。
效能與維護
即使有這麼多的新功能與改進,我們仍然做了校能上的最佳化。每個頁面所需的程式碼更少了,你可以在相同的記憶體限制裡使用更多的模組。
(未譯完,懇請接力@@)
最佳化過的程式碼
Drupal 6 將大部分的核心模組分割成多個較小的模組,只載入所需的部份,可以簡化每一個頁面所使用的程式碼。 JavaScript 的整合和區塊快取的效能也都做了改進,不論是網站會員或匿名訪客都能體驗更快的速度。
延展性
對於大型網站, Drupal 6 可以使用 Squid 或 Pound 這類的 reverse proxy 來提昇網站的效能。 新的選單系統
Drupal 的選單系統已重新改寫,更有效率、功能更強大。
Better file handling
Files are keyed to users instead of posts, and new, reusable validation functions are available that check file sizes, extensions and resolution.
Extended logging
Choose between database or OS-level logging, with the flexibility to monitor your Drupal site events with your own enterprise monitoring tools. Drupal's monitoring tools follow the guidelines in RFC 3164. Schema API
Drupal 6 的 Schema API 對於建立和管理資料表提供了更豐富的支援,改進了核心模組與支援模組對於 MySQL之外的其他資料庫伺服器的相容性。
Batch API
Run time-consuming operations with the Batch API. An automatic progress bar monitors the tasks running in the background through multiple HTTP requests.
命令列模式
可以很方便地使用新的 drupal.sh,在終端機裡的命令列執行 Drupal 的程式碼。
還有一些小改進
藉由許多小調整,提升你的 Drupal 體驗!
更棒的投票功能
可以快速新增投票主題和管理選項。
討論區模組強化
在討論區裡可以加入投票、小測驗或任何其他內容類型。有更細緻的權限設定,可以滿足討論區版主的需求。
更簡單的網址別名管理
使用更強的過濾工具,可以快速找到網址別名。 電子郵件通知
在核准、停權或是刪除使用者時,都會以電子郵件通知網站管理員。
更好的匿名回應功能
Drupal 6 會記住匿名回應者的聯絡資料,以後要再發表回應時,就能自動填入聯絡資料。
新的摘要處理方式
使用新的互動式工具,將長篇文章選取出摘要部份。你可決定是否需要摘要,或是讓每篇文章有自訂的獨立摘要。 黏著式表格標題
當你瀏覽頁面上下捲動時,表格標題會自動跟隨,讓你隨時知道自己正在找什麼。
自訂日期格式
精確地控制日期的呈現方式。
Pretty signatures
User signatures are now optional and can be themed.
Maintenance releases
The Drupal 6 branch is maintained by Gabor Hojtsy with the help of Dries Buytaert based on feedback from the issue queues. The first maintenance release will be 6.1. Please note that as of now, the Drupal 4.7 branch is no longer maintained, so switching to Drupal 5 or 6 is strongly advised.
安裝與升級
安裝指引請參見 Drupal 6.0 檔案裡根目錄的 INSTALL.txt,也可以參考 Addison Berry 的 影片說明
。
For upgrade instructions, please see the file "UPGRADE.txt", in the root directory of your Drupal 6.0 distribution. For a video walk-through, see the videocast about upgrading to Drupal 6.0 by Greg Knaddison.
Coder, a contributed module maintained by Doug Green, provides automated assistance with converting your Drupal 5 modules to work with Drupal 6.
For support options, please see the support page. For questions, or to review the experiences of others, visit the forums for installation problems or upgrade problems.
Upgrading from Drupal 4.7 or earlier
Drupal 6 supports direct upgrades from 5.x versions. If you are using an earlier version of Drupal, first upgrade your site to the latest version of Drupal 5, and then upgrade to Drupal 6.
Upgrading from Drupal 5.x
Ensure that you have Drupal 6 versions of all of your contributed modules and themes, and that you have reviewed and updated your site's custom code (if any).
When upgrading, always save backups of your original files and database.
Disable contributed themes and modules before starting the upgrade process. Contributed modules and themes may be upgraded after your core upgrade is complete.
Because some modules may have been renamed or removed within the Drupal core, you should not extract Drupal 6.0 on top of your existing installation. Instead, start with a fresh copy of Drupal and then add your custom modules, themes and configuration file.
If you are using the Update status contributed module for Drupal 5.x, you are encouraged to both disable and uninstall the module before upgrading to Drupal 6.0. Also, some of the advanced features of the contributed version of Update status were not moved into the Update status module included with Drupal core, and can be found in the Update status advanced settings contributed module for Drupal 6.x.
In Drupal 6, translation files are now spread across a set of small files, and distributed in a package (since importing translations from one large file did not work on some hosts). To import all new translation files automatically, uncompress the translation files into the Drupal root and use the Reimport tab (under Import page in the Translate interface administration section) provided by the contributed Localization client module. The Localization client module provides a number of useful features for managing and translating a multilingual site. Drupal 6 versions (when available) of other contributed modules, including i18n and localizer, also provide additional features that complement or complete the Drupal 6 multilingual feature set.
Upgrading from a Drupal 6.0 release candidate
Copy the new distribution over your existing installation and run the upgrade script.
Additional notes
Sites which deploy their Drupal installations by directly checking out code from CVS will need to install the CVS deploy contributed module for Drupal 6.x for the Update status module in 6.x core to work properly.
Special thanks to Roy Scholten (yoroy) for assembling the new feature list and to Keith Smith and others for editing it to its current state. |