[Tutor] Re: do pythons like coffee?

Lloyd Kvam pythontutor at venix.com
Sat Jan 31 11:52:28 EST 2004


IMO Javascript is mostly useful for local user interface niceties:
	mouseover messages
	smarter keystroke / mouse handling

I use javascript most commonly for POSTs that look like hyperlinks (GETs).  The
javascript is embedded in the href attribute of the anchor tag, sets
some variables and calls the form's submit function.

In looking at web sites source HTML, it is often amazing just how much javascript
gets included.  It is also interesting to peek at the javascript console
in the browser and see the accumulated javascript errors.

Lee Harr wrote:

>> I am studying JavaScript of late. And it occurs to me that a script
>> pumping out a webpage might use a little javascript in it for assorted
>> nefarious purposes. Anyone familiar with the friendlyness of these two
>> unlikely bedfellows?
>>
> 
> 
> I guess my response would be ... it is no more dangerous than serving
> a plain text file with a malicious javascript on it.
> 
> The nice thing about server-side scripting (and why I prefer it to the
> client-side scripts) is that it's all the same to the browser. On the
> server it might be pulling in pieces from all over the place -- templates,
> scripts, configuration files, environment variables -- but in the end it
> sends out a stream of bytes and the client just sees it as a file.
> 
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:	603-653-8139
fax:	801-459-9582




More information about the Tutor mailing list