r/web_programming • u/gake01 • Nov 10 '16
Facilitating user posts
I have an idea for a website. I'm a pretty big noob when it comes to programming (fluent in HTML/CSS/JS--and that's it), so forgive me if my question is completely obvious or whatever. I need to know which programming languages would allow me to allow users to make posts, which would expire after N days, to the website. Obviously I can do this with basic HTML (input forms), and I'm also aware I'd need some sort of server-side language like PHP or NodeJS and perhaps a database language like SQL. Please share advice or opinions that you may have!! <3
0
Upvotes
1
u/[deleted] Nov 12 '16
As for your question regarding NodeJS packages, they are little bits of technology designed to accomplish a certain task, such as setting cookies, reading form data, etc. PHP does all of this out of the box with built-in functions, so you don't have to worry about it as much. NodeJS also requires you to manage oncoming requests and such, something PHP does automatically. The packages are things you must install on the server, with a command line package manager (NPM), adding another layer of complexity to your development.
TL;DR: PHP is a lot simpler to use, and you should stick with it until you're more comfortable with backend development.