psu-capstone / churchill

Other
2 stars 2 forks source link

User Cookies and API Refactor #92

Closed m-d-s closed 8 years ago

m-d-s commented 8 years ago

this is a big one. The api factory was getting bloated. All get calls now pass through a single function dataFac.fetch This function will return a promise guarantees a callback to your procedure when your content is returned from the database.

API endpoint strings can now be constructed by calling a function off of the new endpoint factory endpointFac.url_get_xxx(some args) Check appFactory.js for function signatures.

Since many of the changes are wide spread, it is unlikely that any work that was based on the now stale develop will merge cleanly. Please talk to me and we will get your code in.