3 ms·
> PHP is the training wheels of the server-side language world. You can pick it up and almost immediately see results on any number of popular hosting providers
by Achshar 15y ago
> PHP is the training wheels of the server-side language world. You can pick it up and almost immediately see results on any number of popular hosting providers that provide support out of the box for it.
yes that makes sense. But i wonder, does that imply python or ruby are more difficult to understand than php? I believe they must be on the same level of sophistication and understandability.
And if python, (or ruby) for example, was "better" (as in gets more developer love) then shouldn't it's availability on hosting services increase? Its not like either of php or python is new and needs time to settle down. If availability on hosting providers were to increase, it would have increased long ago.
and as for file extensions, as i noted in another comment in this thread, file extension is just a part of my observation. It also includes tutorials, how-tos, questions/answers on stack overflow-like sites, etc. all of these are more for php than any other language.
- Pewpewarrows 15y agoAgain, because PHP has such a low barrier of entry, more developers use it. So it's only logical that you'd see more tutorials and questions for it.
- Achshar 15y agocan you elaborate a little on how does it have low barrier of entry? as my current understanding stands, python has all the basic things like loops, conditional, functions, variables etc just like php. What makes python difficult to start learning? (or if put another way: what makes php easier to start learning?)
- Pewpewarrows 15y agoThe languages themselves are pretty equivalent. But with PHP it's easier for newbies to grok things when you can just point a web server at a directory that has a "blog.php" file in it, and visit "myserver.com/blog.php" to execute that script and see results. With python you have to understand the basics of what WSGI is and how it works, which is pretty poorly documented for people just starting web development. The "visit a file from my browser's address bar" motif is easier to grasp than "my url gets interpreted as a string that I then parse and route to a function imported from some other file".
- Achshar 15y agoThat makes sense. thanks for clearing it up. I didn't know it was necessary to have url formatting to write python. but then its not a language problem. its a framework problem. And php can have its framework too. But I guess it doesn't matter if its a language problem or a framework problem when we choose our favourite language :)
- keymone 15y agoit's not a problem. it's a solution to a problem.