Tina MVC version 0.4.9 is available from the WordPress plugin repository (see the Tina MVC for WordPress page). No news is, well, no news, but behind the scenes Tina MVC has been used in quite a few projects. The core code is now pretty mature and well tested.
Changes since 0.4.3 (when I last posted news)
- Lots of small bug fixes (and some bigger ones)
- New functions to help debugging code
- New functions to manage view data more effectively
- New functionality for WordPress Multisite – you can now have different app folders for each site
- Two new helpers: a Pagination Helper (for creating a sortable, paged table of results from SQL) and a HTML Table Helper
- Sample files to illustrate new functionality
The Tina MVC on-line documentation has also been updated.
Coming Soon
These are features that have been used commercially and will be ported back to the GPL version.
- Image manipulation libraries for resizing, watermarking, etc.
- Libraries for Paypal’s Express Checkout NVP API and for Google Checkout
- A shopping cart helper
If you attended the talk in the Dublin School of English today, the presentation and code samples are available for download here.
Continue reading ‘DSE Presentation for Ulisse Group’ »
Tina MVC version 0.4 will soon be available from the WordPress plugin repository.
This is a major update. Since the last stable version numerous fixes and enhancements have been backported from the non-GPL version.
Changes since 0.3.2:
- Bug fix: In tina_mvc_app_settings.php – setting the parent page for a Tina front end controller page was not working.
- Bug fix: Various fixes ported from Tina MVC non-GPL version.
- Bug fix: tina_mvc_functions.php – tina_mvc_get_GetPost() function.
- Enhancement: Better form helper sample app.
- Enhancement: HTML comments output before and after each parsed view file. Makes it easier for your designer to find a template.
- Change: $tina_mvc_disable_wpautop setting is enabled by default (stops WordPress screwing with your HTML by inserting <br> and <p> tags).
- Bug fix: Various small (and some not so small) bugs in the form helper.
- Bug fix: in tina_mvc_get_GetPost().
- Enhancement: A new test from to demonstrate all form helper functionality.
- Bug fix: In certain cases, the form helper was not returning the correct variables after form was submitted.
- Enhancement: Make it easier to change the name of the plugin folder name.
- Enhancement: New app settings option: disable wpautop() for Tina MVC pages.
- Enhancement: The form helper can manage file uploads now.
- Enhancement: added a form_errors() method to the form helper class.
Coming soon from Tina MVC non-GPL:
- The form helper gets a Google Map field type. This allows your users to enter longitude and latitude coordinates by zooming into a Google Map and clicking on a point.
- Image manipulation libraries for resizing, watermarking, etc.
- Paypal libraries for the Express Checkout NVP API
If you are interested in these features now, then feel free to drop me a line.
Following downtime (since yesterday morning) and a complete lack of support from the hosting provider, I have completed migrating all accounts from the VPS_LON01 server.
All VPS hosting has been migrated to a new provider (who answer their support lines!).
If you are using our VPS hosting and have any difficulties with your web site please call immediately. I apologise for the downtime (up to 3 hours for some of you).
Tina MVC 0.3 will be available for download from the WordPress plugin repository.
This release includes numerous changes and enhancements:
- Complete reorganisation of core files
- Rewrite of core page controllers and views
- the form helper is not autoloaded any more. Use tina_mvc_include_helper(‘tina_mvc_form_helper’) first
- new function tina_mvc_call_page_controller() for use in your apps or theme template files
- can use custom folder locations for page controllers `tina_mvc_call_page_controller()` and views `tina_mvc_base_page_class->load_view()` to separate core code from your own apps
- tina_mvc_user_has_role() and tina_mvc_user_has_capability() accept comma seperated list or arrays
- Added app_bootstrap feature – allows you to enqueue styles and scripts before page output begins when using widgets or shortcodes
- Added app_init_bootstrap feature – allows you to run code (e.g. to register a custom post) at the init action hook
- Changed how shortcodes are run – now we go before wp_texturizer()
- The contents of a non self-enclosing shortcode are available to the page controller now
- Added ‘app_install_remove’ to allow running arbitrary code on plugin install/remove. See tina_mvc_admin_install()/tina_mvc_admin_remove() in tina_mvc_admin_functions.php
- Added a basic framework for unit tests (unfinished)
- Removed the phpDocumentor tutorials folder.
- Bug fix: tina_mvc_form_helper_class->validate_as_REGEXP() was broken
- Fixed a possible XSS attack vector
There is also a new tutorial on using the custom code application hooks. These allow you to run arbitrary code at the ‘init’, ‘the_posts’ and when Tina MVC is activated or removed.
Read all about it on the Tina MVC for WordPress page.
Stable version 0.2.
This is a roll-up of recent fixes and enhancements. At this stage all development is on the 0.3 branch. Unless bugs appear before I’m ready with 0.3, there will be no further releases prior to 0.3.
Get it from the Tina MVC for WordPress page.
Development version 0.3.
A complete reorganisation of the plugin folder structure and some functional enhancements. Check out at the version 0.3 development branch at the WordPress plugin repository. This will be released shortly.
If you are evaluating Tina MVC then the 0.3 branch is where to go.
Update: 2010-05-06:
Ouch – a hurried commit introduced a rather embarrassing bug. It has been fixed and an update has been uploaded as version 0.11.
This update contains a roll-up of various enhancements to the core:
- removal of the PHP __autoload() function requirement
- a new dispatcher method
- configurable handling of missing controller errors
This is a release candidate for 0.2. Get it from the Tina MVC for WordPress page.
All seems well with the recent fixes, so I have bumped to version 0.1.8.
Download from the Tina MVC plugin page on WordPress.org or download from SeeIT.org here.
There have been numerous updates to the framework over the past few weeks, mostly getting the various http redirects and user login, registration and password reminder pages to play nicely with WordPress. It seems to be working fine now, but until I am finished testing I’ll stay off bumping to version 0.1.8.
The shortcode and widget code and functionality remains largely unchanged and has been stable for a while now.
I have also added a tutorial on developing a contact form using Tina. It introduces the form helper and the usage of view files.
Also many thanks to Guido Mühlwitz for reviewing Tina MVC in his Webworking blog. He makes good points about code overhead, but (as he says) WordPress can be troublesome to deal with sometimes, and Tina was designed to solve a few very specific problems for me.
Download from the Tina MVC plugin page on WordPress.org or from the Tina MVC page on SeeIT.org.