|
|
 |
harhar @ uk hairshop code
date posted 25th February 2002 23:57
Just decided to have a poke at the uk hairshop code - as they seem to
have every single javascript ever invented to stop you from cutting
and pasting text, right clicking, or viewing frames individually and
therefore clicking on 'view source' in IE. Cant resist a challenge
like that. *clicks 'Javascript off' button in Opera*
I think they must have developed their own shopping cart system, as
the first thing you notice is that the guts of the system is actually
done in Javascript (calculate the cost of products client-side - HELL
YEAH - NICE PLAN) so you can acutally specify your own products,
prices etc (I didnt actually test this - dont want to be done for
hacking do I? :))
Presumably orders are either stored locally (flat text, database) and
picked up over the SSL connection - not horribly secure, but better
than the alternative - plaintext emails over the public internet, heh.
incidentally, can anyone think of a sane reason why you would want a
CGI script to generate page after page of javascript
'document.writeln' commands rather than just generating the HTML?
Oh yes, and the front page just about hits the 300k mark, pretty good
going for 4 frames of nothing and a smallish picture of some birds
head.
I could go on all night - but I think I need some sleep :)
---------------------------
Richard Watt Website Desgin
site : http://www.rwatt.co.uk
email : [EMAIL REMOVED]
phone : (0131) 466 0700
fax : (0131) 466 1813
|
 |
|