Live data from Hacker News

Ask HN: How does a beginner get started with web development in 2016?

news.ycombinator.com

1–10 of 14 posts

Ask HN: How does a beginner get started with web development in 2016?

#1
I'm a student looking to create a reasonably simple web app for a side project, and quite frankly, I have no idea where the hell to start. I've developed an iOS app, and created a static personal web site, but when it comes to web app development, the whole ecosystem seems like an absolute mess. As a beginner, I'm wondering how one is meant to figure out what stack/languages to go with when a new one seems to pop up every other week? Should a beginner start with something out of fashion but established, like Ruby on Rails or PHP/HTML/CSS/JS, or should they try to hop into the soup of trendy frameworks and languages that is the MEAN stack, Go, Flask, LAMP, Meteor, Django, Ember, Backbone, React, etc. etc., and how does one choose between them?

Re: Ask HN: How does a beginner get started with web development in 2016?

#2
There are a couple ways to choose. One is to choose something that feels right to you. If you try PHP, Ruby, C#, Java etc. which do you find the most intuitive?

Another factor is what languages will get you a job (if you want a job). You can look at job ads, and the monthly whose hiring for an idea of that.

Also it depends where you live. Where I live C# and Java are more employable skills then Ruby and PHP. But if you want to do a lean startup kind of thing, using Ruby and PHP has it's advantages.

I think to start off with ignore npm, bower, webpack and all that jazz and just code up stuff up in HTML and JS. Add JQuery when you are ready. And then try a web framework - React would be a good bet when you are ready. Then once you are used to all that, adding other tools in to the equation will seem less daunting.

Re: Ask HN: How does a beginner get started with web development in 2016?

#3
As a beginner don't go for the bleeding edge. Look for something stable with thorough documentation and an active community. You might want to check out Laravel Homestead [1]. All the batteries are included so you can jump right in and start developing your web app.

[1]: https://laravel.com/docs/5.3/homestead

Re: Ask HN: How does a beginner get started with web development in 2016?

#4
If you want to learn the ins and outs of creating a full web application with a database, users and forms, then choose RoR or Django. I would go with RoR since I think it has more mind-share, but Django is fine. Of course, RoR, might just confuse you, among the Ruby syntax, Coffee script, all the magic, it might be difficult to learn. But, if you want the full-stack skills, then jump in, and you'll be part of the largest full-stack ecosystem. Whether it's "fashionable" or not seems kind of silly. I guess all kinds of isomorphic JS stacks are fashionable now...

If you want to make single page apps, then learn React. But you still need all the server-side stuff eventually, like a data store, web server, API service, and probably a web app stack too.

You should pick a language you feel comfortable with, then the stack. I would just use Rails, Django or ASP.NET Core 1.0, Sqlite as my DB, an ORM that comes with the stack, and start making traditional MVC pages with forms. use Bootstrap for the CSS.

Re: Ask HN: How does a beginner get started with web development in 2016?

#5
Watch this brilliant video, I think the author nailed it:

https://youtube.com/watch?v=sBzRwzY7G-k

tl;dr:

- Learn Node, Django, or Ruby if you want to do the backend(personally, I HIGHLY recommend Django. It's extremely awesome and is the perfect way to start in my opinion).

- Learn HTML/CSS/JS on the front end, then Sass and jQuery, then, if you want to be an advanced frontend developer - Webpack, React, and Redux.

I think this is the optimal way to go right now.

Re: Ask HN: How does a beginner get started with web development in 2016?

#6
Hi, I am a student but with a bit more experience with Web development. What I did to improve my skills was to progressively build my own "project structure". And as I learn new concepts, I refactor my code to include better concepts/libraries. It was in PHP.

Re: Ask HN: How does a beginner get started with web development in 2016?

#10
It depends on the app. If it can be started using HTML and JavaScript then there's no reason to learn a framework first and by 'first' I mean second because learning the framework comes after choosing the framework and by 'second' I mean third because choosing a framework comes after researching frameworks and getting a handle on the confusion.

And a beginner is by definition not in a position to carry out informed research or make an expert decision. So just start.

Good luck.

Post reply on HN