GithubHelp home page GithubHelp logo

cometcult / lunch-button Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 3.0 31.72 MB

Find a place for lunch

JavaScript 8.29% ApacheConf 1.12% HTML 1.18% CSS 1.81% Gherkin 0.01% Objective-C 75.67% C 0.23% C++ 0.96% Shell 1.46% AppleScript 0.06% Java 6.67% TypeScript 0.22% C# 2.12% QML 0.19%

lunch-button's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lunch-button's Issues

Preload and cache of nearby places

In order to provide a better experience in terms of load-time and network stability issues, the implementation should provide some caching that will hit if the location hasn't changed, or that the location hasn't changed much and network is not accessible.

Senario: Load locations on load

  1. Request location and foursquare stuff on load
  2. Save locations in cache on successful load of data
  3. Use cached data to find new results

Scenario: Refresh locations on location change

  1. Add listener for navigator.geolocation.watchPosition()
  2. Request foursquare data with new position and update local cache/localstorage on successful retrieval of data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.