PHP or ASP

by 39 replies
44
What do you prefer for light weighted site ... PHP or asp ...wat are the criteria it which PHP is better than ASP
#programming #asp #php
  • PHP is easier to learn and is more compatible with different web servers.
    ASP is sort of the old big business standard. ASP would be easier for a visual basic programmer to learn, while PHP would be easier for someone who is used to C/C++.

    If you want to run a light weight site, you're probably going to be best off using a light weight webserver and PHP.
  • PHP is also much more flexible in terms of database connectivity, such as built in functions for mysql (free database).. and as IMmoney says it is quite easy to learn, even if you are new to programming.
  • PHP is most using technique today. Because It takes less time then ASP. And in PHP lots of shortcuts are available. ASP is also very demanded but its' little difficult to program then PHP.
  • PHP! Why? Because it's awesome, much lower costs for software and hosting, and lots of support around the web
  • Actually for users it doesn't matter whether you apply PHP or ASP.NET. Yet PHP is a bit easier for a programmer. I guess there are much more PHP programmers in the world cause it takes less time to learn))
    Mostly light weight pages are created on PHP, ASP.NET allows more functionality and allows develop complicated pages.
  • I am a php beginner,
    I think
    PHP is a bit easier for a programmer.
  • It depends on what you are going to make, I would prefer to use PHP over asp.net as its hosting costs me lesser
  • PHP is easier to learn, more flexible and cheaper, usually runs faster on the same hardware.
    • [1] reply
    • I see this discussion on PHP and ASP. After saw this discussion I searched about this and I found very inserting and positive view about that Both are Programming Language and used for Web Developing.
  • PHP is good languages for quick learning and open source. It available free online. PHP is server site scripting so it takes minimum time for loading.
  • I would prefer php because it has many advantages over simple asp.

    PHP codes runs much faster than ASP.
    Most php tools associated with programs are open source.
    php syntax is similar to c/c++ language.
    PHP programs can also run in Windows, Solaris, Unix and Linux.
  • My personal experience has been that they are quite similar in terms of difficulty. for me some aspects of PHP are a little more straightfoward even though the syntax is Messier. However, I also find the asp.net code to be more organized / easier to read. anyway it's just at the beginner level and based on my personal experience.
  • PHP is better than ASP in all aspects. Go with PHP
  • I personally would recommend PHP, as it is more widely used and is easier to get into.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • I prefer PHP it is very simple and easy to use as compare to ASP.
  • Use PHP, because ASP is obsolete. or do you mean ASP2?
  • I find PHP alot more easy to learn than ASP
    • [1] reply
    • PHP is having no readymade builders available while asp.net is having studio and pretty easy to work with
      • [1] reply
  • I will always prefer php for web development as it has many advantages over simple asp.
  • PHP. Don't bother with ASP, unless you can afford to develop with Visual Studio and ASP.Net. If you can, though, ASP.Net is great and incredibly powerful and the Visual Studio IDE is hands down the best IDE out there.
    ASP, as in Non .Net VBScript ASP that comes with IIS, is pure garbage by today's standards.
  • I think PHP is the best software for creating the light weighted web pages or websites as PHP is very simple language to learn; also the PHP web sites can run on different web servers.
  • Banned
    [DELETED]
  • Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers.
  • The key statement is light weight... Much less overhead to get PHP off the ground.
    • [1] reply
    • [DELETED]
    • According me PHP is best programming language.PHP is easy to learn and faster code run process.PHP is run on different web servers.PHP is best for Web Developing.
  • Lightweight? How about good old plain-jane html? If the site is static, you don't need any programming language other than html.
  • It really doesn't matter. Each has advantages and disadvantages. The answer depends on what you are trying to achive.

    Just use what you know. Personally, I like asp.net C# because it has lots of great commercial things that cut my programming time in half (like llblgen) drool.

    On an opinion basis I think PHP is an ugly language It's main advantage is that all the open source CMS use it.
  • PHP: Hypertext Preprocessor is a scripting language widely used general-purpose, which was originally designed for Web development for producing dynamic web pages. PHP was originally created by Rasmus Lerdorf in 1995 and is under continuous development since.
  • anyway mate
    asp is out of date
  • You are saying something ugly which is considered beautiful by all the open source community. You said it! So, it's just you no offense.

    Getting help with PHP is easier.
    PHP can run on many web servers and OS platforms.
    An important part of common LAMP platform.
  • I prefer PHP.. It is fast, reliable and huge support...
  • HTML site is best
  • I prefer PHP. its easier compared to ASP and reliable too.
  • I prefer using PHP codes, ASP is a little bit complicated for me.
    • [1] reply
    • Well, the difference between PHP and ASP is that ASP is a Microsoft product based on visual basic syntax whereas PHP has C and Java based syntax. ASP works better on Microsoft servers.
      • [1] reply
  • PHP: Hypertext Preprocessor is a scripting language widely used in general, it was originally designed for Web development and production of dynamic web pages. PHP was originally developed by Rasmus Lerdorf in 1995, is in constant development so far.
  • Well, PHP can be used on both Windows and Unix, whereas ASP is windows only. (or very difficult to get going on unix, gotta install mono, etc.. a big hassle).

    what this means is that say you have a website using PHP and you have to change hosting, you have a much wider choice since you can port your code to a windows or linux server without much trouble.

    If your site uses ASP, you're basically fcuked, gotta go with a windows server.

    Hence, PHP is clearly the winner here. Plus, ever try to set up per folder access restrictions on an ASP site? nightmare. PHP -> htaccess, friggin' nice.

    Cheers,
    WP4H

Next Topics on Trending Feed

  • 44

    What do you prefer for light weighted site ... PHP or asp ...wat are the criteria it which PHP is better than ASP