In one or two words, please comment to answer this question.
Why do you use PHP?
Easy to use
Strong frameworks ( like zend, symfony,Yii, CI... )
Strong CMSes (Drupal, Wordpress, Joomla,...)
Low barrier to entry
Fast and cheap (not just in up front cost but things like hardware)
PORTABLE (no other interpreted language is as easy to cross platform)
Popular (really, this is a good thing)
Interpreted not Compiled
C based and Open Source
"you did WHAT with PHP?" - yeah, that question, love it
Matured enough to employ enough OO to keep it fairly DRY, yet easy and flexible to the point that one can cheat here and there when deadline comes (a the expense of sanity and techdebt). ZF/Postgrs/Jquery keep the cheating part minimal and personal account always on the + side. Oh, and -> looks way cooler than . but that's only me
- Doesn't try to _hide_ HTTP from you (mostly).
- Flexible enough to support your paradigm of choice (oop, functional, procedural) -- sure, it doesn't do any of these perfectly, but it is hard (if not impossible) to be flexible yet pure at the same time.
- Excellent standard library, and what isn't there, is likely to be found in one of the following libraries: ZF, Symfony, Ez (Zeta) Components, PEAR.
- Portability is quite good. PHP has been running very well on windows for many years.
1, scripting language for the web
2, best documentation
3, active and helpful community
4, start maturing frameworks
5, massive Eco systems
I code in PHP because the platform has three of the most popular content management systems - WordPress, Drupal, and Joomla. And using PHP with MySQL is free - no licensing costs for the most part. The hosting provider offers PHP and MySQL hosting on Linux for cheaper too, so that's a cost saving that I can pass on to clients. When using PHP, there's a lot of open-source code out there that can be used as a library of a base system to build plugins and themes upon. PHP cuts my development time by at least half with all that it has to offer.
I enjoy contributing to ZF2 and SF2. And uhh... my employer uses PHP, so I have no choice (professionally, speaking).
- Rapid prototyping
- Freedom of philosophy
- Friendly, helpful and gigantic community
- Do something very simple, or something enterprise-sized
I don't really know if I can build something enterprise-sized... it isn't appropriate for building desktop applications, when the users demand responsiveness... although, technically, you can!
You definitely can build enterprise apps in PHP. Take a look at our customer list (http://www.zend.com/en/company/customers/). You will find a lot of enterprises there and a lot of them are what you would call "enterprise" apps. An enterprise app doesn't necessarily run on the desktop.
- Easiest language to install
- Easy to Use
- Built for the web
- Can do basically anything with it.
A potential technology which can be scaled easily.
Less learning curve and easy to setup the environment.
Community and Enterprise support ready for large scale deployments.
Confidence to build a project on top of it due to its robustness and stability.
Always being Opensource.
Easy adaptation for cloud environment.
and so on.....
ZF2 & Symfony2 allow me to look past the last umpteen years of PHP messary :) I'd even go as far as to say I've been excited for what this language holds in the future. Cmon, sane method names!
- Portable my code to any web server (win, linux, etc ...)
- Lots of support and info on the web.
- Free !
- Plays nice with front-end tech like Flex