Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Open Points: 25 Time: 06:14 - Oct 11, 2008  

diptikakade

what is the difference between javascraipt and ASP?

i want the difference between ASP and JavaScript with eight to ten points.

Categories

Answer Discussion
Tutorials

 

IronXavi

Date:: Mar 06, 2009

Time:: 08:17

There are lots of differences, but one of them is the key: ASP is a server-side scripting language, while JavaScript is a browser-side scripting language.

ASP is executed by the server, therefore it is allowed to process HTTP request headers (cookies, web page referer, user agent string and other personal info sent by the browser at the moment of the request, etc.), connect to databases and operate on them, read or write to log files and a lot more, even run some programs on the server. So it can generate Dynamic HTML content and serve it to the user's browser. A login page, for example, requires a server-side script (in ASP, PHP...) to check the validity of login and password (fixed text, info from a database...) and generate the appropiate HTML content.

JavaScript, on the other hand, has a limited access to HTTP headers and cannot do anything that should be done on the server side (since it operates on the visitor's browser). It can, however, respond to user actions over the webpage the server has generated, and interact with it (the server has told the browser which options are available to the user and what should it do in response to the actions from the user). Javascript is much more limited, but it provides the tools to extend the behavior of the web page when the server has finished processing and lost control over it.

AJAX is a way to call for server interaction within JavaScript, so a totally interactive website is achieved by closing the circle.

IronXavi

admin

Date:: Mar 28, 2009

Time:: 10:07

The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.

The Quomon Team

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es