Internet of everything
Internet of everything

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

3.3.6 The Cisco Coffee JavaScript application

Active content not displayed. This content requires JavaScript to be enabled.
Figure 21
Interactive feature not available in single page view (see it in standard view).

The figure shows a simulated version of the Cisco Coffee JavaScript application currently running in your browser. If you click Show Real Data, you will see a status message that says, 'No sensors found'. That is because there are no actual sensors attached to the application. The application is generating fictitious sensor data. While the entirety of the code is out of the scope of this course, feel free to open the file and analyse it on your own to see how much you understand.

You can view the source by right-clicking anywhere in the figure and choosing an option similar to View Source or View Frame Source,depending on the browser. Scroll down to the section in the code that starts with Script. Lines that began with a double forward slash (//) denote comments. The comments provide a brief explanation of the code. If you would like to investigate this JavaScript application further, you can download the following files:

Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to University-level study, we offer two introductory routes to our qualifications. You could either choose to start with an Access module, or a module which allows you to count your previous learning towards an Open University qualification. Read our guide on Where to take your learning next for more information.

Not ready for formal University study? Then browse over 1000 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus371