4 ms·
My girlfriend is just starting learning web development. She now has a very basic understanding of HTML and CSS. Then she went to Rails Girls London to learn a
by CWIZO 13y ago
My girlfriend is just starting learning web development. She now has a very basic understanding of HTML and CSS.
Then she went to Rails Girls London to learn a bit about the backend. Unfortunately (and I know as I was a mentor at one of this events) RoR is completely unsuitable for a beginner. It took me one hour to explain what a console is, and she still doesn't really know what to do with it. She had all this questions like "what is a controller", "umm how do I open this page now again?", "umm how do I do X", "how do I do Y".
Now contrast this with PHP. I setup a simple server, install PHP, get it started and then just tell her "create a new file called 'index.php' save it in this location, then open your browser and enter localhost/index.php". That's it. She doesn't need to know about generating controllers and rakes and db migrations and what not. Open text editor, put html in there, put some PHP in there. That's it.
Seriously, PHP is perfect for a beginner. She can learn about MVC later. Right now all she wants to do is to create something and have it work. She really doesn't need to know about adding model validators and what not.
And from what I know about Python it's the same deal as with Ruby. You just can't create a file and start writing a web page without pulling in a bunch of boilerplate.
So bottom line is: yeah PHP is way relevant today.
- jrochkind1 13y agoEven though I'm the one who suggested that maybe PHP was a good place to start... I think it's probably a mistake to try to learn web programming without learning _programming_ first. Hello world. Loops and conditionals, math, etc. Because while many of us learned web programming with PHP, many of us also learned programming before we learned web programming. And you _can_ just create a ruby or python file and start running it, not for a web app neccesarily, but for learning programming. (In this sense, they are better for this than Java, because there's no compilation or boilerplate, you really can just create a file and run it)