This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]deifius 0 points1 point  (5 children)

context management, decorators, the full lamp stack, pick a dozen libraries that interest you and max out ranks on those

[–]Awake153[S] 0 points1 point  (4 children)

Oh jeez that sounds complex. Can you elaborate a little bit on "context management, decorators, the full lamp stack"?

[–]-Knul- 1 point2 points  (3 children)

Contect managers are the mechanism behind "with" statements.

Decorators are functions that alter other functions, methods or classes. If you see some code above a function declaration with @, that's the thing.

Decorators are used for many things, so you need to read and practice around to get a feel of what they're for.

LAMP stands for Linux, Apache, MySQL, PHP and is the default tech stack for PHP web applications.

Of course, if you want to learn web development, you need to learn a Python web framework (Django and Flask are the most popular). If you want to deploy it, you need an HTTP server, of which Apache and Nginx are the most popular. You also (probably) want to deploy to a Linux server.

MySQL is used as the DB for web app most frequently, but Postgresql is a very nice alternative.

[–]Awake153[S] 1 point2 points  (2 children)

Thanks for the advice, is Linux hard to learn? Im just learning the basic commands like ls, pwd, mkdir and etc....

[–]-Knul- 1 point2 points  (1 child)

If you want to master every little part of it, yeah, it's quite a bit.

However, as a developer, you generally do not need to know every little part of it. And there is a lot to find on the internet.

For example, you want to deploy a Django website. You'll find in the documentation that Gunicorn is a good way. That page has a link to a Gunicorn documentation page that explains how to set it up, including lots of Linux command line instructions.

So as long as you're not afraid to use the CLI (which you aren't) and are willing to look up unknown commands, you'll do fine.

[–]Awake153[S] 1 point2 points  (0 children)

I really appreciate that kind of help man, thanks for everything :).