CGI-like dynamic web page ZZ

Source: Internet
Author: User

Sender: gdtyy (gdtyy), email area: embedded
Question: CGI-like dynamic web pages
Mailing station: shuimu community (Mon Jun 25 23:39:04 2007), within the station

Dynamic Web Page
2007/01/25 asdjf@163.com

Using the IE browser to monitor devices is undoubtedly attractive, because the browser is the default configuration of the PC operating system,
You can use it to achieve "zero client" without having to develop client software separately, and users are used to it. IE browser
It can be used to view images, watch videos, listen to audio, download/upload data, support form information interaction, and support multimedia
... It is really an excellent client software. Then, using a browser means using the board as a server, that is
Web server. Essentially, the C/S architecture is equivalent to inter-process call (Remote Call of RPC), not on the same machine.
Instead, information is exchanged across networks on different machines. We hope that resources of remote machines can be controlled through remote calls,
Including hardware driver components, databases, timers and other hardware and software resources, just as we manipulate local computers.
For example, you can use a browser to control the camera focal length and aperture, top, bottom, and bottom of the cloud platform, smoke temperature sensors, and alarms;
Video Database. With the dynamic Web server technology, we can directly use the browser to remotely monitor the device, and its
The key is to implement the gateway interface. Currently, ASP, JSP, PHP, and so on can all implement the dynamic network. Here we only introduce CGI (general network
).
When the http get method requests the EGI suffix file name, the web server realizes that this is a dynamic page
Therefore, call the relevant application to execute the Page Dynamic generation, and the URL Information sent from the browser is stored in the environment
Variable to be passed to the application. URL Information is encoded (for example, encode space into +, escape characters by % followed by two digits
A hexadecimal value), which must be decoded first and then decomposed into various information segments. The information segments are used as parameters to call the application.
The program can implement CGI.

[B] has the home page of the navigation framework. The left side is the navigation label and the right side is the relevant content. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/2007125231258915.gif#/img]

[B] example of form Interaction: displays specific content based on input information. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/2007125231538995.gif#/img]
[Img] http://bbs.21ic.com/upfiles/img/20071/20071252316299.gif#/img]

[B] You can drag the cursor to display the temperature and adjust the cursor to change the temperature. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/2007125231711107.gif#/img]

[B] The ping-pong switch controls the light off. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/2007125231743727.gif#/img]

[B] demonstrate how the horizontal and vertical coordinates and column charts are displayed. Note: When you move the cursor to the column chart, the graphic pair will automatically appear.
Value. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/200712523181176.gif#/img]

[B] demonstrate how the horizontal and vertical coordinates and scatter plots are displayed. [/B]
[Img] http://bbs.21ic.com/upfiles/img/20071/2007125231819609.gif#/img]

--

※Source: · Shui Mu community http://newsmth.net · [from: 61.149.56. *]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.