| If you did a python/ruby/node-javascript that would capture the best features of PHP, instead of inventing a whole new language, I'd actually be tempted to use it. The features (or what others would call anti-features, but one man's "bug" can be another's "features" so lets ignore the long talk) would simply be: 1. Ultra-Ease of deloyment - I want to be able to just: - load a module for my webserver of choice (Apache, NGINX etc.) - drop code in a folder via ftp and have it "just work" - have a shared nothing app model with no long running processes, PHP style, because this way I can ignore 99% of security and performance problems, both as a provider of dirt-cheap shared hosting and as the developer of a web application that doesn't need to scale that much and isn't that much of a target for hackers either (so I can have the following mindset: "I don't need to care about scalability/performance or security, because by the time I'll need to care about these I'll be already making enough profit from it to be able to hire some very smart guys to rewrite everything from scratch the right way or I will have already sold the company and be enjoying my $ while others care about this") 2. Ultra-Eease of app/site setup: - I want to just drop files in a folder and have it work, just like that, just like magic 3. "Don't make me think" style of development: - I want the same language in my controllers, in my db code AND in my templates - plus points if it's in the browser too - have all the component I and other might need in "one pack", "batteries included" style 4. Almost non-existent learning curve: - someone should be able to go from A - "poetry major with no knowledge of what computers are" to B - "expericenced full-stack developer" withouth feeling any learning curve: yeah, it will take time to get from A to B, the first 10% of the road should be made as easy as possible ...and to "kill" PHP you'd still need to add a killer extra feature. I can imagine something like an object persistence feature (Maglev/Gemstone style) baked into the language/library/framework that would allow you to simply persist objects without even thinking about a database (it could be implemented as a very smart ORM underneath, but it should be as opaque/black-boxed as possible and 99.99% of users shouldn't need to know how it works) - this imho would be the kind of thing really enjoyed by PHP developers. |
This is essentially what Zed Shaw was working on for Python:
https://github.com/zedshaw/fuqit (https://news.ycombinator.com/item?id=6039146) and here's another for Node https://github.com/ricardobeat/fuqit
I'd love something like this fully fleshed out for Ruby. Some things PHP did "get right" like how it "just works."