Thread: php or asp ?

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Nakonrachasima
    Posts
    1
    Rep Power
    0
    I want to know about diffrent between php or asp
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Dallas, TX USA
    Posts
    3
    Rep Power
    0
    php requires module compilation into apache, and typically runs on *NIX servers, ie; UNIX or Linux. Active Server Pages is a server side technology that typically is found on Windows NT / 2000 servers and requires asp.dll for scripting engine interpretation.

    You write code for php using html, SQL, JavaScript, and php mostly. You write code for asp using html, SQL, JavaScript, and VBScript mostly.

    With asp you can use a wide variety of scripting languages on the server, from JavaScript and VBScript to Perl. ASP has strong support for middle tier components that Microsoft calls COM components, usually written in Visual C++ or Visual Basic.

    I write for both platforms. I find that php is far more elegant and powerful, and alot faster than asp, and I am an MCSD. Good luck.


    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by monitor_oat:
    I want to know about diffrent between php or asp[/quote]

  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    I have to agree. I prefer PHP to ASP myself.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    philippines
    Posts
    2
    Rep Power
    0
    for gcraig, u mention about asp's support for middle tier components for asp w/c are the VC++ or VB. How about for php? What are good software to use for middle tier components? i need information for my research.Can vb or vc++ be use? i'm really not familiar in these things and i am studying it. thank y ou.
  8. #5
  9. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,648
    Rep Power
    4493
    PHP
  10. #6
  11. No Profile Picture
    philip
    Guest
    Devshed Newbie (0 - 499 posts)
    gcraig, php doesn't require module compilation, it can run as a cgi wrapper but of course is slower that way. this is explained in here :
    http://www.php.net/manual/features.p...onnections.php

    and jeffrey, if you're used to vb then this article will be useful to you :
    http://www.phpbuilder.com/columns/peter20000629.php3
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    gcraig, Also there is no reason why you cvan't run PHP on NT/2000 servers as well, I have it one two that I currently maintain
  14. #8
  15. No Profile Picture
    philip
    Guest
    Devshed Newbie (0 - 499 posts)
    *"typically"* php is run on linux though but yeah it runs on pretty much any evironment. curious, does asp run on linux very well, if at all?
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    With some commercial applications asp can run on *nix server... but asp is basically crap compared to PHP, so there shouldn't be any reason to run ASP on a real server (i.e. *nix)
  18. #10
  19. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    UK
    Posts
    9
    Rep Power
    0
    I've had a quick look at ASP but not for long. Far too ugly! Stick to PHP. Also, as mentioned, PHP does seem to be faster. I have run it on a Linux server (with Apache) and an NT server (also with Apache) and the Linux server performed MUCH better. It was a lower spec machine as well!

    ASP can be run on Linux Apache. I can't remember how though! I think there's a HOWTO on it. Look at http://www.linux.org or check http://www.apache.org. If you really want to know but can't find it then mail me and I'll find out.

    --
    Mark Ogden
    pogden@ntlworld.com http://homepage.ntlworld.com
  20. #11
  21. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    0
    Rep Power
    0
    The best reason:

    PHP uses C as it's base language,
    ASP uses VisualBasic/Quick Basic.

    Should I say anymore ??
    Which would you choose ?
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    114
    Rep Power
    15
    Yeah, ASP's fo' sissies. It's funny too, you mention com objects, it's pretty hard to write code for com objects with VB becuase VB is not an object oriented language. It doesn't support implementation inheritance, so you have to use 'interface inheritance' which ends up being a ridiculously complex work around that microsoft swears is the next best thing to windows DNA, or is that .NET, or ASP+, or ADO+, or C#, or SOAP? If you want to be a MS developer, be prepared to face the fact that by the time you get your app on the web, microsoft will have re-invented your whole CLD (cirular locomotive device), and even thought your app won't actually be out of date, microsoft's marketing team will make you believe it is.

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 11:45 PM
  2. Replies: 4
    Last Post: January 28th, 2004, 09:29 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 02:14 PM
  4. Translation: PHP to ASP
    By swedee in forum ASP Programming
    Replies: 0
    Last Post: January 19th, 2004, 12:11 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 02:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo