Re: Reducing duplicated business rules

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Reducing duplicated business rules
Дата
Msg-id 20031106192038.GA21921@wolff.to
обсуждение исходный текст
Ответ на Re: Reducing duplicated business rules  (Michael Glaesemann <grzm@myrealbox.com>)
Ответы Re: Reducing duplicated business rules
Список pgsql-php
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.

В списке pgsql-php по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Reducing duplicated business rules
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Support for prepared queries