You are here: Re: best scripting language for use with (x)html? « HTML « IT news, forums, messages
Re: best scripting language for use with (x)html?

Posted by Toby Inkster on 01/25/06 10:47

John Salerno wrote:

> Is JS still the main scripting language used in web pages, or are
> others preferred? I know PHP and/or ASP.NET is popular, but do they do
> the same things?

That's like asking, "which are better: Apples or Potatoes?" Potatoes are a
terrible choice for picking up out of a fruit bowl and munching on; but
apples are an equally bad choice for roasting and serving covered with
gravy.

Javascript is (primarily) a client-side language (though there are
server-side Javascript technologies available). It is useful for
dynamically changing parts of a web page: hiding and showing stuff
depending on user actions, changing colours of things and so on. However,
users have the ability to disable Javascript, so you can't rely on it.

Server-side technologies like PHP or ASP.NET run on your server. They are
good for accessing, manipulating and formatting data on the server to be
sent to the browser, for important calculations (calculating the total
cost of a shopping cart) and so on. They run on the server, so can't be
disabled by the client.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация