Hacker News new | ask | show | jobs
by superasn 2783 days ago
I would highly recommend PHP for quick web development. We've been using it for all our sites and it's such a breeze to develop using it. We've never had any performance issues either (in my experience they are always more on the db end)

I'll highly recommend that you spend some time learning composer first. That is a must for any serious php development.

Then there are optional things you can learn like a framework like laravel, symfony, etc. My personal opinion is to stay away from it since I have found that a router is mostly all you need to get started quickly. Often times the headache to configure and debug the framework far exceeds the utility of it. So my own personal preference is to just use composer and a router and native PHP. Keeps things simple, easy to debug and super easy to deploy. But YMMV.

1 comments

Are you advising that a beginer should implement their own auth solution ? That they will get csrf or xss handling right ?
Is interfacesketch actually a beginner? If he/she is a true beginner, that would change the entire question.
I don't know any senior web dev that need the advices you gave, nor ask question about PHP. Everybody with years of web xp has did something in php at least once or know what' s up with framework.
Two things:

1. That wasn't me who gave the advice.

2. There's a big difference between putting up a Wordpress install on PHP 5.6 and greenfielding a modern project on 7.x.