Version 1.0 of the Themosis development framework is now available. Belgium-based application developer Julien Lambé created Themosis in order to accelerate object-oriented development with WordPress. It offers a routing system for managing WordPress behavior on an application level and also includes a Laravel-esque templating engine for view files. Last week Lambé announced that the framework is now out of beta and ready for public use.
Themosis, which Lambé describes as “a mix between WordPress best practices and a typical MVC framework,” has evolved considerably since its beta period. Version 1.0 includes dozens of improvements based on developer feedback.
The website has been updated to provide complete documentation and code examples to help developers get started. Installation is quick and easy, as Themosis uses Composer for dependency package management, so you can install and update everything needed in a matter of seconds. The framework is designed with respect to WordPress best practices and should work seamlessly with its APIs and plugins.
Themosis comes with local and production environments pre-configured in order to facilitate collaboration. Once you register your database credentials and application URLS, you’ll be able to define the different environment configurations, making it easy to move between development and production.
The framework guide contains everything you need to know to get started structuring and building your application. The route API docs cover all the conditional tags available with code samples for basic routing methods. Lambé describes the route system as “an enhanced ‘if’ statement,” which is essentially based on WordPress conditional template tags and a closure callback.
The framework includes classes for handling AJAX requests, custom post types, metaboxes, custom fields, taxonomies, options, validation, and more. It also adds a unique set of Helpers which act as framework utility functions that run on the global scope.
Lambé has now separated the Themosis studio from the framework, which can be found at framework.themosis.com. He is launching a Themosis web agency, specializing in WordPress design and development, in order to fund future development of the framework to ensure its future.
The Themosis framework is an interesting option that could be very helpful for new WordPress developers, especially those who are used to using Laravel or those who simply want to structure and organize their code like a typical MVC framework. It provides another avenue for getting started using a structure that may be more approachable for PHP developers who are new to working with WordPress.
Themosis is an open source tool that Lambé decided to share with the community, and it will remain free to use. If you want to contribute to the project or report any issues, the framework can also be found on GitHub.