Tuskfish CMS V2.0

Tuskfish 2 is a rewrite of Tuskfish CMS to adopt a strict model-view-viewmodel (+ controller) architecture (MVVC). You can think of it as traditional MVC except the view is split into a view and a viewModel to abstract the relationship between the view/model relationship, which improves flexibility and reuse of components. A front end controller and static router has been added to allow custom URL schemes. With the adoption of namespaces, Tuskfish 2 is now a very modern (if small) PHP application.

Changelog:

  • Strict MVVM(C) architecture.
  • Introduced front end controller with static routing for SEO-friendly, customisable URLs.
  • Inheritance has been completely removed in favour of composition and dependency injection.
  • Namespaces implemented.
  • Content objects simplified down to a single class.
  • Added a GPS track content type - upload a .kml or .kmz file to automatically generate a Google Map with a route of your travel (requires a Google Maps API key).
  • Simplified the theme and template system down to two components (main layout plus a variable page template). Themes, templates and layout files can be dynamically assigned, giving great flexibility in presentation.
  • Data validator class split into a series of smaller traits that are used as required.
  • Admin-side search to locate content you want to edit.
  • Optional Yubikey two-factor authentication updated to Yubicloud protocol V2 (V1 is deprecated).
  • A lot of methods have been refactored and simplified.

Installation

PHP 7.2 or higher is required. Follow the usual installation process, but if you install it in a subdirectory (eg. public_html/test/), you need to edit the .htaccess file in the site root and modify the FallbackResource to include the path to your subdirectory (this tells your webserver where to look for the front controller). So:

FallbackResource /index.php

Becomes:

FallbackResource /test/index.php

Note that the installation directory has been changed to /install rather than /installation.

1577622739_tuskfish-2.0.zip

Copyright, all rights reserved.