Difference between .net and PHP language

by 18 replies
22
Hi guys,
Please share information about Difference between .Net and PHP language. which is good for developing web application.
#programming #difference #language #net #php
  • Both are good for developing web applications.
    PHP is open source and free.
    .net is from microsoft, and its not free...

    Php has great support from the community.
    I would suggest you, to look for php.
    • [1] reply
    • Just wanted to point out that .Net IS free. You just can't use the enterprise level features(which you will likely never need...). You can build anything you want for a web site or windows application with the express tools. IMO visual studio (even the free express edition) is the best IDE in the biz. You can also use free cloud source control from visualstudio.com.

      Both are well aged and full of support. I find the .Net stack easier to deal with but that is obviously an opinion. I have been writing enterprise level .Net applications for large Oil companies for 10 years. If you are looking to write for yourself, the learning curve is around the same.

      PHP is very popular and is faster but they are both very fast and you may only notice performance differences if you have hundreds of thousands or millions of users like Facebook.

      .Net and Microsoft technologies are very well entrenched in corporate and business atmospheres(excluding tech startups) if you are looking to expand into those customers.
      • [1] reply
  • PHP is more widely accepted by web hosting companies where as ASP.NET is not.

    From a personal/hobby point of view I'd go with PHP .... However if you want to make a career out of building business websites I'd go with ASP.NET

    But at the end of the day it comes down to personal preference. I like building websites in ASP.NET however I still use PHP for making simple websites/wordpress plugins.
  • post padding thread...
    • [ 1 ] Thanks
  • .NET is a platform which support microsoft languages and it is use on only windows operating system but PHP is a open source programming language which can run on all operating systems.
    • [1] reply
    • .Net is deployable on more then just windows operating systems, take a look into The Mono Project.
  • [DELETED]
  • Both are good.
    PHP is a language, .NET is a platform that supports multiple languages.

    PHP is a scripting language, so it reads in text files and executes commands on the text whenever it is asked to. .NET code is compiled into an application of library like non-scripting languages, and that code is executed by a virtual machine (like Java).
    .NET supports a number of languages, including the popular and well-designed C# language, and other languages like VisualBASIC, Python, Ruby, Eiffel, etc. and can use any libraries developed for .NET in any language that uses the .NET common language infrastructure. PHP requires you to program in PHP, and adding new libraries involves C language development (and can only use libraries accessible to C).
  • I have learned both the languages. I used PHP for developing online web applications and .net for developing stand alone applications. .net can also be used for online web applications. But I haven't used it.
  • PHP is a HTML embedded scripting language
    The.NET is not a language..net is a framework can be incorporated along with many languages

    PHP runs on any operating system and HTTP server
    .NET runs only on windows or IIS

    PHP is an open technology.PHP is free of cost and available free on web
    .NET is not an open technology..NET require upgrading the hardware and spending money for softare licenses
  • PHP is a programming language used for interactive websites.

    .NET is not a language, but a framework for building programs. Websites built on ASP.NET platform use VB.NET and/or C# as their programming language.
  • PHP is very flexible and pretty much endless to what you can do with it. Now days, web programmers choose PHP because of the flexibility and and speed of it.
  • Banned
    [DELETED]
  • Good Post , Thanks for sharing with us..

    PHP is a language
    .NET is not a language
  • Its frequently asked question. Php programming language but asp.net is not...
  • Banned
    [DELETED]
  • I would pick php. Mostly because of it's large internet community. You can have more options to choose
    from when you need a framework/CMS for your site.
  • Fun fact.. you can use phalanger (google it) to compile php to .net... it's free and open source...
  • [DELETED]
  • [DELETED]
  • Both are good but i suggest you try coding with php. NET is usually written in C# and could be difficult to learn for beginners. You could find more resources in php, because it is widely used for most websites.

Next Topics on Trending Feed