Skip to content

Instantly share code, notes, and snippets.

@jlecour
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlecour/e1cc391f40f13aa8c9c6 to your computer and use it in GitHub Desktop.
Save jlecour/e1cc391f40f13aa8c9c6 to your computer and use it in GitHub Desktop.
I want to build a very simple web app to use (mostly offline) on my iPhone. It will be a simple form to input data (timestamp, key, value), store them in a local storage and occasionally push them to a remote API. I've asked for advice on the building blocks. Here are the answers I've received so far.

chibani: @jlecour il te faut quoi ? Un champ date, 2 champs number et stocker en bdd locale ? Ensuite un bouton pour demander le push vers ton ES ?

sgruhier: @jlecour This are 2 difference things. You can do offline webpage in any technology you want.

duckmole: @jlecour http://www.airpair.com/js/javascript-framework-comparison

franckverrot: @jlecour depends on the effort you wanna put into this IMHO. I worked a lot with both and I personally prefer Ember.

gcouprie: @jlecour React. Ca te simplifie la gestion de la donnée

plexus: @jlecour om/react

sgruhier: @jlecour =you can use things like this https://github.com/mozilla/localForage and you’ll find angular, ember, backbone code for that I’m pretty sure

sgruhier: @jlecour I use only angular now, and you have a service for that https://github.com/ocombe/angular-localForage

franckverrot: @jlecour I gave you an answer based on the choices you gave, but if you need an app to use on iOS.... RubyMotion FTW :-D

jlecour: @franckverrot Sure, but I'd like it to be built in a few hours of work, usable outside iOS and using web technologies.

lrz: @jlecour @franckverrot As my grand father used to say, "Vite fait, mal fait".

alloy: @jlecour JavaScript. Because you know the target platforms and won’t be battling undocumented or wrongly documented frameworks.

joffreyjaffeux: @jlecour Ember est un bon choix je pense pour toi, car très proche de la culture rails donc à priori moins de concepts à appréhender

joffreyjaffeux: @jlecour après tout dépend de la complexité de l'app, si c'est pour deux trois pages avec trois tableaux et une form.. pure javascript.

discoride_dev: @jlecour angularjs may be overkill but for learning purposes better start with small project

FedirFR: @sgruhier @jlecour Probably localStorage is simply enough ? http://t.co/cPzHGUjq6d All JS frameworks has adpaters for localStorage

Thanks you for your advice. I'll open-source the result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment