A sample Todo-list plugin for GetSimple, demonstrating how to:
- Create a simple RESTful API for your plugin
- Share your PHP and JavaScript variables sensibly
- Use web components (through VueJS) to structure the view of your admin panel
- Clone the repository
- Copy the contents (or symbolically link them) to your
/plugins
folder. - Enable the plugin from your Administation Panel.
All the plugin's files (except plugin registration) are kept in /todolist
.
- PHP scripts/classes -->
/todolist
(root) - Language files (PHP) -->
todolist/lang
. - JavaScript -->
/todolist/js
- Stylesheets -->
/todolist/css
- Web components (in this case, VueJS components) -->
/todolist/components
.
Check out the wiki for a full tutorialized breakdown, and look at the source code for the working, fully commented plugin.
Welcome are:
- Language translations
- Additions/alterations to the existing tutorial(s)
- Tutorials that show how to incorporate other web components libraries/frameworks
This sample plugin is licensed under MIT.
All rights reserved.