Active Client Pages at the Server
(Page 1 of 4 )
Active Client Pages produce web pages at the client computer using web technology. The programming analysis, logic and calculations of the data for the pages are done at the client. The data to create the pages resides on the server. So what is the role of the server? That is what this article addresses. You need basic knowledge of JavaScript and Perl to understand it.
Nature of data at the server
Data at the server are mainly in the form of strings. A string can be part of a file (text), the whole file or a table element in a database.
Well, you can also have image files, sound files and video files at the server, in their normal locations, separated from the files or database containing the strings for the pages.
These data have to be sent to the client’s browser.
Topics in this article
Let me introduce the topics we will cover in this article. I've already mentioned the nature of data at the server. I will then go on to say the first thing that happens at the server when you need data.
Next, I will explain how you can use Perl to send a string to the client computer. After that I will show you how you can read the content of any file (text) in any directory at the server (computer) and send the content as a string to the client’s browser.
Next: The first thing that happens at the server >>
More JavaScript Articles
More By Chrysanthus Forcha