Web Design and Publishing
Web Programming
JavaScript

What are client side and server side scripting?

575859

Top Answer
User Avatar
Wiki User
2011-04-07 07:40:47
2011-04-07 07:40:47

Client side scripting is a script, (ex. Javascript, VB script), that is executed by the browser (i.e. Firefox, Internet Explorer, Safari, Opera, etc.) that resides at the user computer.

Server side scripting, (ex. ASP.Net, ASP, JSP, PHP, Ruby, or others), is executed by the server (Web Server), and the page that is sent to the browser is produced by the serve-side scripting.

So when a server sends out a page, it executes server-side scripts, but does not execute client-side scripts. Once the browser receives the page, it executes the client-side scripts.

Server side scripting can connect to databases that reside on the web server or another server reachable from web server. Client side scripting cannot do that.

Server side scripting can access the file system that reside at the web server, client side cannot.

Server side scripting can access settings belong to Web server while client side cannot.

Client side scripting can access files and settings that are local at the user computer.

Client side scripting consumes cycles from user's computer not web server one, while server side scripting consumes cycles form web server one.

293031
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0

Related Questions

User Avatar

Server side scripting refers to scripts written to access the server. Server side scripting is used in dynamic websites that are connected databases and websites that potentially run a store per say. Client side scripting is used to run programs on clients web browser. There is no need to access server side for lightweight programs. JavaScript is used for client side and PHP for server side.

User Avatar

Client side scripting is executed on the person who views the web pages computer - this is normally written in JavaScript Server side scripting is executed on the server that is hosting the web site - there are lots of different languages associated with this.

User Avatar

On the browser. JavaScript is a Client Side Scripting Language like HTML and runs on the browser and not on the server as Server Side Scripting does.

User Avatar

Client side scripting language is a client side scripting language which uses clients

User Avatar

Client-side scripting runs on the user's computer, and is typically used for animations, client-side validation, and other types of dynamic pages. Server-side scripting runs on the server (NOT on the user's computer), and is typically used for things like credit card processing or accessing and updating a database. In other words, whatever "side" the code is running on is the only "side" that will be directly influenced by the code, although many interactions require both client-side and server-side scripting, such as web-based games, advanced shopping carts/merchant sites, and so on.

User Avatar

Both. It runs on the browser but can request from a Server. Similarly to Ajax the side is unclear. Client side is the best fit with requests.

User Avatar

Server-side scripting is a web technology that allows custom HTML to be delivered to a client machine where the code that generates the custom HTML is processed on the web server before the HTML is sent to the user's machine over the internet. Server-side scripting is a option for delivering customized HTML in contrast to client-side scripting, where the HTML is modified typically by java-script in the client's machine after the HTML and java are sent from the web server.

User Avatar

Web 2.0 applications have a server side and the choice of technologies to use server side is even more open than that client side. Client side is the user;s end of the experience, while server side is based on the server's end. As a developer, you can't impose a specific environment or browser client side because you must count on what is installed by your users and that's a severe restriction. Server side, however, you decide which platforms, operating systems, programming languages, frameworks, and libraries will be used. The choice that has the most impact on the architecture of your applications is usually the programming language. Server side, any programming language can be used to implement various Web applications and the most popular choices are scripting languages such as PHP, Perl, Python, and Ruby, and interpreted languages such as Java and C#. Client side scripts are executed and changed by the user on his side (the client side), while server side scripts are executed and changed by the user on the server. Server side scripts provide much more functionality for and by the wide variety of users (and their respective computer/browser settings) all around. Client side Scripting is possible to be blocked , where as server side scripting can't be blocked by the user , so if you validate using CLIENT SIDE only , and client side scripting blocked then even validation can not be done and directly even wrong data can be accepted and thus makes a flaw in the system.

User Avatar

Client-Side- JavaScript, ECMAScript Server-Side- PHP

User Avatar

As far as web programming is concerned, client side programming is code that runs in the web browser, rather than the web server. JavaScript is an example of client side scripting because the code is sent to the browser, at which point it is executed. PHP is an example of server side scripting because the code is executed on the server, and the resulting code is sent to the browser and displayed.

User Avatar

Yes, Ruby is a server-side scripting language.

User Avatar

In web programming you have: - Server side scripting: using languages like PHP, Ruby, ASP or JAVA - Client side scripting: usually meaning JavaScript, although there are others

User Avatar

