Comments (15)
As I said, there'd be a solution for handling situations like that.
Also, I believe the whole point of creating a JSON file is to make the contribution process easier (no need to create an extra account, anyone can review new abbrev additions, everything on one platform; GitHub)?
from abbreve.
I love this proposition! I have been going over how to avoid the huge file size. For the structure you proposed in #42 I see the point there. But I would like to prioritize this issue over that one for the time being. Perhaps we can start a branch to work on this. What do you think?
from abbreve.
Sure!
from abbreve.
We can implement this solution now, which means we'd have to create a simple app for restructuring all definitions once the decision is made on an alternative structure
from abbreve.
@Njong392 can you create a new branch for this feature, so that we can start the migration process
from abbreve.
Ok good. I'll create a branch ASAP. Are we going to manually create folders for the new structure you proposed? If so, I suggest we don't tamper with the db.json
file. While we work on the fork people will be adding contributions to it. Deleting it will cause serious merge conflicts.
from abbreve.
@Njong392 can you create a new branch for this feature, so that we can start the migration process
I have created a branch called structure
for the migration. If you have any other questions, do reach out.
from abbreve.
Breaking the data down into individual files is a good idea! Only problem I can think of is the abbreviations that can't get transformed into a file so easily. Take this for example:
"w/o": { "definition": "Without" },
We could for example use an underscore to check for spaces and something else to check for slashes. Just something to keep in mind.
from abbreve.
@Njong392 can you create a new branch for this feature, so that we can start the migration process
I have created a branch called
structure
for the migration. If you have any other questions, do reach out.
Sure! I'm out atm would start working on it as soon as I'm back
from abbreve.
@mathiasayivor
If I understand correctly, each abbreviation should have it's own json file?
If that's the case, my only question is this. Wouldn't that be too many json files? Assuming each acronym is independent
from abbreve.
@mathiasayivor If I understand correctly, each abbreviation should have it's own json file? If that's the case, my only question is this. Wouldn't that be too many json files? Assuming each acronym is independent
Yes, but it makes sense to do so based on our current situation.
Also, I don't think anyone would want to go through the JSON files individually to look for definitions, as it's the equivalence of trying to manually going through an app's database instead of actually using the app.
Secondly, as I stated in the caveats section, we can implement a solutions for managing each JSON file, which I'd start working on soon.
from abbreve.
Breaking the data down into individual files is a good idea! Only problem I can think of is the abbreviations that can't get transformed into a file so easily. Take this for example:
"w/o": { "definition": "Without" },
We could for example use an underscore to check for spaces and something else to check for slashes. Just something to keep in mind.
This is worth noting! Thanks for pointing it out @larsniet
Saw this late...
from abbreve.
@mathiasayivor If I understand correctly, each abbreviation should have it's own json file? If that's the case, my only question is this. Wouldn't that be too many json files? Assuming each acronym is independent
Yes, but it makes sense to do so based on our current situation.
Also, I don't think anyone would want to go through the JSON files individually to look for definitions, as it's the equivalence of trying to manually going through an app's database instead of actually using the app.
Secondly, as I stated in the caveats section, we can implement a solutions for managing each JSON file, which I'd start working on soon.
Well, I just assumed that it would be better to leave it as is pending when a NoSQL database would be implemented. Migration wouldn't be difficult in this case. However if transferring the content of the JSON files to an actual database at a later point in time wouldn't be a problem then It's all good
from abbreve.
Also, I believe the whole point of creating a JSON file is to make the contribution process easier
I agree with @mathiasayivor on this one. There is no need to think of databases for now. Will there be many files? Yes. But nobody will be going through them like he said. It's just a more optimised method for what we have right now.
from abbreve.
Closing this as merged!
from abbreve.
Related Issues (20)
- BUG: Theme toggle button does not work on first page load HOT 2
- FEATURE: Translate full sentences HOT 6
- BUG: after failed search if you select whole text and delete, then search empty input it won't show error
- [OTHER]: some tailwand css errors when it's on medium size device HOT 2
- SIC - (Something that Is Cool) HOT 2
- FEATURE: new slangs added to the db
- BUG:
- ABBREVIATION: Add "ijbol"
- ADDING A NEW ABBREVIATION DFW:
- ADDED A NEW ABBREVIATION
- lysm: Love you So Much.
- iagl : I Ain't Gonna Lie
- wdyt : What Do You Think ?
- SME: Subject Matter Expert HOT 1
- KT: Knowledge Transfer HOT 1
- FEATURE: make definitions shareable HOT 6
- FEATURE: Having the possibility to have abbreviations available for different languages. HOT 15
- BUG: Alignment between abbreviation and 'copied' HOT 2
- FEATURE: Clear button
- The second card is being cut and overflowing on medium and small sized mobile screens. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abbreve.