Is php better than java, .net or any other language?

is-php-better

Which is the best programming language out there? Is there scope in php or does php language has better career scope? Which language should i use for my applications? Is php safe and secure?  As a technology and career consultant , i come across above questions almost everyday. With this post, i am just trying to put my views which might help people in their decision making.

Best Programming language?

Asking about best programming language is rather relative. No language is best and no language is worst. Its only depends on the perspective we use the language. PHP has been used to make small websites as well as huge websites also like facebook,yahoo, digg. It depends on us as to how we use that language. I personally like PHP above other languages because of ease of use, easy deployment and it provides huge expandability options along with cost savings. Since PHP is so powerful and popular, there is huge career scope in PHP language. Scope can just be realized with the fact that more than 75% of the websites on Internet is made in PHP. However, i do feel that when people ask me about scope they rather mean the earning capacity associated with that particular language. And, let me be frank guys, there is huge money out there provided you are skillful.

Which language should i use for my applications and Is PHP secure?

You can use any programming languages. But, Obviously, my choice would be to go with PHP. Huge applications like facebook.com, digg.com, yahoo etc are developed in PHP. There are  many reasons to choose PHP over other languages. Cost savings, Easy deployment, Huge support, reliability are just few advantages of PHP. Many larger companies have used PHP and also enhanced PHP in many ways. Companies like facebook and Yahoo have released so much resources for the php open source community, that you can use those knowledge to build a useful and scalable applications at very affordable cost.

There are many people, companies and developers who will discourage you to use PHP, but that should not bother you as they are all literally wrong. I share some common statments which you might have heard somewhere, or you will hear it somewhere.

  1. PHP is Not Fast: Man, if programming is done correctly php can execute faster than other programming languages. There are many libraries which actually does make your applications and codes run faster. Hip-hop for php will compile php into highly optimized c++ and provides huge performance gains. Of-course, you should know how to use it.
  2. PHP is not secure: Now this again is foolish statement. Security basically depends on the knowledge of person who is using the language. If the person is knowledgeable he can write codes which is quite tough to hack or crack. What is the use of make a concrete house, when you forgot to lock it. That being said, there is no application which is 100% secure. Security is just a mind game.
  3. PHP is for small applications: Who are you fooling man? Some of the world biggest applications work on php. Say for example facebook, yahoo, google, wordpress, wiki’s . May be you need some exposure.
  4. PHP has no scope:  Ohh.. Really.  More than 75% of the web is powered by PHP. If PHP doesn’t have scope what else have?
  5. Low salary with PHP: Now again, salary is not something which depends on language. It depends on your knowledge and your skills. Salary depends on the value which you provide to the market place. People  have been earning as high as $200,000 annually with php as a experienced developer.
  6. PHP cannot handle Loads: Thanks you pointed this out.  Do you think, facebook, yahoo, wordpress, wikipedia doesn’t get any traffic. How come and why come most of the top 100 websites of the world are powered by php?

Thant being said, i do feel that there is lack of awareness among developers for this language.  I haven’t seen PHP as a part of any approved course ware (India), i have never seen any company promoting PHP and this is one of the most important reasons that people fail to understand the importance of PHP. Also, since php is fairly easy to understand people just thing that they have become expert in php and start expecting huge benefits for them. PHP is quite vast and people are not aware about this. Just writing  a simple and function, isn’t going to give to any considerable competitive edge. For php lovers, i would love to share a link with you. Here it is. Please do feel to comment back on this article.

 

Share with your friends

PinIt

