Code Monkey home page Code Monkey logo

elm-kinto's Introduction

elm-kinto's People

Contributors

gabisurita avatar glasserc avatar habibdhif avatar magopian avatar n1k0 avatar natim avatar zakaluka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elm-kinto's Issues

Add documentation for Authentication method.

-- Configure a Kinto client: the server url and authentication


client : Kinto.Client
client =
    Kinto.client
        "https://kinto.dev.mozaws.net/v1/"
        (Kinto.Custom "Portier" "portier-user-session")

Offline first capabilities

Hi! I am new to elm.
I want to write an app for managing family budget in elm. I did that already using react native + firebase, and I am sad about where I get there. I need to sync data between devices.
This library looks right direction to go. Did any one thought already thought about implementing

  • Offline first: every operation is performed locally into IndexedDB by default;
    part of kinto.js in this library?

I know that there is no solution to talk to storage apis of browser directly from elm as of now, and the recommended approach to use IndexedDB in elm app is ports.

I thought that there may be elm-kinto-offline fork, for now, that require to manually plug in some js to make it work. And may be in future, when elm will provide a way for data persistence ports can be replaced with it and elm-kinto-offline can become elm-kinto

I probably get that questions I am asking here are not directly target to solve my problem (write an app for managing family budget in elm) and solution for that is just use pouchDB / relay / kinto.js via ports. I am doing that because of desire to make contribution for elm ecosystem. But if spending time on topic above is useless, better to take a look for opportunity to contribute some other way.

Create two clients, One with the Pager and One without the Pager.

In elm-kinto 6 we added the Pager, which makes it really hard to get started with elm-kinto especially for beginners.

I'd like to get back a simpler kinto client that doesn't need to worry about the Pager.

The same way that we have program and programWithFlags, we could have KintoClient and KintoClientWithPager.

Add a pagination api

This might not be easy: pagination uses continuation token headers. Need to think about what the dream api would look like, and see how usable and feasible it is.

Add notification

I have been reviewing Kinto as an alternative to Firebase + Elm. I also like Kinto being implemented in Python. Being also a Python programmer this give me the opportunity to do server side stuff if necessary. I miss that opportunity in Firebase.

What would definitely win me over is an example in Elm with notifications. For example, in the existing example. I open two browsers, I would create a record in browser A and this record would automatically show up in browser B. Also record updates would immediately be reflected in both browsers.

Thanks very much in advance for winning me over ;-)

Berry

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.