View Single Post
Old Oct 3rd, 2005, 1:27 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
You can certainly use server side script to "generate" script on the browser. It would certainly be foolhardy to do so with something the browser can't deal with. The first thing, though, is to get a true grasp of the client/server relationship. Just because you see "mixed code" on a page doesn't mean it's interactive. It's a mixed method of preparing material on the server. Then it's shipped to the browser to render, and the server is done. Out of the picture until a new request arrives. On vacation. Home playing with mama. Not watching the client's mouse clicks, for sure.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote