Giter Site home page Giter Site logo

farm_offline's People

Contributors

jgaehring avatar mstenta avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mstenta

farm_offline's Issues

Roadmap

This module came out of discussions with @jgaehring and myself in this issue: farmOS/farmOS#37

The idea is to create a fully browser-based solution to the problem of offline access to the farmOS application, using Javascript and service workers. We decided to start this module as a place to experiment with those ideas.

If this approach makes sense, it may become the starting point for an offline-first UI in the farmOS 8.x-2.x branch (on Drupal 8).

Rough plan:

  • 1. Initial module, with basic template JS file that loads on every page.
  • 2. Via JS, create a concept of "offline mode" that overlays a div over the whole page that simply says "You are currently offline". This will serve as a single-page app container in later steps.
  • 3. Automatically detect when network connection is not available and toggle offline mode.
  • 4. Provide some basic features in offline mode that are stored locally and synced to the farmOS database when network connection is available.
  • 5. ...

The fourth step ("Provide some basic features") is obviously the biggest piece, effort-wise, and should be broken up into separate tasks once we get the initial proof-of-concept working (steps 1-3).

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.