View Full Version : javascript vs asp.net

09-19-2007, 09:33 PM
I am wanting to make my own website. I am really interested in both asp.net and javascript but really only have the time to learn one at the moment.

I am somewhat leaning toward asp.net, but mainly because I keep hearing that it better supports different browsers.

Can anybody clarify why this might be?

09-19-2007, 09:42 PM
Javascript isn't a server side language. Javascript is used for client-side interaction.

09-20-2007, 12:56 AM
You could build a complete website in asp.net, the difficulty comes in setting it up on your server. It is much more complicated to implement than a simple html site, or even a site written in a similar server-side language like PHP. There is not yet the support and automation for implementing a site in asp.net that programs like Fantastico offer for popular PHP-based solutions.

Javascript is fine for running small features on your site, but is not a good solution for an entire website. For one, users can disable javascript on their machines, so features written purely in javascript will be unavailable.

Start with a simple CSS-based HTML site, add a few javascript features such as Lightbox2 or CurvyCorners, then research server-side creations thru PHP or asp.net. If you want to see what can be done immediately in a PHP site, visit the hosting company Siteground.com. They have a control panel featuring Fantastico, an automated installer that can have a complex site installed for you in literally seconds.


09-20-2007, 03:09 AM
Depends on what you want to do. If you want interactivity, fancy things happening on ya site, then javascript's the way to go. If you want memberships, forums, emails etc then asp's the way to go. You'll eventually learn both anyway.

09-20-2007, 04:24 AM
If you use JScript as the language within ASP.NET then it is reasonably similar to the JavaScript/JScript that runs client side in web browsers/IE respectively.

01-09-2010, 05:09 PM
What if the user turns off the vbscript (ASP).:p