Olympus-OM
[Top] [All Lists]

[OM] Re: OT Web Design

Subject: [OM] Re: OT Web Design
From: Andrew Dacey <adacey@xxxxxxxxx>
Date: Wed, 10 Aug 2005 13:49:19 -0300
On 8/10/05, Mike Darling <miked2002@xxxxxxxxxxxxx> wrote:
 
> Whether Javascript is better than PHP is a different question...

Really depends on what you're doing. Javascript is client-side while
PHP is server-side. The quick and dirty summary would be that anything
that you need to do server-side, such as connect to a database or load
information from multiple files (such as a template for the design of
the site being seperated from the content) is harder or impossible to
do with Javascript while anything involving communicating with the
browser directly, such as determining window size or changing the way
the browser displays your page, are much harder or impossible to do in
PHP.

Fortunately, you can combine the 2. Personally though I've never been
a fan of Javascript, I tend to prefer server-side technologies since
they're 100% platform independant as far as the end-user is concerned.
==============================================
List usage info:     http://www.zuikoholic.com
List nannies:        olympusadmin@xxxxxxxxxx
==============================================

<Prev in Thread] Current Thread [Next in Thread>
Sponsored by Tako
Impressum | Datenschutz