4 ms·
And this is why PHP is used for web-dev. The "Hello, World" webapp in PHP is trivial to anybody who has ever done any html markup, and is usually the first exa
by aidenn0 15y ago
And this is why PHP is used for web-dev. The "Hello, World" webapp in PHP is trivial to anybody who has ever done any html markup, and is usually the first example. That makes it a gateway like this:
1) Do some HTML to make a webpage
2) I want to add <something dynamic>
3) Oh, I just ad <?PHP ... ?> to my page, that was easy
4) I want to do <something harder>, oh, cut and paste
5) Now I need to tweak this...
Which is part of why PHP is so popular, especially among people with more of a web background and less of a programming background. I agree that it's better to have a handle on the langage first, then throwing in web stuff, but if you take that tact, many people will instead use the language that starts with Web stuff, then adds in programming.