規劃迷你移轉 - 從Joomla 3.10.x 到 4.x

From Joomla! Documentation

Revision as of 04:28, 17 August 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎русский • ‎فارسی • ‎中文(台灣)‎

從Joomla 3.10.x 移植到 Joomla 4.x 4.x 算做是迷你移轉或是小規模移轉。這代表說Joomla 核心擴充套件可以用「一鍵升級」的方式來完成,但是第三方擴充套件就不能一概而論,需要逐一檢視。

導覽

移轉是重新整理大好時機,可以清除不需要的內容,並開發您網站需要的新功能或是元素。儘可能妥善地發展想法並規劃,讓成果發揮到極致。謹記規劃、規劃、再規劃。良好的規劃有助於執行。

規劃的初步,先讓自己回答以下的問題,或是執行下列的任務。依據您網站的複雜程度,您可能會需要有更多需要在規劃階段考慮的項目。不幸的是,我們無法羅列出所有可能的情境。到時候我們會架設一個論壇,專門給 Joomla 4.x 移轉用,類似於之前我們為每一個主要版本 Joomla 所規劃的。

3.10.x 橋接

Joomla 3.10.x 版本是作為Joomla 3 以及 Joomla 4 產品生命週期之前的橋樑。Joomla 3.10.x 版本發佈主要是為了包含Joomla 4.x更改的 API 向後移植(backports) 開發分支,以協助並減輕社群夥伴們開發下一個主要版本用。

Joomla 3.10.x  有個優異的新功能, Joomla! Update 元件,可以協助您檢查您的迷你搬移程序 : 升級前檢查事項

一旦您的網站升級到3.10,更新前檢查可以協助您確認您的PHP以及SQL選項、設定、以及您使用中的擴充套件相容於Joomla 4.0,使用目標平台(targetplatform) 標記。更多細節請見 Pre-Update Check 文件。

規劃要採取的行動

下文假設您已經將您的 Joomla 3.x 網站升級到 3.10.x。這會讓您可以使用升級前檢查,有助於您執行規劃。

  1. 確認您的網站正執行 3.10.x 版本
  2. 確認您原本的網站目標。移轉是一個好機會,可以重新對焦您的網站目標,或是設定新的方向。
  3. 您的伺服器是否符合Joomla! 4 的最低水準 技術需求 ?如果沒有,您會需要更換主機。再也沒有比這更好的機會做這件事情了。
  4. 您將會使用什麼環境來開發?是在您的本機進行開發嗎?是在您的伺服器上設置子網域來進行開發嗎?是否有符合需求的伺服器/主機帳號?
  1. 列下正在使用的第三方擴充套件,包含元件、模組、插件、語言以及佈景主題。您可以使用 第三方擴充套件庫存清查 或是複製/貼上到文件來當做參考,要用筆紙來手寫筆記也是可以的啦!可以的話順便記錄下,這些套件使用的頻率,重度使用、中度,沒什麼用,還是根本沒用過?
  1. Determine whether the third-party extensions you rely on are ready for the version of Joomla you are migrating to by selecting the Joomla Next option (once running Joomla 3.10.x) in the Joomla Update Component and checking if they show compatibility with Joomla 4. Don’t run the update to 4.x, just select Joomla Next in the Joomla Update Options so that the Pre-Update Checker can display. This will help you get a summary view of extensions in use and their compatibility. It is not a substitute for still needing to use Extensions → Manage. More on that in the Step-by-Step and the documentation for the Pre-Update Check component. This is simply to get prepared on what third-party extensions will stay or go or be replaced.
  2. Determine if you really need all the extensions you are using. Could it be that Joomla 4 has built in features that could eliminate the use of a third-party extension?
  3. 檢視您的分類和文章。有沒有需要清理文章內容的地方?不需要的內容就不用移轉了。
  4. 您的佈景主題如何呢?假如您從第三方購買佈景主題,他們是否有發佈相容 4.x 的版本?那你有想要繼續使用這個佈景主題嗎?開發者是否有發佈更新路徑?新版本是否具備響應式?您使用的是客製化佈景嗎?或是您使用的,是重度客製了第三方佈景主題? Joomla 核心佈景主題Protostar 並不相容於 Joomla 4。經過移轉後他會消失。您可以考慮使用 Joomla 4.x 的核心佈景主題 Cassiopeia. For an expansion of Template based considerations,請見 移轉時佈景主題需要考慮的項目
  5. If you are changing out your template for a new one, will it require any new images? For example, if your current site has a white background and your logo or other images are .jpg images with a white background it won’t look very nice against a new template with an off-white or coloured background.
  6. If you redesign or make changes to your site design or navigation, will you have obsolete pages that will require a redirect? If so, document them. A spreadsheet is helpful for documenting links that will need to change.

一步步將 Joomla 3.10 遷移(Migration)至 4.x