Author Topic: Creating Plugins for the Web UI  (Read 5270 times)

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Creating Plugins for the Web UI
« on: November 20, 2013, 03:18:34 pm »
Web UI Plugins
Starting with the 2013-11-20 release, plugins can be created for the Web UI. :)
With more brains to the task, I think we can come up with some really cool and useful plugins.

All you need is HTML and a bit of JavaScript!
Plugins are created using HTML along with a bit of JavaScript as needed to interact with the management portal.
Plugins can be displayed as main tabs, portlets in the dashboard, or tabs specific to each RAID configuration.

Additionally, mobile apps can be created to interact with the management portal.  8)

Reporting Data
As a first priority, there is a set of reporting data that begs to charted on.
This includes:
- Host CPU data
- Host Memory data
- RAID Performance Data
- File Statistics
- SMART data

There is a sleuth of JavaScript charting APIs available for use including APIs from:  flotcharts.org, justgage.com, jchartfx.com, oesmith.co.uk/morris.js, rendro.github.io/easy-pie-chart, omnipotent.net/jquery.sparkline, and many more.

Controlling the system
Also available are a number of service functions to control various aspect of the management platform.
This means plugin pages that allow for things to be done more easily can be created. :)

Developer Reference Guide
You will find the developer reference guide in the plugin section of the Web UI.


Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Creating Plugins for the Web UI
« Reply #1 on: November 22, 2013, 02:39:19 pm »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Creating Plugins for the Web UI
« Reply #2 on: November 23, 2013, 12:16:26 pm »
Quick and dirty implementation of a RAID Monitoring plugins showing a poorly performing array.
The system hosting this array  is a VM with all virtual disks on a single physical disk, which is also hosting other VMs.

« Last Edit: November 23, 2013, 11:41:23 pm by Brahim »

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Creating Plugins for the Web UI
« Reply #3 on: February 02, 2014, 11:31:03 am »
I wanted to bump this thread to remind the community of the power of the plugin API available in the tRAID Web UI.

There so many cool things that can be done with plugins, and plugins can be developed with ease.
The API can be augmented on request to provide all sort of functions. As we take care of the low level, this enables potential developers to take care of the higher creative level.