PHP or ASP.NET Is the Best?

by 123 replies
144
Hey WF Members!

What is the better PHP or ASP.NET to Training Online ...
#programming #asp.net #aspnet #learn #php #training
  • If you mean you wish to learn one or the other, there is great free online
    training for both. There are more Linux servers than Windows servers online
    so you should consider learning php first.

    Don't expect anyone here to say one language is better than the other.
    That is the same as My text Editor is better than Yours.

    Have a Great Day!
    Larry Keenan
    • [1] reply
    • OK so I was wrong. PHP wins here hands down.

      Have a Great Day!
      Larry Keenan
    • [DELETED]
  • I would learn php because, I found it easier to learn but I would go with whatever is comfortable to you but as Mr Keenan said "there are more linux servers than there are windows servers" try your hand in both.
  • It depends on what you're looking for. If you want speed and reliability I'd learn and use PHP. ASP.NET is great ( I'm a .Net developer) but the initiation time sucks and of course you're dealing with Windows. When dealing with Windows you have virus's, bugs, crashes, BSOD, and random crap happening all the time. Don't get me wrong, I love Windows Server and it does a great job with things like Active Directory and Shares. But IIS is still falling behind Apache by miles.
  • Use the right tool for the job. Sometimes that's php, sometimes it's asp.net, and sometimes it's lisp. Once you learn the fundamentals of programming, you can use almost any language.
    • [1] reply
    • I found this comment very useful and full of hope
      I was really confused about using laravel or django. But finding patterns will help adapt as we practice day by day.
  • You might also consider learning how to use the WF search function.

    This topic has been thrashed to death here already.
    • [ 2 ] Thanks
  • PHP is an INTERNATIONAL multiplatform standard that is supported almost internally by THE wordwide standard multiplatform server that is also internally directly supported and provided by companies like Oracle and IBM.

    ASP is the PROPRIETARY language that is not multiplatform in a reliable way and internally supported by the 2nd direct standard(NOTE, that this actually places it closer to #5, and #2 is a DISTANT #2) ASP wouldn't even be around if not for the fact that Microsoft is supporting it so heavily. The first proprietary standard had a bigger spot than ASP and filled the market spot ASP now fills died LONG ago! In fact, it died out before M/S took off. It was likely killed by the rise of PERL.

    You can claim that popularity is due to it being free, but it wouldn't be popular if it didn't work.

    Steve
  • It depends what you want to make and what earlier language do you know. I think both languages are good so you cannot compare both of them. But my personal view is that php is good one
  • now php is better than asp, it's best choose
  • PHP is the best for open source and easy to learn. From here it is easy to learn.
  • Yeah, I'go for php first. It is hard to tell which one is better. If you wanted to go free and easy, in this case, php is the answer.
  • PHP is better not in sense of speed and syntax, but better because it is used as an open source, it is easier to upload, you dont have to compile stuff like in ASP.NET .. better because its used everywhere wordpress/joomla/vbulletin and everything out there, you will never see some open source stuff made on ASP.NET
  • Asking which is better is inherently the wrong question.

    Each one has it's pros and cons. Think about what you want to do with the language then decide which one fits that problem. Programming is less knowing all the rules and syntax of a language and more knowing which one to use for a specific problem.
    • [ 1 ] Thanks
  • Php is great, has a lot of tutorials and information on the web. Server hosting is cheaper compared to asp.net, php mysql is cheaper compared to mysql server used by asp.net. For me php is greater
  • According to me both the languages are important and you should master one of them. But PHP consider it as better if you take cost factor in the account.
  • Before you get into this, as well as anyone else here commenting on the thread, I think you should take a step back and understand the differences between the 2 languages.

    You'd be surprised at the amount of people who will tell you one is better than the other but have never written a single line of code.

    They both have their places but you need to understand the differences & requirements between the two.
    • [2] replies
    • Yeah, like on another thread here where a person acted so authoritatively about Java and didn't even know its history or the basics.

      M/S did a few things to try to take over the internet. Among them were....

      1. Install IE in all O/S with NO regard for others. They were taken to court and won a minor victory by claiming they already tied it into all their software.
      2. Telling their App division about special secrets and easter eggs they included. They were taken to court and told to tell them LAST after telling the public. Did they follow through? DOUBT IT!
      3. Create and encourage the use of VBscript, that only THEY controlled. Luckily, that eventually lost out to javascript.
      4. Added code in their languages to tie into various routines, which forced customers to keep some unrelated things of THEIRS installed.
      5. Modified Java and, against their license, didn't inform programmers. They were taken to court and LOST! In revolt, they created C#. They of course dropped J++, as the court demanded otherwise that they comply with the license.
      6. After creating and encouraging the other proprietary code, they put IIS in, etc... MS CLAIMED that some things were released in the public domain, but SO WHAT!?!?!? The basic windows DLL structure, etc... was, but they were sued for violating THAT also!

      At every step, it seems they try to remove any standards they can, and put in things to ensure their dominance.


      MEANWHILE:

      The future of .NET (Mono) on non-Windows platforms | ZDNet

      Is there any doubt why I would prefer PHP if it were a mere EQUAL?

      BTW I have programmed in PHP, JAVA, JAVASCRIPT, VB, and several others, and used IIS, and many variants of apache and tomcat.

      Steve
    • Indeed! Most people on forums do nothing but spout crap and myth, and have zero experience.

      I've been writing ASP since ~1996. And I began to tinker with PHP around ~1999, but it was until ~2007 that I got serious with it. The language are different, but not THAT different. It's not like Arabic vs Chinese. More like English vs Spanish.

      And I'm not even a programmer. I built the tools that were needed for my real career. It's hard, but not impossible to learn. Even as much as I know, there's always more PHP and ASP.NET to learn, especially since each version adds and subtracts.

      PHP has a lot of security flaws -- more than ASP.NET, many of which take longer to address. That's always been my gripe with it. But it powers most forums and CMS, so no way to avoid it.

      You make more money as an ASP.NET programmer/developer, working professionally. I know a few -- several of which help me when needed. (And that's a two-way street; I know about hosting, which few of them do.)

      Python, Perl, Java, Ruby on Rails are others.

      They're all different -- none is better than the others.

      Personally, I like developing in PHP. But that's mostly because I know it the best right now.
      • [1] reply
  • PHP is just and translated dialect however it is solid enough to improve any sort of page you need to advance.

    Asp.net is a part of a framework which implies you might utilize the system's capabilities. Your Asp.net provision might be a part of a portable, Windows, Windows Service, Smart customer or even unmanaged code underpinned.
    Both are important and have their benefits in their specific area...
  • Banned
    [DELETED]
  • PHP or ASP.net both are good for web language. But it's depend on the your website. For different types of website you need different types of language. But if you want to learn ASP.net then you must know PHP. Without knowing PHP you can't work with ASP.net
  • I am personally in favour of php as its open source and you dont have to buy softwares to make it. I think hosting on linux is cheaper compare to windows too so I think php is good one
  • PHP. Wordpress. Nuff said.
    • [1] reply
    • Advantages of PHP:

      1. Faster speeds of execution
      2. Costs involved (Open Source Software)
      3. Better exception handling and garbage collection
      4. Flexibility with database connectivity and customizability

      Advantages of .Net:
      1. Support and documentation available
      2. Standard development environment
      3. Multi-threading abilities
      4. Built in reporting tools (Crystal Reports)


      This is all theory, but personally i support PHP because you can find no of Php freelancers easily than .net.
      ____________________________
      Hire Cakephp Developers
      • [2] replies
  • I am using asp.net for my all the project or say most of the projects so for me its asp.net , pretty easy to code and easy to make layouts in the asp.net great facilities for grid and ajax
  • Banned
    I will choose PHP because it's popular but you should consider asp.net with more advantages.
  • PHP is better than ASP, It's more powerful and it's multi platform.
  • both are good in there way

  • php is 10 time better. hands down... php and MySQL on Linux is the best of the best.
  • Another way to look at it:

    Build with PHP if you intend to sell your projects one day. You will have the largest reach. Hosting PHP backed sites costs less, too.

    PHP is supported even by the .NET runtime- and their community. I know a lot of ASP folks know to code in PHP for fun/profit, too- not so much the other way around....

    The only reason I would consider ASP is if I intend to make a career out of it, maybe work for a shop that specializes in it. But these days there are just as many-if not, more- PHP shops, too.
  • I vote for PHP. php is better then the asp.net
  • Banned
    [DELETED]
  • good discussion. Don't know enough about .net to compare between the two. But I think for the more common circumstances, php is great. Asp.net might be good for special circumstances where they serve some specific purpose.
    • [1] reply
    • PHP. Free and open source and always will be!
  • Learn PHP first, then if you have spare time, try ASP.NET
  • PHP, free, open source with a lot of support.....

    Linux server or ASP server ????
    Offcourse linux....
    • [ 1 ] Thanks
    • [2] replies
    • PHP is the open source program everyone can easy to learn. .Net is microsoft product it's paid version. security wise compare to PHP, .Net is the best choice.
      • [1] reply
    • [DELETED]
    • What support will that be?

      I know a little bit about python.How do i get to develop a full functional website with python?
  • each language has its own pros and cons, PHP in simple terms great, multi-platform support, can be used with apache which is miles away from microsoft's ISS, faster then .net, tons of framework support, award winning Open source cms support.
    security wise .net is safe compare to PHP
  • Banned
    [DELETED]
  • Banned
    [DELETED]
  • Every language has it's place, and every language is the right one to use in some situations.

    Personally, I detest the .net languages, because of an unpleasant working environment, dependance on Microsoft, and just poor construction of the language from my experiences with it a while back.

    This does put PHP slightly in the lead, but only slightly. PHP is really a horrible language that trips over itself at every turn with inconsistencies, badly bolted on object systems, and a legacy of badly trained programmers writing rotten sample code and hackish legacy support that extends back 18 years.

    In reality, either will work, PHP is more popular and less expensive to engage in, and both are terrible.
  • It really depends on your choice but I think according to me Asp.net is the best choice in both of them, its having quick builder for the site
  • PHP is a open source, while Microsoft asks $xx to use .ASP
    Choose PHP!
  • ASP.NET Interview Questions and Answers For .NET,VB.NET, SQL Server, C#,Design Pattern, Sharepoint, WCF, WPF, WWF, MVC,Silverlight, Reporting Services, C# Training, CSharp, Programming Interview Questions.Which are useful to face your interview questions.
    • [1] reply
    • PHP is open source and easy language and best for web application development. While .Net is best for security purpose and mostly used for desktop application development.

      Both have its own advantage but choose one as per your needs and requirements.
  • If I were on your shoes I will chose ASP.net because there's a tons of free tutorial on the net on how to code using PHP language.
  • Is there a reason you're looking at PHP vs ASP? Have you considered other languages? Rails? Python? Perl?
  • I prefer PHP as for the ease of learning and server configuration. It's also free and the web has so many articles, tutorials, tools, communities that will help you getting started with PHP. Although beware of some tutorials that are not following the best practices as it will turn you into a bad programmer.
  • I would like to suggest PHP is best programming language than others because it is easy to learn and understand. Mainly 80% web hosting companies are using PHP. PHP is open source,more faster, more secured, and completely free of cost.
    • [1] reply
    • No.
      False.
      BS.

      This is actually one reason I prefer Windows. It's more granular. Thus more tedious, and easier to have permissons errors. But that's all PEBKAC error, not OS error. I make mistakes too! But it's better than Linux, in this regard.
      • [1] reply
  • It really depends upon the intended use of the website.

    1. Is it going to be software? "SaaS"
    2. Is it just going to be an informational site?

    If it's the latter, then you really don't need much programming experience or effort as there as so much templates available. Not much code-writting required.

    If it is going to be an actual application that does something --- say for example it will be a contact management program. In that case the more important question is: "what database is going to be implemented and are you versed in writing SQL?".

    That is, most modern software (especially SaaS) development begins at the database. From there the language you choose to build the UI is really unimportant (in most cases).
  • I'm a bit surprised at the dislike for ASP.net and also the amount of wrong information that's given in this thread.

    A couple of people mention that PHP is open source, well so is ASP.net: Microsoft Makes ASP.NET Open Source | WebProNews

    Also you can get Visual Studio 2013 Express for Web for free:
    Visual Studio 2013 Downloads | Microsoft Visual Studio

    There's also a free SQL Server called SQL Server Express:
    Database System | Performance & Scalability | SQL Server Express Edition

    You got to pay for Windows though and in most cases hosting will be more expensive. However Windows hosting is decreasing in price all the time. ASP.net is also faster than PHP these days, especially when using MVC. Gone are the days of security problems. ASP.net is rock solid for a while now.

    Believe me, PHP has its place. I mean it's the most used language for websites out there. I just feel like a lot of the posts in this thread are opinionated and in some cases just plain wrong.

    Here's an article that explains the differences between ASP.net and PHP quite well:
    ASP.NET vs PHP - complete comparisons
    • [ 2 ] Thanks
  • Wow there is some BS in this thread...

    If not for IIS and Windows, I'd stick with ASP any day of the week. It's nice to develop in and the size of built in libraries is just insane.

    Apache seems to be far more simple to set up and maintain. Windows is generally more expensive to run due to licensing costs (depending on the Linux distro you choose). The other thing I can't stand is Windows permissions. This alone has had me on the verge of throwing my PC out the window many times.

    To the OP, I'd learn both. With the knowledge of both you'll know the best route when you need to make a decision
  • The best is whichever you feel most comfortably working in.

    I'm a .NET guy myself, for the simple reason that I want to get everything done as quickly and simply as possible. .NET makes setting up WCF services a breeze and I like that.

    If being unreliant from a commercial platform meant the world to me, I would probably have gone with PHP. It also would've made my hosting cheaper.

    It's a trade off, mate. And you've gotta look at the big picture of things. The differences in features between PHP and C# do not matter. That's small fry not worth the bother.

  • PHP is better for several reasons.

    1) It is Open Source.
    2) Easier to learn and debug then .ASP
    3) Runs on Linux flawlessly
    4) No Licensing issues for whatever you create.

    Linux, PHP, and MySQL is a setup you can build just about anything with. All open source and very flexible.

    Many online tutorials, both paid and free, can be found online.
    • [1] reply
    • That's all so silly.
      - ASP.NET is also open source, and can even work on Linux (though not 100%)
      - There's a learning curve to every language
      - PHP is made to work with Linux. It runs even better on Windows IIS7/8, thanks to Zend.
      - ASP.NET has licensing issues?

      Again, very silly. It's essentially making things up.

      "PHP is better because it keeps the bears away!
      -- Are you programming PHP now? See any bears around? Hmm!?"
  • Banned
    [DELETED]
  • I think PHP is easier to learrn from scratch, ASP.NET is easier to use once you are comfortable with it.
  • i am learning php... it is really interesting and easy... i think php is better as compare to asp...
  • I've found windows hosting always cost more than linux hosting. So from out of pocket standpoint, you'll save money running linux and php (open source) & if you decide to sell your website, almost everyone has a linux hosting.
  • Asp.net is a well organized framework for building web applications. PHP is a server side scripting language which, some would argue, is not as organized as asp.net but gets the job done just as well.

    Choose one and seek to master it to the best of your abilities
  • I've done some PHP, but I do a lot more ASP.NET (C#). PHP is just a mess when it comes to function naming etc.

    I built FindAForum with ASP.NET because that framework offers great caching options (good for iffy shared hosting environments). Plus there's some great tools for scraping website content and manipulating images.

    I'll add though that I'm using MySQL and not SQL Server as MySQL hosting is way cheaper plus they give you bigger databases.
  • Banned
    [DELETED]
    • [1] reply
    • It's a shame because people reading/comment on this thread won't even bother to read your response before posting their garbage.
  • [DELETED]
  • I prefer you Asp.net good thinking to learn online but you can also learn php online because there are so many website who learn online these languages which is very good for beginners. If you want to be Asp.net developers so it good step to learning online.
  • Banned
    [DELETED]
  • PHP is faster, easier, scalable, opensource, free, extendable, and portable. PHP has many advantages over asp in terms of cost Speed, Security and flexibility. PHP is cheap, secure, fast, Since PHP is open source, there is a number of applications that are available for free based on it, most of these applications are commonly used and are very powerful also, there is a greater number of community forums and blogs where you are able to find information regarding PHP since it is open source. PHP has t neat code generation compared to ASP.net which sometime generates unnecessary code. PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
    Why PHP is best

    1. A programming language is not scaled with how easily you can built an application. But its robustness, flexibility, speed etc measure the performance. PHP in all segments leave ASP.NET many miles behind.

    2. PHP is a fast growing language and growing much faster than ASP.NET.

    3. It has innumerable built in functionalities and has support of many external libraries. Combine the flexibility, and PHP is the winner.

    4. Support of Apache, the best web server and MySQL, undoubtedly one of the leaders of RDBMS makes it a perfect combination.

    5. Platform in-dependency. ASP.NET can run only in WINDOWS-IIS

    6. Web server in-dependency.

    7. Highest fault tolerance with safe mode support.
  • IMO Python is best.
  • both are good and uses of these language for different purpose.
  • So much incorrect information in this thread it's amazing. It's like people looked at .net 1.1 and made their mind up and then never followed all the changes and updates.

    If you want to work with opensource projects or small businesses/start ups then php is the logical choice as the most popular opensource projects are written in php.

    If you want to create your own business applications from scratch or work in corporate sector then I'd say definitely go with .net and c#.

    C# with either asp.net or razor is so nice! especially with things like LINQ and Entity Framework which the equivalents don't implement so well in php.

    Php isn't a compiled language so if you want to have a system with a web app, desktop app and mobile app then it's much easier to do this with .net and there are frameworks to support this.

    Arguably it would take less time to get set up with work coming in with php as it wouldn't take you that long to learn the basics and then get good at editing wordpress which is so popular I'm sure there is lots of work for this.

    Both languages have their merits, which you choose really depends on where you see yourself going. As a language c# 5 is very slick and fun to use so I generally stick with it and the surrounding platforms.
  • PHP language very better than the Asp.net language because PHP is the open source language and many useful in webpage.
  • More software was build by PHP, but you can't say PHP is better than ASP
  • I prefer to ASP.
  • Here is an Article about difference between both languages..
    PHP vs ASP.net Performance Comparison
    • [1] reply
    • There is a LOT of wrong information there. Beware!
      • [1] reply
  • Banned
    [DELETED]
  • PHP is the best for open source and easy to learn.
  • Essentially it depends on what you are trying to accomplish. Now given what has already been said by many of the posters above.. One is really not any better than the other as far as what you can accomplish ultimately between the two.

    However, the reason why php might be easier to learn is that the core package is much smaller and there are many more libraries you will need to contend with php. .net on the other hand has a much larger core package so it will take longer to learn but once you find someone who has learned the core package they are generally more versed and understand the overall code much better at that point.

    All being said it takes more commitment as a programmer to learn the .net core than it does .php to my understanding.
  • PHP is better than ASP
  • It depends on your platform and what you are trying to accomplish.
  • Its depends on you what you want to become a php developer or .net developer. I think php is the best option for you because it is easy to customize . .Net is also good and easy to learn. you can learn php form the php.net which is the best website to learn php.
  • Depends what you want to make...

    PHP is stable, and so is ASP.NET.

    ASP.NET is Windows, which PHP is not.

    I do both, but I found ASP.NET easier to learn.

    Here's a great book on ASP.NET:
    Sams Teach Yourself ASP.NET 4 in 24 Hours
  • I have used PHP and I have used ASP.
    I must say PHP is way better than ASP, Microsoft sells everything and you wont be able to find as much source code as in PHP (if you are learning).
  • Something I wasn't aware of - asp.net is Open Source? IE, I can download a copy of the entire stack's source code, modify it, recompile and distribute it? (Privately - I'm just assuming MS would never allow it publicly.)
    • [1] reply
    • I had problems finding examples on google for methods on ASP.NET, I was very dissapointed for that. (Compared with PHP which you can find almost any code you google).
  • Banned
    [DELETED]
  • I have been learning PHP and Asp.net, and now i choose php for my job. It's easy, flexible, run on the linux's basic...
  • Banned
    [DELETED]
    • [1] reply
    • I think in modern technology php is more preferable than asp.
  • Banned
    [DELETED]
  • hey man in PHP we just creates a Website but with the .net we can creates websites as well as developed a Software.
  • [DELETED]
  • Banned
    [DELETED]
  • ASP.NET is my choice personally because it integrates well with various other tools that are only available for .NET, however I do miss all the practical PHP functions - those were always helpful when coding.
  • Okay I'll toss the pickle into the punch bowl - Investigate RubyOnRails

    If your question really is which scripting language is intuitive, easy, fun, free, yet powerful with a great community for support, try RubyOnRails (aka: Rails).

    Spend 15 minutes at TryRuby.org to get a quick understanding of Ruby.

    Spend a full day at Ruby.RailsTutorial.org and you'll have a fully functioning "Community" based app online hosted at Heroku for free.

    Then spend some time at RailsCast.com and watch the how to videos for putting together some great apps with great functionality.

    If you are still interest checkout Rails for Zombies free Rails Basic training (very cool).

    Free CodeSchool.com/courses/rails-for-zombies-redux

    Take a look at OpenSourceRails.com for some great starter apps you can build off of.

    Also look at Ruby-Toolbox.com for some great FREE plugins (aka: plugins are known as gems with Ruby apps)

    If you want more as to why RubyOnRails?, there is a 179 page pdf ebook explaining the elegance of the Ruby language:

    RubyInside.com/media/poignant-guide.pdf


    But if you are planning on customizing WordPress, or Drupal, or Joomla learn php.

    I started developing in 1995 using ColdFusion. Still develop in ColdFusion when I have to. But I love RubyOnRails for it is so intuitive, like it writes itself.
  • PHP is the new ASP.net... ASP.net is similar to php but php is simply a updated version.

    However it is good to learn both as you'd be surprised how many websites still use it.
  • RubyOnRails is very simple, yet elegant.

    Can you understand what is happening even without knowing the language?

    1) Grab info from the database:

    @members = User.where('is_member = true').order('name asc)

    @members.each do | member |
    member.name, member.email
    end

    2) Updating info to the database:

    @user = User.find(params[:id])
    @user.update(user_params)

    Just thought I'd share.
  • Both, the language is good. It is up to you. PHP is very easy to learn as compared to the ASp.net.
  • [DELETED]
  • It's all about the IDE and there is nothing as powerful as visual studio in my opinion. I've coded in both and .net will always be my preference and the money is better as a developer...

    Anyway, if you are just starting out, I think developing some basic database skills is priority over building anything in any language. SQL is so different than any other language/framework syntactically and conceptually that i feel its important to get a handle on it before you ever write a single line of code for anything. it'll make you a better developer in the long run especially if you are doing anything to do with the web...
  • I dont think its good to compare two languages one is open source and free while other is paid one with studio still if i have to select one of those I will go for the php
  • Really depends on what you are attempting to build, and where, and also your current programming competency.

    I have been developing in ASP.NET from when it started, and also am heavily into PHP - mainly for my marketing systems, and I love both.

    You are limited in what platforms you can use with ASP.NET re hosting, etc... so you really need to treat each project as a case-by-case, and then decide what language to use.
  • PHP is better then ASP. because PHP is a open source for any operating system but ASP is only use on windows operating system.
  • both are the best..but i personally like .net and it has a future
  • asp and php are both good and i use the two of them most of the time(on a separate projects ofcourse). It depends on your project needs.

    But i suggest you go with PHP because It's a lot easier to learn and work with. And you can find a lot about learning resources, and Q and A website about PHP.
  • i learn both PHP and ASP.NET,both are interesting.basic is html,css,javascript are used in both php and asp.net.but php is bit easier than asp.net
  • ASP.net is dead or will be dead soon. PHP is the one who is going to survive.
  • Overview
    PHP stands for Hypertext Preprocessor. PHP originated as a scripting tool that has quickly taken over the internet thanks to its easy learning curve and large developer community.
    ASP.NET was developed by Microsoft to provide developers with an easy scripting tool for building web pages and web applications.
    Costs
    PHP is Free. Can be hosted on both Linux and Windows
    ASP - Need to Spend on Visual Studio and can be hosted only on windows
    Winner is PHP
    Scalability
    Both ASP.NET and PHP are highly scalable
    Winner Both
    Performance
    The performance different between a ASP.NET+MSSQL and a PHP+MySQL stack are very small with PHP+MySQL edging out ASP.NET
    Support
    PHP is free and among the most popular scripting languages online
    ASP.NET, on the other hand, is a Microsoft property.
    Winner PHP
    Ease of Learning
    ASP.NET is usually written in C#. Its syntax is complicated and difficult to read, even for experienced programmers.
    PHP can be learnt in few simple lines of code and start tinkering with WordPress themes almost right away.
  • As i am a PHP Developer, I love PHP, why?

    There is multiple reason.

    1. Its open source, don't need to worry about where we have to run, (MAC, linux, or Windows) it will work.
    2. Its support multiple server, like lighttpd, nignx, apache and even IIS.
    3. Lot of opensource code are available which you can use in your project without worry about any thing.
    4. Easy to learn, fast and reliable.

    CON:
    1. You can't command multiple thread(process) at once like you can do in .NET
    2. MOST IDEs required lot of add-ons in order to provide functionality similar to Visual Studio
    3. No Built-in support for AJAX

    For more detail you can find easily
    PHP vs. ASP.NET: Smackdown! | Michigan Creative

    Finlay: There is nothing one of these can do that other cannot do.
    So go with the one you know.


    Thanks,
  • Both languages are good.ASP.NET is more attached to the mysql database and the PHP is also same.Which language is interested then that one you can study.Both languages are not tough.
    • [1] reply
    • PHP and ASP.NET are best languages.PHP work well in any kind of platform and server.ASP.net can be used only with the internet information server.PHP programming languages syntax is similar to the c and c++ and ASP.net is similar to the visual basic.
  • Both technologies have their advantages and disadvantages. it depends on you which technologies you like most. if you have willing to learn Asp.net mvc join DotNetTricks coming batch.
  • Banned
    [DELETED]
  • I would consider JAVA instead. Almost like PHP but way more powerful. Actually PHP tries to be like JAVA. Also you can look at GROOVY or SCALA (Java based languages).

    Please don't use PHP. It's a messy language with lots of silly legacy stuff.
  • Banned
    [DELETED]
    1. PHP and ASP.Net are both good languages for web development but development in PHP is easier as compared to ASP.Net.
    2. PHP is also cost free while ASP.Net is a Microsoft product and developmental is expensive in ASP.NET.ASP.NET also requires windows hosting.
    3. PHP runs on Linux web hosting and it can be used on Windows, Mac or Linux, and it is also supported by a lot of free and paid IDEs.
    4. HP application running on a Linux web host slightly outperform a similar ASP.NET application running on a Windows host because Linux and ext4 file system have better I/O performance than Windows and the NTFS file system.
  • Imho if you are going to learn for your own small business, then I would go with PHP. If however, you want to work as a developer and want to earn more money ASP.NET would be my choice.
  • According to me, PHP(Personal Home Page Hyper Text Pre-Processor) is better for giving training in Online.
  • I am from asp.net but i think php is better because the scope to get job is many time more than asp.net. Also if you do freelancing then php project are much much larger.
  • Both Works. PHP for small budget projects and .Net for large budget projects. PHP projects last from 3-4 months long and Dot Net projects last from one to 5 years.
  • PHP is considered better than ASP.Net because it is cost free and ASP.NET language require windows hosting and windows hosting is expensive as compared to PHP. PHP is also considered more easier to learn as compared to ASP.NET and java.
    There are large number of IDEs that can be used for PHP development and PHP offers both paid and free IDEs but for developing ASP.NET applications, the most famous IDE is Visual Studio.
  • Banned
    [DELETED]
  • [DELETED]
  • I think PHP is better online because of the server availability on the internet and most Linux / Unix servers are run very lean without any extra un-needed packages or GUI interfaces and therefore the OS uses a lot less CPU and RAM which provides more allocation to the database and web server.
    #TechnologyIntegration
  • PHP is easy to learn, its open source and you don't have to buy software's to make it.

Next Topics on Trending Feed