PHPBuilder: PHP & JavaScript World Domination Series: Storing data in the client

By ServerWatch Staff (Send Email)
Posted Jul 24, 2000


"One of the things that all programmers love is to write a program which writes another programs. In the web we have two different programming environments: the client (browser) and the server. Due to the HTTP protocol definition we can write a program in the server which writes another program to be executed in the client. Let's pick PHP (of course) for the server and JavaScript for the client, we'll show you in this article how you can use this scheme to store data in the client and then minimize the data transfered between the server and the browser for interactive applications like a chat room, a news system or whatever you want."

One of the things that all programmers love is to write a program which writes another programs. In the web we have two different programming environments: the client (browser) and the server. Due to the HTTP protocol definition we can write a program in the server which writes another program to be executed in the client. Let's pick PHP (of course) for the server and JavaScript for the client, we'll show you in this article how you can use this scheme to store data in the client and then minimize the data transfered between the server and the browser for interactive applications like a chat room, a news system or whatever you want.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.