should i learn #java or #php for web development? #help #web #development #dev #programming
and also which server #nginx or #apache
@psych I learned nodejs in uni, you could probably use anything really 🤷
ruby and python are also popular
personally, I prefer Lua
and Nginx has Lua support
so, I say go with that???
disclaimer: am not a web developer, but I've passed a few web related classes
@psych what's your end goal? that's going to heavily impact what you want to learn.
@rowan my goal is to learn web development. I am thinking about creating a website to post articles like a blog and host it. So which language should i choose? Which one has highest job market?
@psych out of the options you gave (Java or PHP), i would definitely recommend PHP. It's, for better or worse, still the de facto backend of the web — Wordpress and Drupal are written in it, and it'll prob be the easiest to find freelance work in.
If you're trying to get into more startupy, hip scenes, your choices broaden.
either way, it's probably best to start with HTML/CSS and maybe some JS before getting into anything dynamic...
@rowan thanks .going with php
@psych without knowing specifics of your project. I recommend #javascript and #nginx. I prefer #python myself, and now am forced to learn js since to make nicer looking/feeling web apps.
@psych Familiarity with both #apache and #nginx is good.
Back-end web development can be anything, though. These days, the answer I most frequently give is "what's the job?" because it really depends.
99% of the time, if I'm emitting PDFs from a data set, I want to be using C++. If I'm simply pulling data from a database to render it in a Web page, PHP is fine.
I have even used Python, C# and Java for Web development.
@psych I guess it depends on your goals. For instance, if you are job hunting, maybe focus on what job listings ask for? If you're doing it to learn then pick a language you don't normally use? Rust looks interesting to me. Good luck either way!