who is the best? php vs asp?

91 replies
I think php is the best for webpage..........
#asp #php
  • Profile picture of the author Qualitywebsol
    Both php and asp are most popular programming language.But PHP is best. Because PHP is Open source.Loading fast, Easy to learn.
    {{ DiscussionBoard.errors[6533724].message }}
  • Profile picture of the author purpleviolet
    I would recommend Php as it is easy to learn and develop faster.
    {{ DiscussionBoard.errors[6534900].message }}
  • Profile picture of the author Mattds
    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.
    {{ DiscussionBoard.errors[6535849].message }}
    • Profile picture of the author burton247
      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.
      {{ DiscussionBoard.errors[6536363].message }}
  • Profile picture of the author webpeon
    Which is better to write with... your left hand or your right hand?
    same question just asked a different way
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[6537111].message }}
    • Profile picture of the author singhboy
      php is best for small platforms, but .net is most suitable for big platforms.
      {{ DiscussionBoard.errors[6675385].message }}
    • Profile picture of the author tenji
      Originally Posted by webpeon View Post

      Which is better to write with... your left hand or your right hand?
      same question just asked a different way
      Good parable, no one is better but suitable
      {{ DiscussionBoard.errors[6865443].message }}
  • Profile picture of the author teguhyuliantos
    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.
    {{ DiscussionBoard.errors[6538008].message }}
  • Profile picture of the author James Andy
    I think PHP is good and easy which is having many advantages over ASP in terms of cost, speed, security and flexibility.
    {{ DiscussionBoard.errors[6539414].message }}
  • Profile picture of the author OrlandoBloom
    I prefer Asp than PHP because Asp is a good programming language than PHP.
    {{ DiscussionBoard.errors[6539741].message }}
  • {{ DiscussionBoard.errors[6540078].message }}
  • Profile picture of the author rising_sun
    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#.
    {{ DiscussionBoard.errors[6540808].message }}
  • Profile picture of the author webpeon
    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
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[6540838].message }}
  • Profile picture of the author Devid1
    asp is more secure than php.Have a little bit different between them.
    {{ DiscussionBoard.errors[6541105].message }}
  • Profile picture of the author tarunsarien5
    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.
    {{ DiscussionBoard.errors[6542843].message }}
  • Profile picture of the author CodeShack
    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
    {{ DiscussionBoard.errors[6543084].message }}
  • Profile picture of the author cutegirl36
    I'm learning php and i vote give php.
    Signature

    Source: friv

    {{ DiscussionBoard.errors[6544758].message }}
  • Profile picture of the author locke815
    I always prefer open source therefore I'll go for php
    {{ DiscussionBoard.errors[6544984].message }}
  • Profile picture of the author Terry Crim
    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.
    {{ DiscussionBoard.errors[6545991].message }}
  • Profile picture of the author asghar
    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.
    {{ DiscussionBoard.errors[6546574].message }}
  • {{ DiscussionBoard.errors[6551786].message }}
  • Profile picture of the author antac
    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.
    {{ DiscussionBoard.errors[6654404].message }}
  • Profile picture of the author RichBeck
    Originally Posted by abdurrahman View Post

    I think php is the best for webpage..........
    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
    {{ DiscussionBoard.errors[6655317].message }}
  • Profile picture of the author TopicSpan
    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
    Signature
    Don't lose users!
    Grab our full-page UltraCache system that instantly speeds up any PHP website!
    {{ DiscussionBoard.errors[6658742].message }}
  • Profile picture of the author Gera
    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.
    {{ DiscussionBoard.errors[6671066].message }}
    • Profile picture of the author TopicSpan
      Originally Posted by Gera View Post

      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.
      Yes, because only small websites like Facebook use PHP.</sarcasm>

      Source: Facebook Open-Sources HipHop PHP Compiler Software
      Signature
      Don't lose users!
      Grab our full-page UltraCache system that instantly speeds up any PHP website!
      {{ DiscussionBoard.errors[6671873].message }}
      • Profile picture of the author chandan94
        PHP is the best language which can produce a dynamic website with Mysql database.
        I will always recommend PHP
        Signature

        {{ DiscussionBoard.errors[6674326].message }}
  • Profile picture of the author mmrumii
    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.
    {{ DiscussionBoard.errors[6674345].message }}
  • Profile picture of the author content007
    Obviously, PHP is the best.
    {{ DiscussionBoard.errors[6674703].message }}
  • Profile picture of the author mcygnet
    Hello..
    I don't think there is any comparison between ASP and PHP...you should choose your programming platform according to your application needs...
    Signature

    {{ DiscussionBoard.errors[6674829].message }}
  • Profile picture of the author uktweb
    Php is easyly understanble and easy to learn..as it contain dynamice contain as database it has more scope..
    {{ DiscussionBoard.errors[6675016].message }}
  • Profile picture of the author Xifos
    I'm a microsoft hater so for me it's php all the way

    Ehternet First Mile
    {{ DiscussionBoard.errors[6676220].message }}
  • 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.
    {{ DiscussionBoard.errors[6677154].message }}
  • Profile picture of the author rhensiong
    I think PHP is the best. The reasons, PHP is free, open source and there are many many examples on the web.
    {{ DiscussionBoard.errors[6696080].message }}
  • Profile picture of the author aawebdev
    yes, obviously php is better then asp. Its free and easy to learn.
    {{ DiscussionBoard.errors[6697624].message }}
  • Profile picture of the author anconsoft
    Another PHP addict here :-)
    {{ DiscussionBoard.errors[6698604].message }}
  • Profile picture of the author lindasofia
    I think both are very understandable languages. But PHP is the best for me.
    {{ DiscussionBoard.errors[6701742].message }}
  • Profile picture of the author coolmanish
    Both are good but my vote goes to .NET because of websites of .NET is more secure than PHP.
    {{ DiscussionBoard.errors[6707392].message }}
  • Profile picture of the author kwhite72412
    still php is the best.........
    {{ DiscussionBoard.errors[6707398].message }}
  • Profile picture of the author brettb
    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.
    Signature
    {{ DiscussionBoard.errors[6708331].message }}
  • Profile picture of the author DustinHoffman10
    According to me PHP is the best language for developers.
    {{ DiscussionBoard.errors[6713723].message }}
  • Profile picture of the author planetmedia
    i think PHP is best one
    {{ DiscussionBoard.errors[6713850].message }}
  • Profile picture of the author luckytools
    PHP, Very less websites are using ASP,CGI or any other programming languages.
    {{ DiscussionBoard.errors[6715952].message }}
  • Profile picture of the author Barryemuncy
    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
    {{ DiscussionBoard.errors[6792113].message }}
  • Profile picture of the author sham2
    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 ..
    {{ DiscussionBoard.errors[6797673].message }}
  • Profile picture of the author sham2
    Php is best due to it's easy to learn and open source advantages but asp is more powerful then php.
    {{ DiscussionBoard.errors[6797708].message }}
  • Profile picture of the author Bic pens
    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.
    {{ DiscussionBoard.errors[6805766].message }}
  • Profile picture of the author kazim
    Php is the best language in webpage design.
    Asp is also good but not than php.
    {{ DiscussionBoard.errors[6811325].message }}
    • Profile picture of the author hoxy
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[6910212].message }}
      • Profile picture of the author Lisa RRB
        PHP tends to have a bigger following because it was the original open source programming language. Classic ASP was created by Microsoft and therefore is not a free language. If it is now that is only because ASP.NET, C# and the .NET framework.

        With that said both Classic ASP and PHP have about the same limitations. The newer languages are easier and more powerful in some cases.

        If you are looking for FREE stuff then PHP is the way you will go. It is has been free and open source since 1998.
        {{ DiscussionBoard.errors[6910257].message }}
  • Profile picture of the author bhushan@rancor
    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.
    Signature
    Interactive Bees Pvt Ltd best known for Quality Web Development Solutions and Online Marketing Services.
    {{ DiscussionBoard.errors[6811513].message }}
    • Profile picture of the author adelinebosanquet
      The PHP is an Open Source. So, I think PHP is better than The ASP. because it is very easy.
      {{ DiscussionBoard.errors[7127908].message }}
  • As my vote is going to PHP. It is an best open source language.
    {{ DiscussionBoard.errors[6848909].message }}
  • Profile picture of the author niksloves785
    PHP is best language to design a website.
    {{ DiscussionBoard.errors[6855026].message }}
  • Profile picture of the author whiterock
    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
    {{ DiscussionBoard.errors[6865144].message }}
  • We use PHP almost 80% of the time for scripts, websites, softs etc.

    WILL
    Signature
    WebDevelopmentGroup NYC & CA- Small Business Web Development, App Development, WordPress Development, Graphic Designs, Online Marketing, Local Marketing & more!. "Call us 1.800.219.1314 or message us!". Visit us today! "Now On Live Chat Mon-Fri.". www.WebDevelopmentGroup.org
    (Whitelable our Services)
    ===================================
    ==> #1 OFFLINE MARKETING FORUM ON THE WEB! <==
    www.OFFLINEMARKETINGFORUM.com
    (Register Now)
    {{ DiscussionBoard.errors[6865249].message }}
  • Profile picture of the author steveproxy
    PHP is the best.
    {{ DiscussionBoard.errors[6870104].message }}
  • Profile picture of the author LRusinas
    PHP is open source and therefore much more powerful than asp
    {{ DiscussionBoard.errors[6897392].message }}
    • Profile picture of the author Zenera
      Don't bother yourself with this question,there is no difference at the end.
      Your question doesn't have any answers.
      {{ DiscussionBoard.errors[6897542].message }}
  • Profile picture of the author efka5760
    yes php wery eze use and its free tray it
    {{ DiscussionBoard.errors[6911363].message }}
  • Profile picture of the author niksloves785
    Both ASP and PHP are good programming languages.
    {{ DiscussionBoard.errors[6913037].message }}
  • Profile picture of the author Davideturner
    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
    {{ DiscussionBoard.errors[6933724].message }}
  • Profile picture of the author whland
    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
    Signature
    WebMasterBabble.com Webmaster Forum
    {{ DiscussionBoard.errors[6936800].message }}
  • Profile picture of the author reidsteven75
    I like php over asp because I'm familar with it
    {{ DiscussionBoard.errors[6941916].message }}
  • Profile picture of the author ericwilson
    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.
    {{ DiscussionBoard.errors[6944846].message }}
  • {{ DiscussionBoard.errors[6944850].message }}
  • Profile picture of the author webgain88
    php is better than Asp.
    {{ DiscussionBoard.errors[7046542].message }}
  • Profile picture of the author SC Qbiki
    PHP has a big advantage as it is open source, however ASP is great as well
    {{ DiscussionBoard.errors[7047997].message }}
  • {{ DiscussionBoard.errors[7048195].message }}
  • Profile picture of the author mrmagos
    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.
    Signature
    {{ DiscussionBoard.errors[7048470].message }}
    • Profile picture of the author MarkLL
      Originally Posted by mrmagos View Post

      Can we mark the thread as 'flamebait'? While each person may have individual preferences...
      +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...
      {{ DiscussionBoard.errors[7115473].message }}
  • Profile picture of the author dwoods
    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.
    Signature
    Need a way to drive traffic to your new site?
    -- Check out HelpMyHits.com!
    {{ DiscussionBoard.errors[7048645].message }}
  • Profile picture of the author towarek
    I prefer PHP. Easy to learn, great community, easy access to tutorials and video courses.
    {{ DiscussionBoard.errors[7110752].message }}
  • Profile picture of the author vjboc
    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.
    {{ DiscussionBoard.errors[7110765].message }}
  • Profile picture of the author adwike
    PHP is the best it is open source and a lot of tutorial exist in the net and is easy to learn it
    {{ DiscussionBoard.errors[7110793].message }}
  • Profile picture of the author mediabay
    PHP is open source, and big sites use PHP: Facebook, Google, Yahoo...
    {{ DiscussionBoard.errors[7115535].message }}
  • Profile picture of the author carleywatson
    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
    {{ DiscussionBoard.errors[7126954].message }}
  • Profile picture of the author STG
    ASP.NET is better for vaster projects that need a more secure architecture
    {{ DiscussionBoard.errors[7134388].message }}
  • Profile picture of the author boilingstocks
    Microsoft Technologies are always easy to learn but don't work out everywhere ! So My pick would be PHP.
    {{ DiscussionBoard.errors[7135479].message }}
  • Profile picture of the author martinbx
    PHP is way better. It has more libraries, documentation, etc.
    {{ DiscussionBoard.errors[7137505].message }}
  • Profile picture of the author bougalo
    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.
    {{ DiscussionBoard.errors[7155860].message }}
  • Profile picture of the author aeboi80
    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.
    {{ DiscussionBoard.errors[7157029].message }}
  • Profile picture of the author GerryMedia
    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.
    Signature

    I.M. ControlPanel - See why this online software is your key to success!
    Lifetime Membership WSO

    Learn. Take Action. Learn. Teach.
    {{ DiscussionBoard.errors[7157904].message }}
  • Profile picture of the author phpindia
    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.
    {{ DiscussionBoard.errors[7160161].message }}
  • Profile picture of the author rsschomp
    It depends on what you are using it for and who your developers are.

    It is kind of a redundant question though.
    {{ DiscussionBoard.errors[7160204].message }}
  • Profile picture of the author torrao
    PHP is best because it is open source and also best with linux server which are easily available.
    {{ DiscussionBoard.errors[7161052].message }}
  • Profile picture of the author CNJ
    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.
    {{ DiscussionBoard.errors[7166145].message }}
  • Profile picture of the author arsalan
    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.
    {{ DiscussionBoard.errors[7167222].message }}
  • PHP for me, ASP feels a little dated although I don't use it heavily.
    {{ DiscussionBoard.errors[7182010].message }}
  • Profile picture of the author webbyidea
    Both are popular. ASP use industrial / corporate company (like custom application). PHP is Average Max useful on the web.
    Signature
    Offshore Full-time, Part-time Virtual Assistant Services

    Webmaster, SEO, Wordpress Design, Graphic design
    {{ DiscussionBoard.errors[7183288].message }}
  • Profile picture of the author parvinvaidhya
    According to me, PHP is best Programming language. i like to work with PHP.
    {{ DiscussionBoard.errors[7218995].message }}

Trending Topics