Professional Documents
Culture Documents
Websites
developed by ASP.NET may use C#, but also other languages such as J#.
ASP.NET is compiled whereas PHP is interpreted. This means that ASP.NET websites
generally have shorter execution times, but also that changing the website becomes more
complicated as it needs to be re-compiled (whereas for PHP websites you can simply replace
the new code). The decrease of execution time is, however, seldom noticeable. This is
because most of the page rendering times arises from setting up the connection and
querying databases.
ASP.NET is designed for windows machines, whereas PHP is platform free (and typically
runs on Linux servers). Besides the fact that Linux servers are well known for their stability
and security, Windows is a licensed platform which implies that hosting an ASP.NET site
will usually involve more costs.
PHP- Pros
– It is open source that means it’s free to use and is constantly being improved by a large
number of people rather than a single company
– PHP is great for large projects like Facebook, White House websites.
– PHP is highly effective at accessing and communicating with various database types. This
makes it perfect for web-based scripts, such as website content management systems.
– It’s is highly scalable and you can easily customize according to your need
PHP- Cons
– One of the main disadvantages of PHP is that it is generally not suitable for making
desktop applications.
– It allows customization that causes bugs and poor coding than .NET.
.NET – Pros
– .NET is highly scalable; its scalability index even posing a stiff competition to its rival
PHP.
– Support all programming languages and works well with either app or C#
.NET – Cons