9 thoughts on “Is php better than java, .net or any other language?

  1. Djeff Panok Kamagra

    I’m a “professional web developer”. For over 10 years, I’ve developed browser-based, database applications. I started my programming career writing client-server apps with PL/B. I moved to CGI web apps using PL/B. Then I moved to ASP/VBScript and SQL Server for web dev. When ASP.NET came on the scene, I barfed, then I moved to PHP/MySQL. I really, really, love PHP compared to what I’ve known before. I’ve never worked with Java web dev.

    Here’s one thing I can tell you. As a “PHP programmer”, many people won’t consider you a “real programmer”–even though the langauge is very OO. In my PHP apps, I write classes, I use inheritance, I interact with external libraries and databases, and most all the other programming constructs used by all programmers. But for whatever reason, people see that you develop web applications, and they think “Oh, you create websites…your an HTML guy.” (Can you tell I’m frustrated by this?! :))

    Java will allow you to make more money and as stated earlier, you can write desktop apps as well as web apps with Java. As a Java programmer you can be a “real programmer”. ;)

    I don’t think the Java guys can argue that PHP–for a beginner–will be much faster to get the hang of. I also think a beginner will be able to figure out how to configure the server environment for PHP quicker than JSP. PHP can also be used to do your server shell scripting. I enjoy the fact I can use the same language to write my web apps as I use to write advanced shell scripts to manage my hosting business. (To my knowledge, you can’t use Java to write *nix shell scripts….am I wrong? It has happened before…once. :))

    I think the fact that Oracle now includes PHP in their products speak strongly that PHP is a respectable path.

    I’m not saying PHP is better than Java. They both have some reasons why you may choose one over the other.

    By the way, ASP.NET for web dev has some of the same benefits of the Java path in that the languages you use to develop ASP.NET apps can also be used to develop desktop apps. It’s “real programming”. Most people use either VB.NET or C# to write ASP.NET apps. Those 2 languages can also be used to develop Window’s services and rich desktop apps. PS: I hate .NET

    Reply
  2. sergio

    Great stuff thanks!

    but i would add that to be a developer you couldnt just depend on php, you would have to mix it with some other language.. Sql html java

    Reply
  3. osol_jatin

    i have had some prior experience with dotnet and java and honestly, this is the first time I have found the might of PHP. And I sure do feel like diving into PHP ocean someday.

    Reply
  4. JavaOne India 2013 returns..!!

    Hi, I also deveklope fr java,… Java is a very easy to use language once u get a hold of it…. if
    anyone is a beginner in java then they should attend some interesting java
    focused conferences which gives a huge knowledge abt the language nd very
    interesting, easy tips nd tricks which are very useful… few of the famous
    java conferences are Javapolis (devox), JavaOne, and recently i received a mail
    from oracle regarding their JavaOne conference..They have many interesting sessions lined up fr this year… you can take a look at their sessions related topics here: https://www.regpulse.com/javaone2013/register.php?pcode=737266&src=4003&Act=1

    I myself hoping to attend several sessions about Core Java Platform; JavaFX, Java
    Embedded, and Java Card and many more.

    I guess m sharing it here coz It’s the best place to learn about what’s new
    and what’s next, see the latest from Oracle and our partners, connect with
    peers, and meet with experts…
    There are many topics covering Java SE,
    JavaFX, also few sessions on building mobile and embedded Java applications
    targeting next-generation smart devices.. Java EE–based enterprise solutions

    Developing with the latest Oracle database
    technology, business applications in the cloud securely..

    Hope u enjoy

    Reply
  5. sahithi

    hai sir.. iam sahithi i have completed b.tech(CSE)-2012 with 76%.. i have learned the courses core nd advanced java.. and there is less no. of openings for fresher as java developer. and iam trying to start my career with php and i want to do real time projects.. is it better to choose php dev as profession..
    Thank you..

  6. Navi

    Well, the only thing to note here is php is easy to learn even a 12 yr kid can learn it,so you will find a lot of competition when you put step in IT market.

    I am not saying its not good,in fact i just loved this language more than any of those i have learned in past.

    If you are learning it for fun its good for you, but if you are learning it for making some dime, pray you.. just leave it.

    Reply
  7. APNA JAHANIAN

    I am student of PHP and I think there is nothing could complete on internet without PHP, JAVA is used only for scripting, maybe I am not users and have no experience of it more but I think PHP is complete language.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Live Help