FAQ | Contact Us  |  Register  |  Login

UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach
Home > C-STEMbian > Web-Based Computing

Web-Based Computing

In computing, Common Gateway Interface (CGI) offers a standard protocol for web servers to interface with executable programs running on a server that generate web pages dynamically. Ch CGI toolkit is a C++ toolkit for CGI programming. It can run in Ch across different platforms without lengthy compile/link/execute/debug cycles.

Ch CGI Toolkit included in the C-STEMbian can be effectively used to teach students HTML and web development with interactive fill-out forms using C/C++ interpreter Ch.

You can use Ch WiringPi to get the raw data, and  display the processed data in Ch plotting in real-time through CGI in the Apache web server in C-STEMBian as shown below.

By default, the Apache web server in C-STEMbian is not started. You can start it by the command “sudo /etc/init.d/apache2 start” in a Ch Command Shell.