I am forced to combined the two. The only thing I do in Javascript is pass
information on the window size to the server so it can resize everything.
Tom
----- Original Message -----
From: "Andrew Dacey" <adacey@xxxxxxxxx>
To: <olympus@xxxxxxxxxx>
Sent: Wednesday, August 10, 2005 12:49 PM
Subject: [OM] Re: OT Web Design
>
> 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
> ==============================================
>
>
>
==============================================
List usage info: http://www.zuikoholic.com
List nannies: olympusadmin@xxxxxxxxxx
==============================================
|