/    Sign up×
Community /Pin to ProfileBookmark

Hi,

What’s the difference between ASP and PHP? – What’s best

to post a comment
PHP

19 Comments(s)

Copy linkTweet thisAlerts:
@bokehApr 07.2008 — PHP is open source. It's loaded and can run on just about every server platform. ASP on the other hand is not open source and only runs on Windows servers.
Copy linkTweet thisAlerts:
@DysanauthorApr 07.2008 — ...and also you have to pay for it (ASP) - Correct? ?

So why do so many people use ASP? Why not just stick with PHP?
Copy linkTweet thisAlerts:
@bokehApr 07.2008 — Some companies think software is better if paid for. Also if you pay there is automatic notification of bug fixes and security updates.
Copy linkTweet thisAlerts:
@chazzyApr 07.2008 — No actually you don't have to pay for ASP, other than the licensing costs for the server that it runs on. Sure, there's a cost for some of the IDEs, but there's a cost for Zend's IDE as well for PHP. Most people think that Linux is 100% free, but they don't read the fine print in the licensing agreement :-)

Some people like to think that paid for software is the bane of existence.
Copy linkTweet thisAlerts:
@TJ111Apr 07.2008 — Linux IS 100% free. The only time it might not be free is if you purchase a "distro" that offers licensing/support, like CentOS Enterprise and Red Hat Linux. But that's not linux, thats a distribution that incorporates the Linux kernel into it. The reason ASP can get pricey is because on large systems, you have to purchase a windows license for every computer thats running it.

That said one of the reasons ASP is used is because it uses the .NET framework, and integrates well into other MS products. Other than that, it is pretty similar to PHP as far as functionality goes. I prefer PHP because it's free to use everywhere, and runs on linux computers. And if your managing servers, I can't not have the linux command line available to me (double negative!).

It's not a case of PHP > ASP or vice-versa, its just a matter of preference, what you need to accomplish, and what systems your going to run it on.
Copy linkTweet thisAlerts:
@bokehApr 07.2008 — other than the licensing costs for the server that it runs on.[/QUOTE]Exactly!
Copy linkTweet thisAlerts:
@mayooresanApr 08.2008 — mm.. ASP is very easy and can be used for Rapid Application development but in PHP you can do anything you wish. Unlike ASP in PHP you'll have control over your development.
Copy linkTweet thisAlerts:
@scragarApr 08.2008 — I'd say PHP, but only because it has the full power of linux(or BSD etc) behind it since the exec and system commands can pass information back and forth across the shell(and all without having to build huge lib's into PHP to achive it). Running on linux servers also improves speed and drasticly reduces space requirement(I had a test server running from a 128MB USB at one point, beat that -- google "LFS" incase your intrested in how BTW.)

On the other hand ASP is a more english written language... I actualy can't think of anything else I like about ASP...I guess I kinda like it's integration with other windows applications, but then that also annoys me when I wish to aproach a task from a unique angle for some reason.
Copy linkTweet thisAlerts:
@DysanauthorApr 08.2008 — Hi Scragar,

