jesslark / dictionary

Dictionary of words that are assumed knowedge in the dev community but may be unfamiliar to new, or even seasoned, developers.

Home Page:https://jessmear.github.io/dictionary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ideas to improve the site

jesslark opened this issue · comments

commented
  • Be able to add words and/or definitions in a form on the site
  • Be able to search for words
  • Figure out how many words to have on a page, and how to make it easy to page through, or maybe use infinite scroll?
  • Add a report button for entries in poor taste, if the form feature is implemented

I can work on the form part. My idea for it is have a folder called 'words' and then have a form with 2 boxes: name and definition. Then save them to a JSON file and load all the JSONs onto the site in javascript. Or there could be 1 big JSON and each word gets appended to it. A txt might be faster though? The only other way would be creating a database. I'll work on the JSON system though

commented

A JSON object is a great idea. How would the entries on the form get into the object?

Thanks!

I managed to make it a JSON object, but I have 0 idea how to get JS to save a file to the disk that the site is running on and not the users disk

commented

Can you push your branch up so I can take a look?

I think we have two choices:
One we can go straight to a database solution of some kind.
Two, we can store the information in a JSON object that is then displayed with HTML/js. For this one, people would still need to submit updates through PRs instead of a form.

I think we should go with the second solution for now. It will be fun and interesting and still allow this repo to be really beginner-friendly for Hacktoberfest.

commented

Hi, I attempted 'the second solution' with #33. Hope it works!

commented

I tried adding search functionality that will show the entries that contains the searched keyword with #34. Hope this helpful.

Thats awesome!! @lamesensei