From: Bruno Wolff III <bruno@wolff.to>
To: Michael Glaesemann <grzm@myrealbox.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Reducing duplicated business rules
Date: Thu, 6 Nov 2003 13:20:38 -0600
Message-ID: <20031106192038.GA21921@wolff.to> (raw)
In-Reply-To: <A2ECC7B4-1074-11D8-B410-0005029FC1A7@myrealbox.com>
References: <000601c3a407$ce9a4950$0300a8c0@homer3>
<A2ECC7B4-1074-11D8-B410-0005029FC1A7@myrealbox.com>
On Fri, Nov 07, 2003 at 01:16:54 +0900,
Michael Glaesemann <grzm@myrealbox.com> wrote:
>
> what you've written, I'm guessing this is exactly it. Using JavaScript
> allows the client—rather than the server—do the checking. It seems to
> me you'd pay an initial hit (downloading more into the client), but you
> don't have to keep using the server to process/validate/check the data.
> Am I close?
The server still has to do the validity checking. Often pages set up
this way don't work when javascript isn't available. What you save
are round trips when the data is messed up. That may or may not be
better depending on how large the form is wtih and without javascript,
what the rate of mistakes is, what the available bandwidth is and
how loaded the server is.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: bruno@wolff.to, grzm@myrealbox.com
Subject: Re: Reducing duplicated business rules
In-Reply-To: <20031106192038.GA21921@wolff.to>
References: <000601c3a407$ce9a4950$0300a8c0@homer3> <A2ECC7B4-1074-11D8-B410-0005029FC1A7@myrealbox.com> <20031106192038.GA21921@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox