You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
_Latest thoughts are more along the lines of 'use backbone or something more well formed'_
Models/data should be:
Smart; Does not fetch what is already known and binds to old data seamlessly
Flexible; Stops at the proper depth
Powerful/Robust; Can return many many entries and store to proper places
First few ideas to acheive this:
Send out wanted pieces as part of Socket.io request
Return an object with keys for pieces (e.g. locations: [], users: [], users/pets: []) – by always returning an object we can start handling errors better
All requests proxy through a common function and all models have exposed id's so that requests can get the current ids from each model
This also solves a 'session expiration' error since we can globally pop up a modal for 'log back in'
The text was updated successfully, but these errors were encountered:
_Latest thoughts are more along the lines of 'use backbone or something more well formed'_
Models/data should be:
First few ideas to acheive this:
The text was updated successfully, but these errors were encountered: