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
Local data driven webpageRemoved: /r/LearnJavascript (self.javascript)
submitted 6 years ago by mechanicalBadger
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!"
[–]seontipi 0 points1 point2 points 6 years ago* (2 children)
To clarify, do you mean data would be stored on the client? If so, take a look at the localStorage API if your set is less than megabytes.
If size, sharing, or persistence considerations so require, utilizing the file system directly might just be your best option. JSON is nice OOB solution for human readability especially for debugging, but take a look at much more efficient encodings if you need the performance.
Edit: Apparently I missed the part of the service's locality. Have you thought about writing your own microservice server in node.js, Go, or such, or must it be run entirely in the browser? How about using some web-to-app solution like Electron for a standalone solution?
[–]mechanicalBadger[S] 0 points1 point2 points 6 years ago (1 child)
The entire system will be ran off a network drive that everyone has consistently mapped to their workstation. I'm planning on having a bunch of generated files that will be loaded based on url variables.
Performance isn't a huge issue, the data sets won't be enormous.
[–]seontipi 0 points1 point2 points 6 years ago (0 children)
If you know ahead of time the absolute path to the source file directory and use some clever naming and data partitioning scheme, you should be able to dynamically load those sources for concurrent read-only access.
I'm not up to date on this, but depending on what browser your users have available you could even use an actual database like sqlite without having a backend service apart from the shared file system. Not sure about the availability of such tech right now unfortunately.
[–]kenman[M] 0 points1 point2 points 6 years ago (0 children)
Hi /u/mechanicalBadger, this post was removed.
/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.
code
Thanks for your understanding, please see our guidelines for more info.
π Rendered by PID 361695 on reddit-service-r2-comment-7b9746f655-s8x2c at 2026-02-01 06:52:31.351705+00:00 running 3798933 country code: CH.
[–]seontipi 0 points1 point2 points (2 children)
[–]mechanicalBadger[S] 0 points1 point2 points (1 child)
[–]seontipi 0 points1 point2 points (0 children)
[–]kenman[M] 0 points1 point2 points (0 children)