top | item 3091155

(no title)

chow | 14 years ago

When will people realize that the main reason PHP was/is so successful has nothing to do with the language? PHP got huge because it's free and super easy to deploy on commodity-level hosting. Ubiquity breeds popularity.

Basing a reboot on the JVM makes little sense in this context.

That said, you lost me at "less ';' like in javascript".

discuss

order

georgemcbay|14 years ago

IMO you are only partially right and some of PHP's success does have to do with the language and not just availability.

As horrible as PHP is, it is really easy to sit down with PHP and a tutorial or a book and start banging out code that gives you instant results. PHP is like the MS Basic 2.0 of the web era -- people who aren't really programmers (yet?) can sit down with it and GTD right away -- their code may be ugly but they can see it working as they go. They don't have to learn what a 'WAR' directory is and how it is structured, they don't have to mess around with xml configurations, etc. The ubiquity helps, certainly, but IMO the reason it got ubiquitous is how easy it is to go from nothing to "hello web world".

I think a project that maintains this instant GTD environment but improves the language is actually quite a good idea, though I also think cutting ties with PHP by giving it a new name makes more sense than calling it phpreboot and once you involve Java it seems less likely PHP's context-free easy start-up will be maintained.

chow|14 years ago

As horrible as PHP is, it is really easy to sit down with PHP and a tutorial or a book and start banging out code that gives you instant results...

You could say the same thing about ASP, or even ColdFusion.

I'd argue that those instant results had more to do with the higher availability of PHP on cheap web hosts, than the accessibility of the language itself.

OstiaAntica|14 years ago

That's exactly right. I learned to code from a PHP book a decade ago, and now I am using the excellent OOP Symfony2 PHP Framework. The full spectrum of options are already available with PHP, the language and its frameworks lack nothing.

danielrhodes|14 years ago

Being able to do something like install Apache with modphp in one go and then just put a file into the correct directory and have it execute code is without a doubt the most low barrier way to get started. Other languages are catching up though, but taking a different route (e.g. hosted platforms like Heroku).