4 ms·
Ask HN: What are the benefits of using PHP today?
Knowing Python, Ruby, Node.js, Meteor etc.
Should one still consider PHP for some projects?
- gdp 14y agoThe advantage of any programming language, framework, or library is that you know it already and it allows you to achieve things. I wouldn't personally advocate learning PHP today, but the idea that any language has intrinsic value divorced from its ability to achieve your purposes is mostly untrue.
- sbank 14y agoIt is widely used and sought after. Any average to decent PHP programmer can find work. Any average to decent Haskell programmer can't.
- ExpiredLink 14y ago77.8% market share: http://w3techs.com/technologies/overview/programming_language/all http://w3techs.com/technologies/overview/programming_languag...
- dwc 14y agoDepending on your intent, this may be a great reason to avoid PHP, or at least to leave PHP out of your job description.
- kephra 14y agoThe combination of lighttpd, fastcgi, php has a very low memory footprint. This is a benefit on Xen servers. PHP also offers a build in function for nearly everything. The main drawback of PHP are the tutorials, using mysql without the i, and teach how to implement a website that is vulnerable to SQL injection.
- blibble 14y ago16GB of ECC RAM costs £150 to buy, how much RAM your webserver threads use should never be an issue. PHP's advantage is "apt-get install php5", copy your .php files in, and you're done.
- sonic0002 14y agoIt can quickly get things run
- benzesandbetter 14y ago1) PHP is a great high-school job. Much better than a paper route, flipping burgers, or working at the car wash. If you freelance you can set your own schedule which can work well around your school schedule. 2) Hosting is cheap so your parents will probably let you use their credit card. 3) It's so approachable that it can help you get started with programming so that some day you can move on to better languages.
- yelnop 14y agoI'm a longtime database developer, starting my first web 2.0 app. After much research (including Python, node.js, Go, Perl, Ruby, etc.) I've all but locked on PHP. While I can see that it has idiosyncrasies, I can also see that it's a very mature product. For example, when I search for "PHP function list", I not only get a function list as the first item, it's an amazingly comprehensive list. The hurdles I've had so far, I've been able to jump over them quickly (quicker than in any other language I've learned) if only because the community support is so good. Usually a simple web search finds the question and answer I'm looking for. I'm pretty blown away by the sheer volume of good info on PHP. Python is my second choice. There's a lot that I prefer of it, over PHP, but I find that in general its hurdles are higher. Having developed many industrial-strength apps using less-capable languages, I'm confident I can do the same in PHP.
- deleted 14y ago[deleted]
- glimcat 14y ago<?php include("header.php"); ?> Between the above and the huge range of existing PHP projects, I always install PHP regardless of what else I'm using.
- Rust 14y agoRequisite link to http://appwithphp.com/ http://appwithphp.com/ - some basic minimal knowledge and stuff to make sure what you write is written as right as possible :)
- rmATinnovafy 14y agoThe tool does not define the problem. It goes the other way around.
- gopi 14y agoIn my opinion the great benefit of PHP especially for non-coder founders is the big offshore talent pool.
- andrewhillman 14y agoAnother benefit... it's fairly easy to find a php contractor for any portion of your project that you want to outsource. The cost for a php contractor is relatively inexpensive compared to contractors for other languages.
- 27182818284 14y agoI feel like it is pretty unusual these days to hear about a company moving to PHP from some other language. On the other hand, you often here about a company switching or adding one of the other languages you mentioned to their company's stack