I was thinking since quiet of time, why i found so much php haters over internet community. I also worked on php and some other php frameworks like drupal, WordPress etc. I personally found php a easy language to start with. It could be very emotional question to ask any php developer about PHP VS any other programming language.
AS we know, PHP is being used by more than 80% websites over internet. PHP frameworks and cms like wordpress, drupal , joomla, cake, codeigniter, magneto are being used in many high tech websites. Facebook – the biggest social network and Wikipedia are in PHP. PHP is good for websites and web applications only. Sometimes i also found php code became dirty and very hard to maintain. But it depends, how you are writing code.
I will suggest a newbie to learn php along with html and css to develop dynamic webpages. Because its very easy to start with and understand the web development process. LAMP stack is very popular in web development. Linux Apache Mysql and P – PHP or Python. (Please comment if i am missing something).
Every language has some pros and cons like this PHP has some pros and cons too. I am going to list some advantages points about PHP-
1 -PHP having a huge documentation php.net. You can start in very easy way. It has big open source community, you will find all your answers by just googling.
2 -It’s very easy to install, you can use WAMP or XAMPP as sever with mysql database inbuild.
3 -CMS solves most of problems easily. WordPress ,drupal , joomle etc are php built in cms for creating website quickly. All cms have large community to get help.
4- You will get lots of tutorials and blogs to get help while doing php programming. So, you will never feel in any problem.
5- PHP supports OOPS to write maintainable and clean code.
6- You will get major hosting support for php websites.
7 – PHP 5.3 is improved version over the last one.
8 -PHP is most discussed languages over the internet.
9 -You will found more job opening in php other than any programming language.
10 -Object oriented PHP is fast enough for websites.
Some people say, PHP is not secure but a good programmer takes care of all security parameters while writing the code.
I will not write bad parts of PHP because we the programmers write bad or ugly code. So, we should cleverly solve the issues while blaming languages.
Please write in comments – PHP bad or good.. Thanks.