PHP is more widely used, yes, and that's obvious. But I didn't try to say otherwise.
What I'm objecting to is your apparent assumption that use of tools like Django or Rails necessarily sets one apart from "the mainstream", or even that there is such a thing and that it can be quantified.
Or, succinctly: there probably are a lot more people using not-PHP and not-Java than you think. Some are using hip, trendy new things like Django or Rails. Many are still using ancient, forgotten things like COBOL and IBM mainframes (some friends of mine deal with those types of folks on a daily basis). And there are a lot of places that aren't single-language shops, but have an amalgamation of code accreted over the years.
Which all adds up to the fact that you really can't make useful statements about "the mainstream"; all such statements tend, ultimately, to reflect hype machines rather than reality.
Comments
PHP is more widely used, yes, and that's obvious. But I didn't try to say otherwise.
What I'm objecting to is your apparent assumption that use of tools like Django or Rails necessarily sets one apart from "the mainstream", or even that there is such a thing and that it can be quantified.
Or, succinctly: there probably are a lot more people using not-PHP and not-Java than you think. Some are using hip, trendy new things like Django or Rails. Many are still using ancient, forgotten things like COBOL and IBM mainframes (some friends of mine deal with those types of folks on a daily basis). And there are a lot of places that aren't single-language shops, but have an amalgamation of code accreted over the years.
Which all adds up to the fact that you really can't make useful statements about "the mainstream"; all such statements tend, ultimately, to reflect hype machines rather than reality.