Re: best scripting language for use with (x)html?



John Salerno wrote:

> Pardon my ignorance, but whenever I think of JavaScript I can't help but
> think of it as being something that's old and slowing going out of
> style. Is this unfounded?

For client side? Yes.

> Is JS still the main scripting language used
> in web pages, or are others preferred?

For client side, the only other options are VBScript (IE only[1]) and
PerlScript (IE with a third party plugin only[2]).

> I know PHP and/or ASP.NET is
> popular, but do they do the same things?

No.

Server side scripting does /useful/ things. Client side scripting can be
used to duplicate server side scripting as a convenience for the user (but
you need the server side as client side isn't dependable), and for adding
other convenience features (such as highlighting a specific part of a
document when linked to[3])

[1] So a very bad choice[3]

[2] So an amazingly bad choice[3]

[3] An exception /might/ be for use on an intranet ... but dependence on IE
for web apps crippled IBMs attempt to switch to Linux desktops, so its
still not a very good idea.

[4] http://dorward.me.uk/software/frag/

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
.



Relevant Pages

  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... page but didn't look deeeply enough to see that the client was having to ... (for the same host). ... cross-site scripting constraint exercised by the browser (to prevent XSS ... but what is outside any HTTP protocol is "when a server gets told something" ...
    (comp.os.vms)
  • some" folks are unable to post any file till "some" are able
    ... scripting at all and "some" folks are unable to post any file till ... I've installed a packet sniffer software on the server and looked ... It appears that, for some reasons i realy dont know of, the client ... Here is the WHOLE (HTML 4.01 transit) code of the non working page. ...
    (microsoft.public.inetserver.asp.general)
  • Unable to post multipart/form-data
    ... scripting at all and "some" folks are unable to post any file till ... I've installed a packet sniffer software on the server and looked ... It appears that, for some reasons i realy dont know of, the client ... Here is the WHOLE (HTML 4.01 transit) code of the non working page. ...
    (microsoft.public.inetserver.iis)
  • Re: Page client validations are not working...
    ... Hi Murat: ... Make sure client side scripting is enabled for the browser. ... Make sure the client side scripts are properly installed on the server ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)