Server-side scripting is programming that runs on the server. In the case of a site like Answers.com, things like searching the database and processing the posts of new answers are all server-side scripting. Because server-side scripts are never accessed themselves by the client, they are significantly more secure than client-side scripts. In the case of JavaScript, for instance, a client-side script is available to the individual user in her browser. This means that the script can be manipulated, adjusted, or even circumvented at her end. PHP, ASP, JSP, Ruby and Python are all popular server-side scripting languages. Because these languages have overtaken many of the older, compiled server-side programs, the entirety of the programming on the server is sometimes called server-side scripting, even though some of those languages (notably C) aren't script languages.)

User Avatar

A server-side scripting language is one that resides on the server. Whereas client-side scripting happens inside the users browser, after they've downloaded the code, server-side languages work before the file is sent from the server. Server-side languages tend to deal with more "heavy lifting" than client side. They retrieve records from databases, maintain state over the stateless HTTP connection, and do a lot of things that require more security than JavaScript alone can provide. Because they reside on the server, these programs never have their source code exposed to the user. JavaScript source code must be available to the client by definition. Some server-side languages are: C, PHP, Ruby, Python, JavaServer Pages, ColdFusion, ASP, and Perl.

User Avatar

A server-side scripting language is one that resides on the server. Whereas client-side scripting happens inside the users browser, after they've downloaded the code, server-side languages work before the file is sent from the server. Server-side languages tend to deal with more "heavy lifting" than client side. They retrieve records from databases, maintain state over the stateless HTTP connection, and do a lot of things that require more security than JavaScript alone can provide. Because they reside on the server, these programs never have their source code exposed to the user. JavaScript source code must be available to the client by definition. Some server-side languages are: C, PHP, Ruby, Python, JavaServer Pages, ColdFusion, ASP, and Perl.

User Avatar

HTML is client side scripting so the Form will have to be in HTML (unless you use something like Flash or Java) and the submission will require a Server side language in order to do anything with the code. So to answer your question, you do not have to use HTML; you do not have to use PHP.However you will have to use a Client Side Scripting language like HTML and a Server side scripting language like PHP.

User Avatar

Hi, 1. JSP is a server side scripting while Javascript is as client side scripting language. 2. JSP also connects with database to fetch up the records from the database while javascript can be used for validate the code on client side.

User Avatar

Server side scripting is a script language that runs on the server. PHP and ASP are the most popular. Because they run on the server, they are executed before the client even begins to download the file, making them significantly safer. Because of this, they are used to access databases and read files on the server. Client side script are download as code by the browser, then executed once the download is finished. Client side code can be manipulated by the user, and is "sandboxed" so that it cannot access the user's file system.

User Avatar

In short, the user cannot alter the behavior of client-side scripting. A local client-side script can be circumvented. For instance, a JavaScript used to validate form input can be manipulated by the user (they downloaded the source code into the browser. That's why it's "client-side.") In most browsers, the user can even make the decision to turn off JavaScript entirely. Then the form wouldn't validate anything before passing the data on to the form handler. A server side script, however, is beyond the manipulation and control of the client. A user cannot access the server side software, and can't do anything to cause it not to execute (unless the programmers missed something big time.) Server side languages also tend to be able to do more. The server is really just a specialized computer, and so those languages are just specialized programming languages. The client side languages tend to be "sand-boxed" to keep them from being able to run malicious code on your computer. Because of this, some of the functions performed by server side code aren't available, or even possible, with client side execution.

User Avatar

It's a client side web scripting language.

User Avatar

As an example we'll use WikiAnswers. WikiAnswers is the server while you and I are clients. When you search WikiAnswers, a script/program executes on the server to find relevant information and return it to you or I in the form of a web page. A client side script which is most commonly implemented using Javascript, is downloaded from the server to your computer in the form of a .js file. This script is executed solely on your computer and requires no processing by the server. Examples of this would be things such as a slideshows; pop-up windows; showing/hiding sub-menus.

User Avatar

Server side acts on the server from where the response comes. Client side image mapping is the user side mapping.

User Avatar

XML does not have the concept of client-side/server-side.

User Avatar

The W3C write the standards for writing web-pages. Web Pages on a user side are always Client-Side and HTML is a Client Side scripting language hence most of their standards are based around HTML and other client-side scripting.

User Avatar

Ruby is a server-side language.


Copyright ยฉ 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.