Author: Francis Crossen (fcrossen)

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.

  1. Install the usual way (if you can’t manage that then this plugin isn’t for you)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Tina MVC menu in the WordPress administration back end for documentation
  4. Navigate to the newly created Tina MVC for WordPress page on your WordPress site

سوالات متداول

What is Tina MVC used for?

It is used for all my WordPress development at this stage. WordPress became my development platform of choice in early 2010 and Tina MVC allows me to develop client sites as WordPress plugins.

Does Tina MVC work with WordPress Multisite?

Yes. You can have all sites use the same application files, or have different application files for each blog within your network.

My changes to tina_mvc_app_settings.php are being ignored…

The app_settings.php file is only checked on plugin activation. Deactivate/reactivate the plugin to load the new settings.

Can Tina MVC create posts on activation like it does pages?

Yes. Put your code into install_remove/tina_mvc_app_install.php. Tina MVC will include it on activation and call the function tina_mvc_app_install().

Can my current controller use a view from inside another controllers folder?

Yes. Just specify the view file name you want to use when you use the $this->load_view() function. You can also specify a custom location for your view file:
$this->load_view( ‘my_view_file’ , FALSE , ‘path/to/view/file/from/tina-mvc/folder’ )

Why are there HTML template files in the plugin folder?

Tina MVC applications are designed to be completely independent of the theme you use. The templates only format the post/page/shortcode/widget content.
You should be able to use any theme you want with a deployed Tina MVC application. This allows you to crack on with development while your designer (if there is one) deals with the theme.
Of course there is nothing to stop you putting code and calls to tina_mvc_call_page_controller() in your templates if you prefer, but it is not recommended.

I’d love to see `insert feature here` in Tina MVC. How can I request this?

See Where can I get support? below and just ask.

Where can I get support?

The ‘Plugins and Hacks’ forum (https://wordpress.org/tags/tina-mvc?forum_id=10) or at http://www.seeit.org/tina-mvc-for-wordpress/.

تصویری برای این آیتم موجود نیست.
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
بدون امتیاز

قیمت:

رایگان

نگارش

آخرین انتشار

1 خرداد 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

10+

نگارش وردپرس

وردپرس 3.5+

تست شده از نسخه

وردپرس 3.5.2

نگارش PHP

-

نسخه ها

0 نسخه