speedovation/kiwi-php-plugins

KiWi PHP Plugins, Using sockets PHP based plugins

dev-master 2016-05-10 18:02 UTC

This package is not auto-updated.

Last update: 2024-04-13 14:29:14 UTC


README

Kineticwing IDE Plugins using PHP

Introduction

Kiwi-php-plugins allows us to write plugins in PHP for KineticWing IDE. One can use any language to write plugins for KineticWing IDE using the flavours API. Here we are using PHP for that purpose.

KiWiAPI.php contains API functions which lets us connect to the IDE and send requests. The requests are used to provide extended functionality to the IDE and control some of its functions.

We’re using a json-rpc based protocol for API and IDE communications. Its named ‘flavours’.

So this is JSON-RPC based plugin system.

Each plugin loaded from Actions.Json. It creates menus and actions inside editor and register callbacks. For more check Plugins Actions.json sample and explanation

It will load all plugins. Plugin manager is in progress.

KiWiExample.php contains few examples to show us how to use the API.

TODO:

  • WIP on PHP parser plugin
  • Link to where you can find more info about available API functions.
  • Working on more and simple examples

License

  • Everything except third party libraries are under Apache License, Version 2.0
  • Feel free to do whatever you like with code.
  • Doc is under creative common