Monthly Archives: June 2015

Create-On-Update Pattern for AngularJS Applications

This is a suggestion for how to design the JSON/REST protocol between the Angular application and the server, to handle creation of items easily and conveniently.  Use a special ID value to indicate that the object does not exist on … Continue reading

Posted in Coding, Design | Tagged , , , | Leave a comment

JSON/REST API – Handling Dates

In this post, I lay out the reason that you should always transfer dates in a JSON/REST API as an integer epoch value: the number of milliseconds since Jan 1, 1970. If you think it should be anything else, please … Continue reading

Posted in Coding, Design | Tagged , , , , , , | Leave a comment