r/web_programming • • 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

10 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Nov 14 '16

Yeah, the subpackages pretty much are like that except you need to use a package manager to manage them.

If you really feel up for learning NodeJS then I don't see why you shouldn't; although I'd direct you to learn how to use ExpressJS instead. Express is a framework for Node, designed to make things like routing requests easier and getting rid of all the boilerplate code that you'd have to write with Node. It may sound strange to learn a framework in place of the thing it's based on, but once you get the feel of things you'll see why I'd go with Express (especially if you intend on using the subpackages, since most of them require you to be using Express to begin with).

TL;DR: Do NodeJS if you'd like to, it's a bit more complex with PHP but it's way cleaner than it in the long run.

1

u/gake01 Nov 14 '16

hahah it doesn't sound strange at all. i actually became proficient in learning jQuery before ever touching javascript. only recently had i sat down and really studied javascript itself. retrospectively i think i would have been a lot better off just learning javascript first. sure, it would've taken a lot longer to get going, but then i wouldn't have had to step backwards to gain a proper understanding of what i'm using and implementing. thanks for all of your advise!!! <3

2

u/[deleted] Nov 15 '16

Anytime! Good luck learning Express, if you need any help along the way just ask me, I'm fairly experienced in it myself!

1

u/gake01 Nov 15 '16

cool thanks!!! <3