Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

An Introduction to Dashing and Smashing

47 views

Published on

Dashing is a Sinatra based framework that lets you build
exceptionally handsome dashboard framework in Ruby and Coffeescript.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

An Introduction to Dashing and Smashing

  1. 1. Dashing THE EXCEPTIONALLY HANDSOME DASHBOARD FRAMEWORK. www.Cyberkeeda.com
  2. 2. Key Features 1. Dashing is a Sinatra based framework that lets you build beautiful dashboards. 2. Use premade widgets, best for Sysadmins. 3. Widgets harness the power of data bindings to keep things dry and simple. 4. Use the API to push data to your dashboards, or make use of a simple ruby DSL for fetching data. 5. Drag & drop interface for re-arranging your widgets. 6. It’s optimized and created for displaying custom dashboards on TV. 7. It’s Opensource. www.Cyberkeeda.com
  3. 3. Use cases. www.Cyberkeeda.com
  4. 4. Important Directories Dashboards — one .erb ( Embedded Ruby with HTML ) file for each dashboard that contains the layout for the widgets. Jobs — Your ruby jobs for fetching data Widgets — All the html/css/coffee for individual widgets www.Cyberkeeda.com
  5. 5. Dashboard Config Data-id : Could be anything ( type : string ), it will be used to push data from scheduler. Data-view : Widget name/type. Data-title : Title for your widget www.Cyberkeeda.com
  6. 6. Jobs Config Ruby scripts under jobs directory are deployed to push data into widgets. Create a sample job template by command # dashing generate job myapi Update scheduler by seconds or minutes as 30s or 30m Store final output to a variable and send it to dashboard for respective data-id. Data can be pushed into respective widgets calling dashing API too externally. curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "current": 100 }' http://localhost:3030/widgets/karma www.Cyberkeeda.com
  7. 7. Widgets • There are around 200 + widgets to use, it’s covers almost everything. • Widgets can be found in the link • Installation : Download and move it into the widgets folder. • Every widget has a HTML file with data-bind parameter, use it to pass data to respective html div using the jobs scheduler. www.Cyberkeeda.com
  8. 8. Demo www.Cyberkeeda.com
  9. 9. Official Links & Info Webpage : http://dashing.io/ GitHub Repo : https://github.com/Shopify/dashing Download link : https://github.com/Shopify/dashing/zipball/master Realtime Application : Nagios Dashboard using Dashing (https://github.com/Jackuna/nagraj ) Note : Dashing still works great, but is no longer maintained. Smashing is a fork of Dashing, which is maintained and supported. Smashing Offcial Link : https://smashing.github.io/ www.Cyberkeeda.com

×