內容簡介
你有沒有曾經看著你最喜愛的外掛升級按鈕,深深感到前方的隱憂呢?這會否讓你的實際網站倒塌呢?或者,你希望在未準備好展示新主題之前就測試一下它?
進入 Sandbox 外掛。只需兩個簡單的點擊,就可以使用現有的託管供應商創建一個完整的測試網站。不再需要把它複製到一個複雜的本地測試設置中或在實時網站上冒失行事。可以快速簡單地創建完整、獨立的 Sandbox,無法被公眾和搜索引擎使用。您甚至可以創建多個 Sandbox,以測試您網站不同的迭代版本。
沒有太多可以說的,它就是那麼容易!
我可以用它測試什麼?
基本上可以測試任何東西,但以下是一些示例:
外掛升級
主題更改
設置更改
甚至全新的 WordPress 升級
外掛衝突?創建 Sandbox,一次禁用一個。
好吧,但它是如何工作的呢?
當您添加新的 Sandbox 時,需要一些簡單的參數來區分它與其他 Sandbox。在創建 Sandbox 的過程中,會顯示狀態。這可能需要一些時間,取決於您的 WordPress 安裝的大小。
創建 Sandbox 的基本步驟:
複製表格
將數據庫表格複製到具有不同前綴的新表格,表格中的各種數據會更新以反映 Sandbox 前缀。
複製文件
將所有文件複製到 Sandbox 文件夾下的新文件夾中。
更新配置
更新 Sandbox 內的配置文件,以支持獨特的 Sandbox 數據庫前綴。
啟用後,只有您的瀏覽器可以訪問 Sandbox 安裝。您隨時可以通過單擊管理介面頂部的鏈接返回實時網站。
我可以使用現有的開發人員工具編輯 Sandbox 嗎?
當然可以。諸如 Dreamweaver 之類的工具可以更新位於 Sandbox 目錄中的文件。在 Sandbox 的編輯屏幕上提供了完整的路徑。數據庫文件也可以修改。所有 Sandbox 表格將在 Sandbox 的編輯屏幕上顯示前綴。
Think Bowl 的另一個啤酒和咖啡推動創作Think Bowl
外掛標籤
開發者團隊
原文外掛簡介
Have you ever stared at the upgrade button of your favorite plugin with a deep foreboding feeling of what lies ahead? Will this bring your live site to its knees? Or have you wanted to test your new exciting theme without prematurely showing it to the world?
Enter the Sandbox plugin. With two simple clicks an entire testing site is created using your existing hosting provider. No more copying down to a complex local test setup or living dangerously on a live site. A complete independent sandbox, unavailable to the general public and search engines, can be created quickly and simply. You can even create multiple sandboxes to test different iterations of your site.
There is not that much more to say, it’s that easy!
What can I test with this?
Pretty much anything, but here are some examples:
Plugin upgrades
Theme changes
Setting changes
Even full, WordPress upgrades
Plugin conflicts? Create a sandbox and disable one at a time.
Ok, but how does it work?
When you add a new sandbox, a couple simple parameters are required to differentiate it from other sandboxes. A status is displayed as the sandbox is being created. This can take some time depending on the size of your WordPress install.
Basic steps to creating the sandbox:
Copy the tables
Database tables are copied to new tables with a different prefix and various data within the tables is updated to reflect the sandbox prefix.
Copy the files
All files are copied to a new folder under the sandbox folder.
Update the configuration
The configuration file within the sandbox is updated to support the unique sandbox database prefix.
Once activated, only your browser can get to the sandbox installation. You can return the live site at anytime by clicking the link in the notice at the top of the admin interface.
Can I use my existing developer tools to edit the sandbox?
Sure. Tools such as Dreamweaver can update the files located in the sandbox directory. A full path is available on the edit screen of the sandbox. Database files can be modified as well. All sandbox tables will have the prefix displayed on the edit screen of the sandbox.
Another beer and coffee fueled creation of Think Bowl