I agree, I prefer PHP also, over ASP. But why do so many people use ASP? ?
Copy linkTweet thisAlerts:
@scragarApr 08.2008 — I can see 3 reasons:
[list]
  • [*]"You get what you pay for" as the saying goes(I disagree, but general opinion goes this way).

  • [*]advertising. No-one promotes free things, no profit.

  • [*]Most people don't understand how a computer can work without windows, in their minds(and these are the people who are making the spending decisions) anything made by Microsoft has an instant advantage, takes a lot of effort to dissuade them.
  • [/list]


    I'm proberly missing an argument or two though.
    Copy linkTweet thisAlerts:
    @chazzyApr 08.2008 — Linux IS 100% free. The only time it might not be free is if you purchase a "distro" that offers licensing/support[/QUOTE]

    60% of the time, it works all the time.

    Obviously Linux isn't 100% free if you can purchase support/licensing. Otherwise support licenses would be free as well, right?
    Copy linkTweet thisAlerts:
    @scragarApr 08.2008 — it's techincaly possible to sell something under GPL(like your linux distro would be), but then ofcourse you have to give anyone who buy's it the source and right to give it away, so finding a linux distro where you pay to download is very rare. On the other hand charging for 24/7 support from dedicated staff is a very nice idea(although it detracts from the whole comunity that comes once you start using linux).
    Copy linkTweet thisAlerts:
    @bradmasterxApr 09.2008 — Php Rules And That It Kk :p
    Copy linkTweet thisAlerts:
    @TJ111Apr 09.2008 — 
    Obviously Linux isn't 100% free if you can purchase support/licensing. Otherwise support licenses would be free as well, right?[/QUOTE]

    My point was the linux, as an operating system, is always free. Redistributions, however, may charge for licensing and support. Redistribution != Linux, there's a difference. It's like going to Best Buy and getting something for free (theoretically), but paying for the extended warranty.
    Copy linkTweet thisAlerts:
    @HuevoosApr 09.2008 — All in all you are asking on a php forum, try to ask the same question on the ASP one, and see which replies are better (I'm willing to bet for the PHP ones though ?)
    Copy linkTweet thisAlerts:
    @DmitriFApr 09.2008 — Both have their advantages:

    PROS
    -----


    PHP - It is opensource, supported, and is a very extensible language. By extensible I mean stuff like GDLibrary.

    ASP - Paid license but hell any computer that has windows comes with IIS and ASP on it minus maybe Millenium and XP Home. Plus this language is most used by big companies who've got the money to pay you above 15$/hour

    CONS
    -----


    PHP - not very commonly encountered in the corporate world mostly due to lack of support for it that is 100% reliant. Most companies systems are built on ASP Classic.

    ASP - very limited. This was Microsofts attempt to continue the legacy of VB(kill it already). The main enticement was that if you know VB, you can use ASP. This has brought many limitations from VB. Also ASP misses many vital functions wanted when you are trying to do something slightly more serious than just a basic page. It misses things like Min and Max among many others.

    No graphic support, outside of maybe OWC, which by itself is pricy and limited to the Office suite.

    Bottom line:

    I dislike ASP, but at work I am in an ASP environment so like it or not, you have to enjoy it. So if you want a better chance to get a job, learn ASP/ASP.NET, if you want serious programming learn PHP. Better yet, learn both, since any language in this world can be used to make beautiful things.
    Copy linkTweet thisAlerts:
    @scragarApr 09.2008 — since any language in this world can be used to make beautiful things.[/QUOTE]
    then the chalange is on, produce me some pretty result using [url=http://www.muppetlabs.com/~breadbox/bf/]brainf*ck[/url]

    curse you forums, why do you censor links?

    Oh, and my first SSL was ASP, hated it every day(actualy, college had lessons in VB, but same deal). After learning PHP I've never needed ASP again, doubt my skills in it are any good anymore.
    Copy linkTweet thisAlerts:
    @DmitriFApr 10.2008 — to those who dont know asp or dont use it.

    Where do you work, company name.
    Copy linkTweet thisAlerts:
    @nahranApr 16.2008 — Both have their advantages:

    PROS
    -----


    PHP - It is opensource, supported, and is a very extensible language. By extensible I mean stuff like GDLibrary.

    ASP - Paid license but hell any computer that has windows comes with IIS and ASP on it minus maybe Millenium and XP Home. Plus this language is most used by big companies who've got the money to pay you above 15$/hour

    CONS
    -----


    PHP - not very commonly encountered in the corporate world mostly due to lack of support for it that is 100% reliant. Most companies systems are built on ASP Classic.

    ASP - very limited. This was Microsofts attempt to continue the legacy of VB(kill it already). The main enticement was that if you know VB, you can use ASP. This has brought many limitations from VB. Also ASP misses many vital functions wanted when you are trying to do something slightly more serious than just a basic page. It misses things like Min and Max among many others.

    No graphic support, outside of maybe OWC, which by itself is pricy and limited to the Office suite.

    Bottom line:

    I dislike ASP, but at work I am in an ASP environment so like it or not, you have to enjoy it. So if you want a better chance to get a job, learn ASP/ASP.NET, if you want serious programming learn PHP. Better yet, learn both, since any language in this world can be used to make beautiful things.[/QUOTE]


    >No graphic support..? what about Visual Studio? Plus, ASP.Net is not limited to VB man... C# is rather easy to pick up. I say, learn both PHP and ASP.Net - why not? if you want to host your own site, and don't want to spend to much money on it, go with PHP. But if you want to make money as a webdeveloper, the best choice is ASP.Net.
    ×

    Success!

    Help @Dysan spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...