Advice

Transforming API Data Objects in AngularJS

The Problem AngularJS is awesome, but one thing sorely lacking from it is the ability to use information from HTTP endpoints as Business Logic objects. For example, if you get a list of files from an API endpoint, all you get are the attributes from that endpoint, no methods. [{“filename”: “avi_1003.mov”, “filesize”: 1033293}, {“filename”: “avi_1123.mov”, […]

Using the HOSTS File

What Does it Do? What is the HOSTS file? It’s a simple file that your operating system relies on to override DNS settings. It’s a very limited, albeit functional, way of overriding a DNS server to tell your computer where to send a request. Where is the HOSTS File Located? The location of the HOSTS file varies […]