Server side language which is best PHP or ASP.NET?

by 40 replies
47
Can anyone prefer which one is best in server side language. PHP or ASP.NET
Has anyone who wants to study or work in server side language which one do you recommend? PHP or ASP.net or both of these two?
#programming #aspnet #language #php #server #side
  • PHP Rockstar \m/
  • Firstly a hi from me ! Sorry I couldn't found an introduction area so I had to say here. Well, regarding the topic I would like to say that both of these website designing techniques include great features and the website created out of them have a great value, but these days the popularity of PHP is getting increased than that of the ASP.net, due to its compatibility and good interfacing. Therefore I will also poll for PHP.
  • There are plenty of threads that discuss this question. Please use the search feature in the forum menu bar.
    • [1] reply
  • Hyper text pre processer.
  • Hello:

    I believe both are very powerful tool for web development. Both has good and bad side. So which tool you will use this must select by you. Because technology is very important for a good web site. Also as Naren said above requirement is also very important to select the technology.
  • Banned
    [DELETED]
  • PHP...it's far easier to learn than ASP.NET.

    There are free tutorials online (YouTube) and the PHP Manual (PHP: PHP Manual - Manual) will become your most frequented bookmark.

    Wordpress is built in PHP, so once you understand the code more, you can start to really hammer out quality work.

    ASP is so clunky, and non-intuitive. - Makes so much sense that it was developed by Mircosoft...
  • As i discussed here most of them prefer PHP is best. Thanks for every one
  • Since I use WordPress as my primary application platform, its really a no-brainer to side with PHP.

    I've coded in asp.net too, and its a robust development toolset.

    I do prefer the simplicity of PHP. It seems to be embraced by the web development community perhaps a bit more than asp.net so there are a wealth of resources available to help you do just about anything you can imagine on the web.
  • Banned
    [DELETED]
  • It depends on your requirement both are server scripting language but most of the time i would prefer to use php than the asp.net
  • PHP is the best coz its easy to learn and widely accepted all over
  • PHP is more secure and faster . It runs in both Windows and UNIX servers . also there's many open source projects available in PHP . so definetely PHP
  • PHP is more efficient and it is easy to use. It is server side language
  • PHP is much more better than ASP.NET . there's many open source projects available for It which you can expand them to your needs
  • For this discussion my vote also goes to PHP. Because its my favorite one.
  • I vote for PHP. I'm currently learning PHP, and i decided to go with PHP insetad of ASP.NET, because it's more massive, and in bigger use, at least that was my impression.

    So, that's why i'm using PHP.
  • The answer is simple... Just look at the language the majority of sites on the net are programmed in... PHP.

    It is not which is better... it is which is most common. As a freelance web designer I have re-designed numerous asp sites converting them to php.
    • [1] reply
    • Here's an interesting fact - if you type php in google, you get around 25.270.000.000 results, and for asp there are aprox 4.090.000.000, which is almost 6 times less - a good enough indicator of popularity.
      • [1] reply
  • very important PHP is platform independent just install apache on linux, windows or any other and you're done while ASP runs only on Microsoft IIS Server. There maybe some tweaks in linux to run asp but it just sucks

    Fact is about 80% sites are running on Linux Servers so ASP is not a better option to choose
  • PHP is far better than ASP because of several reasons:

    Open Source: If you are an advanced developer than you can modify the internal functions of PHP which can change the way you want to execute it whereas in ASP, you will need to depend on the classes provided to you.

    Platform Independent: PHP can be installed anywhere (Windows or linux) (IIS, Apache, Nginx) whereas ASP only works on Windows.

    Documentation: You can find enormous documentation for PHP on web whereas for ASP there are only few trusted blogs or books.

    CMS: Wordpress, Drupal, Joomla and many CMS run on PHP whereas you will find only few CMS (if opensource) that work on ASP.

    Integration: A large number of premium scripts online use PHP as there base language so it will be easier for you to start your site with custom made scripts with php.

    API: It is easy to integrate API of many web services like Facebook or Twitter with PHP but if doing the same with ASP, you will find less documentation and bigger code.

    Easy to learn: PHP is far easier to learn than ASP. So for beginners PHP is too close to their heart and for experts PHP is their first choice.

    ... and last but not the least - PHP Pear makes it one of the best web languages.

    NOTE: But if you are really interested in learning ASP then believe me that you will need ASP only for creating websites of systems totally integrated with Microsoft product line like MSSQL or Microsoft Dynamics CRM. So if you want to expertise only in Microsoft products than don't even think about PHP.
  • PHP is best option if you want to choose on of them.
  • I found ASP.NET fairly easy to learn - C# is really easy. By comparison PHP's functions are a mess of inconsistent names, and some of them don't even work properly!

    C# also commands higher salaries than PHP, especially if you know SQL Server or Sharepoint as well.
  • I would recommend anyone to PHP beacause i like PHP and i know PHP only.
    • [1] reply
    • I have used ASP.NET in the past because I like Microsoft technologies. However, sites built with ASP.NET are slow because are COM based. Recently, I built a couple of PHP based web sites that run under Windows 2008R2 and am very happy (these include a Worpress site and a phpBB forum).
  • I used to teach asp.net before I retired. Now everything I do is php. They run on different platforms - ms vs linux. Much steeper learning curve on asp.net, but there are more tools for debugging, breakpoints, etc.

    php is a lot like the old c language which I learned back in the 80's.

    Their seems to be more support and example code on the internet for php.

    So, my recommendation is to learn php. asp.net if you have a job or contract that requires it.
    • [1] reply
    • PHP runs very well in Windows. Nowadays, I only develop for Windows and websites are only PHP based (usually Wordpress and also forums as the one in signature). Used PHP with II6 (Windows server 2003) and now with II7 7.5 (Windows Server 2008 R2) and am happy.
      I tried WAMP (Apache under Windows) but really didn't like it.
      There are good tools for developing and debugging PHP, but the best are a bit expensive (namely phpEd NuSphere).
  • PHP is a server side scripting language. I prefer to PHP.
  • i would like to say that both the languages are good to learn. But PHP is an open source and very easy to learn compare to ASP.NET. So it's depends on you that in which language you want to make your career.
  • Wordpress goes hand in hand with PHP so arguably for most of us that will be the obvious choice. Also just happen to think it is easier to learn as well.
    • [1] reply
    • It is not really necessary to know PHP to install and use Wordpress.
  • PHP has established itself in the small-to-medium sized business market. Individual webmasters and small companies use it a lot. It's cheap and easy to set up. Programming PHP gives you a much better low-level understanding
    • [1] reply
    • Established also in the high-end business market, afaik.
  • <?php
    echo 'PHP is the better choice';
    ?>

    I recommend PHP.
  • It depends on the application. If I am just building a blog or simple website I will use PHP. If heavy database use is required I would opt for ASP.NET.
    • [1] reply
    • ASP.Net is much slower than php based websites and mySQL can deal with any database requirements
  • my point of view, PHP is the best server side scripting language.
  • asp.net is not open source PHP is open source we dont have to purchase it,asp.net ke liay license lena parta ha hosting ke liay mehngi ha asp.net is easy and fast.
    but i thing both have its own advantages and disadvantages.

    for php tutorial you can visit
    Php Tutorial,php tutorials,Html Tutorial,mysql tutorials,
    • [1] reply
    • Don't really need to purchase to develop in ASP.NET, Microsoft has free tools
      • [1] reply

Next Topics on Trending Feed