
內容簡介
Tina MVC 提供您基礎類別和助手類別與函式,可用於建立 WordPress 應用程式。
它使用鬆散的模型檢視控制器模式,抽象化設計和邏輯,讓您和您的 HTML 設計師更輕鬆。
功能:
徹底將您的程式碼與 WordPress 主題區隔開來。您的使用者可以更改主題,並仍保留應用程式功能。
助手類別,用於產生和處理 HTML 表單。
助手類別,用於從 SQL 產生分頁表格(當自訂文章不適用時)。
助手類別,用於從您的資料產生 HTML 表格。
您的程式碼與核心 Tina MVC 檔案分隔開來,易於升級。
簡潔且不侵入性。目前為止基本使用只需要 3 個篩選器、1 個動作勾子用於小工具和 1 個短碼勾子。
從您的佈景主題檔案(破壞 MC)或另一個控制器中呼叫 Tina MVC 控制器的功能。
足夠靈活,適用於快速程序原型製作-不喜歡 MVC?沒問題!
教學文件和程式碼範例
所有 Tina MVC 文件均包含在外掛中。啟用外掛後,您可以從 WordPress 網站的後端訪問它(搜尋 Tina MVC 管理頁面)。
原始碼中為 PhpDocumentor 提供了充分的註釋。
許可證
此版本採用 GPL v2 許可證。如果您對替代許可模型或商業支援感興趣,請聯繫作者,網址:http://www.seeit.org/about-us/。
支援
此版本的支援可透過 https://wordpress.org/tags/tina-mvc?forum_id=10 或在 http://www.seeit.org/tina-mvc-for-wordpress/ 發表留言來取得。
已知問題
Tina MVC 對基於文章名稱的永久連結支援是實驗性的。目前它會從 WordPress 核心檔案產生 PHP 警告。
外掛標籤
開發者團隊
② 後台搜尋「Author: Francis Crossen (fcrossen)」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Tina MVC provides you with base classes and helper classes and functions on which you build your WordPress applications.
It uses a lose model view controller pattern to abstract design and logic and make life easier for you and your HTML designer.
Features:
Completely separate your code from WordPress themes. Your users can change their theme and still retain your application functionality.
A helper class for generating and processing HTML forms.
A helper class for generating paginated tables from SQL (for when custom posts are not appropriate).
A helper class for generating HTML tables from your data.
Separation of your code from core Tina MVC files for easy upgrades.
Compact and non-intrusive. Currently 3 filters plus 1 action hook for widgets and 1 shortcode hook are used for basic usage.
A function to allow you to call a Tina MVC controller from your theme file (breaks the MC) or from another controller.
Flexible enough for quick procedural prototyping – don’t like MVC? No problem!
Tutorials, Documentation and Code Samples
All Tina MVC documentation is included with the plugin. After activating the plugin you can access it from the WordPress admin back end. (Look for the Tina MVC administration page.)
Source code is liberally commented for PhpDocumentor.
License
This version is GPL v2 licensed. If you are interested in alternative licensing models, or in commercial support, please contact the author at http://www.seeit.org/about-us/.
Support
Support for this version is available at https://wordpress.org/tags/tina-mvc?forum_id=10 or by leaving a comment at http://www.seeit.org/tina-mvc-for-wordpress/.
Known Issue(s)
Tina MVC support for permalinks based on post name is experimental. Currently it generates a PHP warning from a core WordPress file.
