advanced-js/mashup — pull request #2 by juliangibellino (2014-05-03 08:39:58+00:00)
Title: Final project complete

For my mashup project, I've used three separate APIs to create what I am calling "Weatherpix" (very much inspired by Yahoo's weather app). I have created an app that allows a user to search for locations based on address, city, state, zip, etc (Google's Map api), then submit a request to get the current weather condition of the location they selected (wunderground api), and render the current conditions accompanied by a background image that relates to the weather conditions (500px api).

I did not end up using promises for this project, since my calls were much more sequential than asynchronous, due to needing data from one api to the next; however I am very interested in learning more about them as they seem very powerful and a good pattern to use.

Some of the frameworks and pattern I did end up using were, RequireJS for AMD, Backbone as the MVC framework, and Grunt for compiling modules and js templates and concatenation.

Some of the features I would have liked to had added, but didn't make it is were:
- Images based on location, time of day, and location (even though the pool of images may decrease based on location)
- Add error handling for if no images are found, use a backup set of images
- Add error handling for ajax request failures
- Add functionality to refresh the image for your current location without having to resubmit
- Add functionality to refresh the images based on an interval

I'm kind of interested in seeing this app through, as it is a nice sandbox to work through some creative ideas.