-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overview - Upgrade to new Framework #16
Comments
Hi Eliot, We have a lot of in-development (or released) plugins on the old framework. |
Yes, it would be good to gradually migrate these plugins to use the new framework, since it's slimmer and will be updated going forward. But it's not urgent, since the old plugin framework can co-exist with it and will continue to work.
I think we can start upgrading the plugins, and move over any remaining features from the old plugin framework as needed. As part of the upgrade, I'd like to move them to public or private repositories on GitHub. A big question to be solved still is how to handle plugin updates. Currently, there are several ways plugins are updated:
This could be simplified by using:
For private repos, such as the Pro plugins, we'll still need to maintain our own plugin updater and update server for licensing. |
This document tracks the progress of upgrading to the new modules in the Framework and Template System, from the deprecated Interface module and Plugin Framework v2.
See documentation pages for:
This is relevant for Loops & Logic, Tangible Blocks, and all plugins as they transition to using the new framework.
Rationale
Here are some reasons why the Plugin Framework and Interface modules were deprecated.
The new modules are individual packages that can be documented, tested, built and published on their own.
How to upgrade
Open pull request for each plugin and perform the upgrade.
Replace Interface module
tangible_interface()
with namespaced functionsReplace Plugin Framework
composer.json
Use the new Template System, or the Framework module by itself
tangible()
ortangible_plugin_framework()
with namespaced functions undertangible\framework
Interface module
Here are the features that were in the Interface module. These are now consolidated with other Template System modules.
modules/chart
modules/date-picker
modules/embed
modules/glider
modules/prism
modules/select
modules/slider
modules/sortable
modules/table
Plugin framework
Here are the features that were in the old plugin framework. They're being moved and rewritten into new modules.
framework/ajax
framework/date
framework/hjson
framework/html
framework/preact
framework/format
framework/log
Server-side utilities
Plugin features
Post type extensions
admin/post-types/sortable-post-type
admin/post-types/duplicate-post
The text was updated successfully, but these errors were encountered: