Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Mar 2012
    Location
    Leicester
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Difference Between asp, asp.net and aspx?

    im new to asp stuff and iv done a bit of research.
    iv found asp, asp.net and aspx. iv never done asp or related stuff and i would like a few pointers.
    asp - server controls?
    how is asp different from php
    whats the difference between this asp, asp.net and apsx.
    could anyone point me to a tutorial which will help

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,634 Times in 4,596 Posts
    ASP.NET and ASPX are the same thing. ASP.NET is the name of the *technology*. It uses pages that end with the extension ".aspx"

    ASP is obsolete. You can still use it, but Microsoft stopped active development of it almost 10 years ago. If you want to learn a technology for the future, one where you can earn money programming with it, don't learn ASP.

    PHP is almost as old as ASP, but it *IS* still being actively developed. The original PHP and the orginal ASP were very similar. But PHP has undergone many changes over the years where ASP has not. (Microsoft decided to just drop ASP in favor of a whole new concept when it changed to ASP.NET.)

    ASP.NET is only available on Windows. PHP is available on almost every platform.

    PHP is easier to learn than ASP.NET, but ASP.NET has many advantages that are not obvious until you start using it.

    You have to decide which you will learn. We can't do that for you.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    New Coder
    Join Date
    Mar 2012
    Location
    Los Angeles, CA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ASP is Script based language while ASP.NET Complied programming language and aspx is the extension of ASP.net page.

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,634 Times in 4,596 Posts
    Quote Originally Posted by petersampsons View Post
    ASP is Script based language while ASP.NET Complied programming language...
    A bit misleading. ASP and ASP.NET are *platforms*. Not languages at all.

    ASP uses VBScript and JScript as its languages of choice. But in fact neither of those is a pure-script language, despite the names. In point of fact, both are compiled from source code into an internal byte code. That byte code is then indeed interpreted in order to execute the programs.

    ASP.NET can use a variety of languages, though VB.NET and C# are by far the two most popular. Again, both those languages are compiled into a byte code. The big distinction between these languages and VBS and JS are that the .NET "interpreter" (the "Common Language Runtime") actually then can compile the byte code (also known as "Common Intermediate Language" or "CIL") produced by *any* compliant .NET language down to machine code. [If you care, this is quite similar to what Java systems do, where the process is known as "JIT" or "Just In Time compiling".]

    It is also true that VB.NET and C# are "strongly typed languages" (though there is mode in VB.NET where the "strongly typed" part isn't determined until CIL time) where VBScript and JScript are "untyped" languages (a lie--both *have* types, but they automatically choose the needed type for you...most of the time...that "most" being a source of problems when it doesn't happen).

    So there are both similarities and fundamental differences in the languages, but in many aspects the two platforms accomplish the same things in much the same ways.
    Last edited by Old Pedant; 04-05-2012 at 09:04 PM.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • Users who have thanked Old Pedant for this post:

    Morgoth (04-05-2012)

  • #5
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post

    Cool

    I think this post should be stickied, next to whammy's old post.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •