+ Reply to Thread
Results 1 to 9 of 9
Like Tree2Likes
  • 1 Post By garrensilverwing
  • 1 Post By geoffish

Thread: Ok, so I'm trying to decided wether to use asp.net or php

  1. #1
    mrfish is offline x10Hosting Member mrfish is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    5

    Ok, so I'm trying to decided wether to use asp.net or php

    I understand asp.net runs better then php. It's also a lot harder to learn but I don't mind the learning curve. I think asp.net sounds a lot better then php even if it is segregated from apache servers and database structures that php uses and asp.net doesn't. I'm willing to go the extra mile for performance. The deciding factor is a question that the w3schools left me with. After completely learning asp (and realizing I learned the outdated version T.T) I ventured onto asp.net only to read this horrifying news-

    ASP.NET is a Microsoft technology. To run ASP.NET you need a computer capable of running Windows.
    So what does this mean?
    1. Does this mean only computers loaded with the microsoft opperating system can view asp.net files on the web? Meaning 20% of internet users will not be able to view my website?
    2. Does this mean only computers with the microsoft OS can host asp.net files. But once uploaded to the internet even mac computers can view the website the way it's meant to be?

    Your help is appreciated :D

  2. #2
    garrensilverwing's Avatar
    garrensilverwing is offline x10 Sophmore garrensilverwing is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    148

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    considering some really big websites use asp.net i think its referring to the server running windows although you can get mono to run it on a linux server, a list of websites that use asp.net: myspace, dell.com, match.com, monster.com, costco.com, lego.com, but even bigger websites use php: yahoo, wikipedia, facebook, flickr

    so they are pretty much the same just personal preference and/or your programming experience seem to be the deciding difference
    karimirt47 likes this.

  3. #3
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,735

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    ASP.NET is a Microsoft technology, but the friendly people working on the Mono project made ASP.NET (2.0 and some 3.5) possible on Apache. However, it is an aftermarket technology so it runs into problems.

    I like PHP better. If you're looking at it from a compatibility perspective, consider this: PHP runs the same on every major OS. ASP.NET only runs correctly on Windows, more or less. PHP is more user-friendly, but it doesn't enforce good coding practices (you can evaluate strings as boolean!)

    It's just your preference ;)
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  4. #4
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    1) Nope

    Anyone can view asp.net, php, or any other platform oriented language because what is returned to the client is plain HTML. Asp.net is executed at the server.

    2) Nope

    Generally yes, but as garrettroyce said there are addons to Apache that can allow asp.net to run on other operating systems. Check out X10's asp.net mono functionality and see for yourself.

    PHP is better than asp.net because it runs everywhere and if not for asp.net mono, you would have to pay for a Windows server (IIS) just to use it. Although it is looked down upon that PHP does not enforce good programming practices, that does not demean the PHP language. Most web sites use it, so it can't be that bad!

  5. #5
    batman1's Avatar
    batman1 is offline x10Hosting Member batman1 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Jamaica
    Posts
    92

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    never used asp before, but php is pretty good.

  6. #6
    geoffish is offline x10Hosting Member geoffish is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    2

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    I think that asp.net is great and has better coding than php. If you want to create asp.net quickly, than just download this:

    http://www.microsoft.com/express/download/#webInstall
    (click on visual web developer download)

    however, like everyone else said, good luck getting your asp.net application to run smoothly on anythink but iis.
    Last edited by geoffish; 06-13-2009 at 01:13 PM.
    dinomirt96 likes this.

  7. #7
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,735

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    Quote Originally Posted by geoffish View Post
    I think that asp.net is great and has better coding than php. If you want to create asp.net quickly, than just download this:

    http://www.microsoft.com/express/download/#webInstall
    (click on visual web developer download)

    however, like everyone else said, good luck getting your asp.net application to run smoothly on anythink but iis.
    That's a great point as well. Visual Studio has the IDE software I've ever seen. PHP does not have anything close. Eclipse has some OK plugins, but I've actually just been programming in plain text. So I get a ton of little syntax errors that I have to track down.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  8. #8
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,410

    Re: Ok, so I'm trying to decided wether to use asp.net or php

    Quote Originally Posted by garrettroyce View Post
    That's a great point as well. Visual Studio has the IDE software I've ever seen. PHP does not have anything close. Eclipse has some OK plugins, but I've actually just been programming in plain text. So I get a ton of little syntax errors that I have to track down.
    didn't you forget the "best" part after the "the"?
    Anyways, I've started out by learning ASP.net on Visual Studio 2005, then I've switch to PHP after my IIS localhost started to stop working. I switched to apache and php since there was a greater and better support. Also, I didn't the way that asp-rendered page where cloaked with javascript. It was pretty hard to integrate some javascript. However, I miss the speed of ASP.net.
    Coming back to Eclipse and Visual Studio, since I believe pretty strongly in Open-Source, it's pretty much what makes me prefer Eclipse. Oh and many there was also the fact that my computer used to be running Vista with 786MB of RAM...
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  9. #9
    haggis73 is offline x10Hosting Member haggis73 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    2

    Arrow Re: Ok, so I'm trying to decided wether to use asp.net or php

    Hi,

    Answering the questions posed (I counted three!) -

    1. Does this mean only computers loaded with the microsoft opperating system can view asp.net files on the web?

    Similar to Twinke - Nope. Web server will either be a Microsoft OS (or Linux Apache running Mono). The server serves up HTML to your client browser.

    2. Meaning 20% of internet users will not be able to view my website?
    No, the browser application will read the HTML served up.

    3Does this mean only computers with the microsoft OS can host asp.net files. But once uploaded to the internet even mac computers can view the website the way it's meant to be?
    No, possible to run the ASP.Net on linux / macs with Mono and Apache.

    Costs would be also a good thing to consider and learning curve.
    :lockd:

+ Reply to Thread

Similar Threads

  1. [PHP] Basics of PHP Scripting
    By jeeter in forum Tutorials
    Replies: 21
    Last Post: 02-03-2010, 05:29 PM
  2. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 08:17 PM
  3. currently have an application pending php
    By biomasti in forum Free Hosting
    Replies: 1
    Last Post: 09-03-2008, 02:58 PM
  4. My 2cents on Ruby vs PHP.
    By jwillia in forum Programming Help
    Replies: 0
    Last Post: 03-16-2008, 12:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers