Re: Client-side vs Server side
| From: | Hugh Bothwell | Date: | Mon, 06 Aug 2001 13:14:20 +0000 |
| Subject: | Re: Client-side vs Server side | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8680@lists.php.net to get a copy of this message | ||
"B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message
news:27E647E5629ED211BF78009027289C630337DC2A@mail1...
> From: Ruvinda
> Sent: Monday, August 06, 2001 5:33 AM
> Subject: [PHP-WIN] Client-side vs Server side
>
> >What is the difference between Client side programming
> >compared to server side programming.
>
> In what respect would you like to do the comparison?
Server-side is good for
- keeping your super-duper proprietary
source code secret
- interfacing to other stuff on the server,
ie databases, mail or news servers, etc
- dynamically updating your site - adding "today's
headlines" etc.
- separating code from format (ie templates) -
makes maintenance and updating easier.
Server-side is bad for
- increasing the load on your server
- introducing security holes (when
poorly written).
Client-side is good for
- making individual pages dynamic -
image rollovers, form checking, etc
Client-side is bad for
- major incompatibilities between browser
object models makes cross-browser
coding difficult.
- your source code is open to the public