A Wave script is the simplest way to publish content with Wave, especially live web content:
- Dashboards and visualizations for live monitoring.
- Live information displays: news, tickers, health, or performance data.
A Wave script is one kind of program you can author to interact with Wave. The other kind is a Wave App. The primary difference between an app and a script is that apps are interactive (able to handle user interactions) and scripts are not. If you are not interested in handling user interactions, and only want to publish content, use a Wave script.
Here is the skeleton of a Wave script (example):
Here is the skeleton of a Wave script that continuously updates a page (example):
To update pages at a much lower frequency (say, minutes, hours, days), use a scheduler like cron along with a simpler Wave script:
Multiple Wave scripts running on multiple devices can update the same Wave page. You can use this capability to publish a single page that displays content originating from multiple sources. For example, a single page that displays stats for all the systems in your network, or a single page that displays tickers from different stock exchanges.