ASP to JScript.net

They have: 5,633 posts

Joined: Jan 1970

I can write JScript in ASP (I hear thats favored over VB on MSDN) and I stumbled on a artical on MSDN about learning to go from ASP to ASP.net. All though I could read most of it. It was still confuseing. So can some one help me? What are the biggest changes?
I know the fallowing....
- you must declair variable types
- you can controol classes
Also, can some one explaine the purpose of a "class" in java or Jscript?

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

Classes are part of Object-Oriented Programming (OOP). In OOP, "objects" are used to group useful information and functions about certain things. In reality, we perceive "things" as separate objects (like a computer, table, car), which have components (processor, legs, wheels), properties (ram size, surface area, top speed), and methods (boot up, support books, drive). In OOP, the point is to simulate this logical analysis, and encourage reusability of code. A class is an object definition -- it contains all the code which will be instantiated as an object when you want to use it. Smiling

I don't know anything about ASP.net nor do I remember JScript. Sad

They have: 5,633 posts

Joined: Jan 1970

So Its your adding to the DOM (Document Object Model)
Only for a server language. So what ever Object Model that is.
Thnkx for you help so far.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.