5 ms·
I'm excited! :) PHP is IMHO the most productive and easiest platform for web development: - a request - a response - templating - no shared stated And tha
by sunseb 9y ago
I'm excited! :)
PHP is IMHO the most productive and easiest platform for web development:
- a request
- a response
- templating
- no shared stated
And that's it! But the language syntax has so many quirks. So it's cool if Hack redesign the language and make it more beautiful and consistent. Many developers switch to Ruby or Python because these languages are better designed. I think Hack could attract a lot of these developers who want more beauty in the tools they use.
- dna_polymerase 9y agoOh boy they really got you! Have a look at Python & Flask! There is nothing easier than that!
- geofft 9y agoFlask is really good (and my preferred web framework, and full disclosure, I have forgotten how to write PHP), but it fails very badly at "no shared state," and depending on what GP meant by "a request" / "a response", it fails at that too. A Flask process handles an indefinite number of requests and responses; the built-in server handles them serially, and doing otherwise brings in either threads (and shared state) or multiple processes. The Slack article posted elsewhere in these comments https://slack.engineering/taking-php-seriously-cf7a60065329 https://slack.engineering/taking-php-seriously-cf7a60065329 has some excellent arguments about why PHP's approach is different in interesting ways.
- sunseb 9y agoI have worked with Python/Flask, and I even built my own micro-framework on top of Ruby/Rack. It was nice, but I am far more productive with PHP, the workflow feels more natural than a cgi-like stack.
- icelancer 9y ago>>Have a look at Python & Flask! There is nothing easier than that! What? PHP is significantly easier to roll out for your beginner/intermediate junior developer on a VPS. There isn't any comparison. This comes from someone who leans on Python hard for ML work / scraping / signal processing (what it was born to do) and PHP for web development (what IT was born to do).
- Can_Not 9y agoLaravel, silex, lumen, feathersjs, rails, zend, pylons, yii, cakephp, phpixie, are easier.
- 0x4a42 9y ago> PHP is IMHO the most productive and easiest platform for web development: - a request - a response - templating - no shared stated That's called the Web. :-/
- sunseb 9y agoYes precisely, but it seems we have all forget that: most of modern web framework are over-engineered and bloated. PHP sticks to this web simplicity.