who is the best? php vs asp?

by 91 replies
104
I think php is the best for webpage..........
#programming #asp #php
  • Both php and asp are most popular programming language.But PHP is best. Because PHP is Open source.Loading fast, Easy to learn.
  • I would recommend Php as it is easy to learn and develop faster.
  • PHP is open source so is obviusly more popular because of this. Although the langauges use a similar syntax and performance wise theres not much if any difference.
    • [1] reply
    • PHP is great as it is fast to develop in. GenIt has loads of built in functions erally I will use PHP to develop sites for this reason. The functions for MySQL connectivity are easy to use and being able to chuck stuff into the current session object is pretty cool as well.

      That said I think ASP.NET + C# code behind is really powerful. It may not be as simple to use at first but I think it's much more sophisticated and .NET gives you a lot out the box too.
  • Which is better to write with... your left hand or your right hand?
    same question just asked a different way
    • [2] replies
    • php is best for small platforms, but .net is most suitable for big platforms.
      • [1] reply
    • Good parable, no one is better but suitable
  • I have use PHP for all my web, so I think PHP is the best ones. But if you want try asp, its no problem to do. Using both of programming language, you can decide, which one programming language is the best for your applications.
  • I think PHP is good and easy which is having many advantages over ASP in terms of cost, speed, security and flexibility.
  • I prefer Asp than PHP because Asp is a good programming language than PHP.
  • PHP is best web programming lang over ASP .
  • Banned
    [DELETED]
  • Banned
    Actually ,we should remember that PHP and ASP both are web development language,as a student of CSE I respect both,we should also respect them.I am a zend certified ,so it is natural that I love PHP,I will love it till my retirement.Comparatively PHP is best because it is open source no one,secondly it is fast ,similar with c that is the reason it is easy.On the other hand ASP is more secured than PHP but comparatively it is slow,and it is also a sharp weapon for windows phone if you learn c#.
    • [ 1 ] Thanks
  • anyone that tells you php is better than asp has never built a large enterprise application from scratch and was then able to say damn that's still as tidy as when I started.

    The problem being that asp is a framework and php is a scripting language... php is great for small snippets of code and smaller site hacks but you'll find that as php application sizes increase they tend to get messy quickly and harder to maintain, why? because you find yourself adding this code and then that code and unless youve built the entire site from scratch with a dead set plan, which is almost unheard of in the php world since its easier to go grab some pre built open source code and plug it in, then things are just going to get messy.

    asp on the other hand handles larger apps alot better since everything you need to create the app is already included in the framework and all you need to do is access those features.

    summary: neither is better, both have their strengths and weaknesses
  • asp is more secure than php.Have a little bit different between them.
  • Both languages PHP and ASP are most popular.But PHP is the best at that time because it is
    easy to learn. PHP is an open source Language as compare ASP.Net.
  • for me, php - the vast wealth of material and support on the web is great.
    it's easy to learn, develop and debug

    Although I do have to do windows development sometimes, I hate developing windows and related platform stuff
  • I'm learning php and i vote give php.
  • I always prefer open source therefore I'll go for php
  • Both are free no cost languages and both have a large user group that support and develop the language. I would say ASP has a more tenacious user group, if that would be the correct term to use.

    Which is better? What platform are you developing for? Linux or Microsoft Servers?

    What database are you using? MySQL, PostGreSQL or SQL?

    If you are planning to or are currently working with windows servers than I would say go with ASP.

    Both languages are similar, not identical but in some ways similar to one another. There are major differences too.

    I personally come from a *nix background and just prefer the old LAMP setup but the more I get into working in the windows world I see pluses to ASP as well.

    I disagree that you can't use PHP with large scale projects, I have built and been project manager for quite a few multi-million dollar projects with PHP as the main server side language. The excuse about sloppy code the more you add on has more to do with the programmer(s) than the language.

    PHP is an excellent OOP language unlike some others out there that sort of tacked on OOP just because the developers/creators thought it would be a nice idea.

    I would recommend learning at least 5 different languages and then look at PHP and ASP from the experience perspective of all the languages you learned or are learning, you can't really judge a language until you learn more than two. That is my opinion anyway.
  • Banned
    [DELETED]
  • In my opinion PHP is more reliable then ASP .Net, PHP is more user friendly language then ASP, I always hate a .Net website when I am gonna do SEO for it.
  • is Best i m also learing .
  • Banned
    [DELETED]
  • Banned
    Every language have different features and different quality. We can't say that its good or its bad.
    PHP - most widely used open-source server-side scripting language.
    ASP- ASP.NET makes building real world Web applications dramatically easier. ASP.NET server controls enable an HTML-like style of declarative programming that let you build great pages with far less code than with classic ASP.
  • abdurrahman,

    ASP has been dead for over 10 years... ASP.NET is the technology now....

    I think both PHP and ASP.NET have advantages... It depends on what you are doing....

    God Bless,

    Rich Beck
  • [DELETED]
  • A lot of ignorance and opinion in this thread. The best posts are from Terry Crim and Rich Beck. They are two different languages, and it's important to understand you can learn and use both for free (Visual Studio Express is free, and you can write major commercial software in it). PHP may be a little easier to learn because it supports both procedural an OOP coding styles.

    I think there is a simple way to decide which language you'd prefer. If you'd prefer to use an open-source language that has strong commercial demand (if you need to get a job at some stage), but you will be hosting your own sites and don't want to pay a lot for hosting...PHP is your friend. If you want to have a job that is in major demand commercially, both for line-of-business apps and external facing apps, then C# with a focus on ASP.NET is your friend. That should guide you in your decision
  • Php is for small web applications/sites.But where comes the bigger portals..asp is better.It has immense features which clearly php lacks of.
    • [1] reply
  • To me PHP is the best . Cause It's open source
    And the main point is I'm trying to learn it before few days ago.
    It's rocking. Easy to learn.. It's really enjoyable programming language.
  • Obviously, PHP is the best.
  • Banned
    [DELETED]
  • Hello..
    I don't think there is any comparison between ASP and PHP...you should choose your programming platform according to your application needs...
  • Banned
    [DELETED]
  • Php is easyly understanble and easy to learn..as it contain dynamice contain as database it has more scope..
  • I'm a microsoft hater so for me it's php all the way

    Ehternet First Mile
  • Each has their own pros and cons. It really depends on what you work best with as each is also setup in their own way.
  • Banned
    [DELETED]
  • I think PHP is the best. The reasons, PHP is free, open source and there are many many examples on the web.
  • yes, obviously php is better then asp. Its free and easy to learn.
  • Another PHP addict here :-)
  • I think both are very understandable languages. But PHP is the best for me.
  • Both are good but my vote goes to .NET because of websites of .NET is more secure than PHP.
  • still php is the best.........
  • PHP is quick and easy, but it's not the best. I use both and I much prefer ASP.NET (using C#).

    The best things about C# are the wonderful editor, and the fact that as your code is compiled so stupid bugs simply can't arise.

    ASP.NET also makes it easy to keep code clean, and it's simple to re-skin a site.

    I've just made a membership site in ASP.NET, and I'm really pleased with how easy it was to integrate with MySQL. I was a SQL Server fanboy for a while, but MySQL rocks.

    Oh, and you'll find that generally speaking, C# jobs pay more than PHP.
  • Banned
    [DELETED]
  • According to me PHP is the best language for developers.
  • i think PHP is best one
  • ASP is best
    ASP appears for Effective Hosting server Pages
    ASP is a Ms Technology
    ASP is a system that operates within IIS
    IIS appears for Online Details Services
    IIS comes as a totally free element with Ms windows 2000
    IIS is also a aspect of the Ms windows NT 4.0 Choice Pack
  • I think Php is best programming language. Because its easy to learn and fast load. For learning php I want share some best sites in which find best knowledge about php and with every topic you will find suitable example with every topic..php.net and w3schools.com ..
  • Php is best due to it's easy to learn and open source advantages but asp is more powerful then php.
  • PHP is more secure. ASP.NET is faster than PHP4. PHP5 and ASP.NET perform about the same. ASP.NET is known for exploits when running on IIS. PHP is cross-platform. ASP.NET is windows only. PHP is free and less costly to use. ASP.NET web hosting is very expensive. It really depends on what you want to do. What will be the size of this eCommerce site? For larger sites, ASP and Microsoft SQL are your best bet. MySQL is not suitable for large websites unless InnoDB or Merge tables are used, as well as proper database design.
  • Php is the best language in webpage design.
    Asp is also good but not than php.
    • Banned
      [DELETED]
      • [1] reply
  • asp.net and php both are very good language but i prefer to .not becasue it is too good specially on securities issue.php can work and make static website but in functionality and for dynamic websites .net is too good then php.
    • [1] reply
    • The PHP is an Open Source. So, I think PHP is better than The ASP. because it is very easy.
  • As my vote is going to PHP. It is an best open source language.
  • [DELETED]
  • Banned
    [DELETED]
  • PHP is best language to design a website.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • I would say PHP is open source so according to me its popular because of this. And its pretty easy to use so I would prefer PHP
  • We use PHP almost 80% of the time for scripts, websites, softs etc.

    WILL
  • PHP is the best.
  • Banned
    [DELETED]
  • PHP is open source and therefore much more powerful than asp
    • [1] reply
    • Don't bother yourself with this question,there is no difference at the end.
      Your question doesn't have any answers.
  • yes php wery eze use and its free tray it
  • Both ASP and PHP are good programming languages.
  • Banned
    [DELETED]
  • php stand for php hypertext preprocessor. php programing language is easy language.HTML tags use in php.this web page using post method.php is HTML script.i think php is powerful behind, the scenes scripting language.
    ASP stands for Active Server Pages. ASP is a Microsoft Technology. ASP is a program that runs inside IIS
  • I prefer php as it's much easier for me to work with. I've tried asp in the past but just couldn't get the hang of it.

    Chad
  • I like php over asp because I'm familar with it
  • I think PHP is the best because it supports all the database languages (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.). Although, ASP is also good but i will suggest to use PHP as a scripting language and create enormous page over Internet.
  • PHP is for newbie.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • php is better than Asp.
  • PHP has a big advantage as it is open source, however ASP is great as well
  • I personally prefer php.
  • Can we mark the thread as 'flamebait'? While each person may have individual preferences, you should use the appropriate tool for the job. Asking whether PHP, .NET, Ruby, Python, PERL, etc. are better is like asking which type of screwdriver is better: slotted, Phillips, Torx, etc. Though, I suppose you could be asking which language is better objectively, i.e. better designed, more consistent, etc. If that is the case, .NET would be the 'better' language. PHP has far too many inconsistencies, both syntactically and behaviorally. That said, I tend to code in PHP far more often than .NET.
    • [1] reply
    • +1 Yep What he said.

      Interesting that no one mentioned Java though Some companies are producing great products with it although I prefer to Drink my java rather than code with it...
  • My vote goes to PHP -- there are more developers, resources, training etc out there. It's so much easier to find help when you hit a wall with a PHP bug.
  • Banned
    [DELETED]
  • I prefer PHP. Easy to learn, great community, easy access to tutorials and video courses.
  • I currently have a php and an asp website. They both work fine. I personally like php better. To me it has more open source availability. I think there are pros and cons to both. But what ever one you pick to use will be fine.
  • PHP is the best it is open source and a lot of tutorial exist in the net and is easy to learn it
  • PHP is open source, and big sites use PHP: Facebook, Google, Yahoo...
  • PHP is the best because It is easy to use and simple programming language.It is server side scripting language.
    For travel trip, you can search cheap flights to USA at Dearflight
  • ASP.NET is better for vaster projects that need a more secure architecture
  • Microsoft Technologies are always easy to learn but don't work out everywhere ! So My pick would be PHP.
  • PHP is way better. It has more libraries, documentation, etc.
  • my opinion: PHP is better than ASP.
    My reasons:
    - php is Open Source= Free, ASP is not.
    - php is highly portable, ASP is only best when combined with other MS Services or Platforms. Some of which will require you to pay.
  • Its kind of like asking which is better...a cheap generic brand battery or an Energizer brand name battery. They will both yield you with an output, but which is your preference? Who is your client? Is there are pre-existing need for ASP? I am not an ASP developer so my answer is PHP, but you can technically create equally compelling and feature rich web sites and web applications with both platforms. To each his own I suppose.
  • PHP is easier to learn and you're not tied to any particular proprietary toolset or technology.

    ASP (now ASP.NET) is good too although it has a steep learning curve, considering you also have to be familiar with Microsoft's IIS and authoring tools if you really want to take advantage of ASP.NET's power.
  • PHP is very simple language for developing websites compare to ASP.net. PHP has all the function and its an opensource language which is freely available on internet. PHP also supports CMS's for managing websites content easily. ASP.net is a Microsoft product so we need license for developing websites in it and has very complex programming.
  • It depends on what you are using it for and who your developers are.

    It is kind of a redundant question though.
  • Banned
    [DELETED]
  • PHP is best because it is open source and also best with linux server which are easily available.
  • Banned
    [DELETED]
  • It will always come down to personal preference, neither language is 'better'. Each has its benefits and disadvantages.

    I personally, like most people, prefer PHP but that doesn't mean ASP isn't good for some things, it is.
  • As webpeon said that it is like asking which hand is best right or left, if you are a left handed you would say left and right handed would say right so there is no end to this debate, choice of programming really depends on how good you can grasp the concepts and syntax. IMO programming language doesn't make much difference, you have Facebook built on PHP, eBay on Java etc so it does not matter which programming language you choose, the thing on which you should concentrate on is the application and database architecture because these two are the main bottlenecks of an application.
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • PHP for me, ASP feels a little dated although I don't use it heavily.
  • Both are popular. ASP use industrial / corporate company (like custom application). PHP is Average Max useful on the web.
  • According to me, PHP is best Programming language. i like to work with PHP.
  • Banned
    [DELETED]

Next Topics on Trending Feed