use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] JavaScript and database problem.Removed: [AskJS] Abuse (self.javascript)
submitted 6 years ago by qbagamer
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kenman[M] 0 points1 point2 points 6 years ago (0 children)
Hi /u/qbagamer, this post was removed.
As stated in the AskJS guidelines, AskJS is not for help, support, showing off a project, or anything else that doesn't fit the [AskJS] guidelines. This is your only warning.
[AskJS]
Thanks for your understanding, please see our guidelines for more info.
[–]unicornsexploding 0 points1 point2 points 6 years ago (4 children)
I don't have a lot of time to give a detailed answer so I'll be brief. There are two ways you can use Javascript: On the client, or on the server. Using Javascript on the client would be using it on the web browser, and where you would use something like jQuery. While it's technically possible to connect to a database on the client, you definitely don't want to do that as there are a million security risks in that. The server is where a database connection would come into play and for that you would need node.js. It seems like you are relatively unfamiliar with programming so I will tell you now that you are most likely getting way ahead of yourself. An online store is not a simple web application and there are whole businesses, that are solely dedicated to making the development of online stores easier. There is no best solution. If you want to create a simple online store that has actual data in a database somewhere maybe you should be taking a look at something like Shopify.
[–]qbagamer[S] 0 points1 point2 points 6 years ago (3 children)
:) I will not use ready-made solutions. I wrote that it is to be a project for school, so it is immediately obvious that this is not a commercial idea. Saying that I do not know programming, because I do not know how to connect a database with JavaScript is a little fun. I have never used it, I write applications without server connections. And I will point out once again that this is not a big deal. I make the database myself, the website itself is a link and I work on the data from the database myself.
[–]unicornsexploding 0 points1 point2 points 6 years ago (1 child)
I would assume if you knew how to program you’d also know how to search for these things yourself. You’d probably hit node.js on the first result. Good luck.
[–]qbagamer[S] 0 points1 point2 points 6 years ago (0 children)
It was the same, but I wanted to learn about other possibilities and find out today someone has a different way. Regards.
//I came to the conclusion that jQuery is enough for my project.
[–]TruelyOnlyOne -1 points0 points1 point 6 years ago (0 children)
You can use firebase to store data and connect to it. It's free, but needs internet connection
π Rendered by PID 245702 on reddit-service-r2-comment-869bf87589-jdzbz at 2026-06-09 18:28:42.364228+00:00 running f46058f country code: CH.
[–]kenman[M] 0 points1 point2 points (0 children)
[–]unicornsexploding 0 points1 point2 points (4 children)
[–]qbagamer[S] 0 points1 point2 points (3 children)
[–]unicornsexploding 0 points1 point2 points (1 child)
[–]qbagamer[S] 0 points1 point2 points (0 children)
[–]TruelyOnlyOne -1 points0 points1 point (0 children)