template page and populated data content by using javascript to call our API ❖ The javascript meant our pages loaded slowly; switched to rendering templates
json list of all the items in the pillar ❖ /api/<pillar>/<id> ➢ grabs a single item Getting a single item yields more information about that one item than getting all the items in the pillar
search string and built multiple queries for each pillar ❖ Convert results into generic JSON and merge results between pillars ❖ Allows matching on names before descriptions
➢ Orders of magnitude faster using an in-memory only database ➢ Very important when running 70+ tests ❖ Difficulties in running the tests on the live site ➢ Flask-SQLAlchemy doesn’t support sharing models between databases ❖ Used the subprocess module to run the tests in their own process and capture results ❖ In the process of switching to a JSON based test result page
have used Angular!) ❖ Rackspace sign-up ➢ Accidentally signed up for the wrong flavor ❖ Javascript is slow, rendering the template and sending a static page is much faster ➢ (since fixed)
calls include redundant information ❖ Pagination of pillars and search results ❖ Use junction tables in the searches ❖ Search changes: blacklist grammatical articles, expose more data ❖ Nicer URLs for site pages ➢ ‘/characters/Robert Baratheon’ instead of ‘/characters/1’ ❖ We used javascript to pull data instead of rendering templates ➢ Site was slow and not indexable by external search engines ➢ This was fixed since turn in by using template rendering
nice ❖ Plenty of data ❖ Integration with Google Maps is well-done ❖ Very nice transitions when sorting their pillars ❖ “Featured” items from pillars is a nice way of encouraging exploration of their site. What did we learn from their site? ❖ Random sorting with animation looks impressive
is a bit too small in several places ❖ The athlete names don’t stand out in the athlete list ❖ Page goes mobile too fast ❖ API doesn’t expose a way to get individual elements from the pillars ❖ Pagination would have really helped because they have so much information