Coder Social home page Coder Social logo

Json Sync procedure in detail about iosched HOT 4 CLOSED

google avatar google commented on May 22, 2024
Json Sync procedure in detail

from iosched.

Comments (4)

ardock avatar ardock commented on May 22, 2024

They uploaded json files to a cloud storage bucket.
"console.developers.google.com/storage/ 'your uptater project name' .appspot.com/"

One json contains the name of the other json files:
{"format":"iosched-json-v1","data_files":["past_io_videolibrary_v5.json","experts_v12.json","hashtags_v8.json","blocks_v12.json","map_v11.json","keynote_v13.json","partners_v2.json","session_data_v2.696.json"]}

This file is checked by the app and gets the name of the other json files.

Other files contain the info that the apps needs (speakers, rooms and so on) in json format.

{
"map": [
{
"config": {
"enableMyLocation": "false"
},
"markers": {
"0": [
{
"id": "room8",
"lat": 37.78280631538293,
"lng": -122.40401487797499,
"title": "Room 8",
"type": "session"
},
{
"id": "press",
"lat": 37.78304877330107,
"lng": -122.40369502454996,
"title": "Press",
"type": "label"
},
{
"id": "keynote",
"lat": 37.78311289865024,
"lng": -122.40422375500204,
"title": "Keynote",
"type": "label"
}
...

So you can update the info without modify the app.
Add new markers etc.
Each file has a version number that the apps checks. You can add new json files too.

io1 2014-11-04 15 43 49

from iosched.

nikhilgupta280695 avatar nikhilgupta280695 commented on May 22, 2024

Isn't it a single json file like the Bootstrap.json file in raw...
Or is the bootstrap file split up into subcategories and made different json files as seen in the pic.

from iosched.

jrodbx avatar jrodbx commented on May 22, 2024

The bootstrap is used to initialize the app.

The manifest is a known URL & json format that informs IOSched of updates.
One possible implementation of this could be:

{
"format": "iosched-json-v1",
"data_files": [
"bootstrap_data_v5.json"
]
}

where you version off your original bootstrap as you update it. This
probably isn't optimal in the likely case that your updates are small in
general. For that reason, you can fragment the original bootstrap into
small files. The client will know how to process the individual files as
incremental updates to the model.

from iosched.

nikhilgupta280695 avatar nikhilgupta280695 commented on May 22, 2024

Yeah.. it works..
Thanks for the help..

from iosched.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.