-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
events.json or events/<name>.json? #7
Comments
events.json
or events/<name>.json
?
I'd +1 for |
@SomeoneWeird Do you mind to expand the argument :) |
Note: I just found another reason against |
@martinheidegger How would events.json prevent theoretically infinite events? If we have Conversely, if we have I think the simplest identifier would be order of event - event 1 would have a property, along the lines of So, having a three or four digit prefix placeholder would work: So, my vote is for events.json. |
As the events.json file grows larger the amount of json to download will grow larger too with it the response time of any tool that loads this events.json until it becomes unusable at some point (in the very far future). If every event is in his own file you can have - with naming conventions - that allows to have a very large amount of events. I do not see the need for an order. The date/time will serve just fine for sorting. The name should be unique but the current implementation already is that that (and people can name the events freely). |
We've had that very same problem when trying to download or maintain a big JSON file for a no-backend app, so I vouch for the Would it be too weird to have an PS: @bnb would love to see that discussion to the link. |
If we were to go with one json file per event then I currently think that it should be like this:
Regarding the discussion on the time format: http://xkcd.com/1179/ |
@fforres Not quite as involved a discussion as I remember, but here it is: nodejs/evangelism#18 |
@martinheidegger Could you describe what you mean when you say:
What is the process/structure of using GitHub data? |
+1 for |
@SomeoneWeird Do you mind to expand the argument :) I am in favor of |
Let me rephrase: |
@martinheidegger Okay, I'm a huge 👍 on that - it's really awesome. |
Extracted the I will accept a PR that changes the event creation & linting to have each event in an own file. In lieu of better arguments I am for the name pattern Since a time is required for events (even when they start at 00:00) and to enforce consistency the time MUST to be noted in the file name. Since If someone has the time to work on this it would be awesome 😄 |
I extracted the specification of one event into a own module and I am working on the event listings http://github.com/opengh/open-event |
Awesome, I started implementing your lib for all the events in |
Subtask for #6
Right now I implemented a
events.json
as single file because:But there is the possibility of having
events/<name>.json
instead. This would allow:but it also comes with the slight downside that the name needs to be duplicated because
events/<name>.json
needs to follow file-name-restrictions (no space etc.)To me the current situation is perfectly fine and i feel the other version is over-engineered. but I would like to see some
+1
'sNote: This issue exists also for documentation purposes
The text was updated successfully, but these errors were encountered: