Hi Bart, Is content dynamic or static?
If static and not sensible, you do the login/pass test only online on first access and use manifest to cache all files locally. If dynamic, then well ... it's a complicated job :) Remi Le 21 mars 2014 à 19:12, Bart Cockheyt <bart.cockh...@gmail.com> a écrit : > Hy, > > It's not a native app but a 100% web-app. > Its going to be used by a select group of users but one goal is that thay can > still use the app if there is no internet available. > > > Op vrijdag 21 maart 2014 18:39:07 UTC+1 schreef john.mb...@googlemail.com: > You've probably seen my new app 2014-football?! > https://itunes.apple.com/gb/app/2014-football/id830027023?mt=8 > I use PhoneGap and get my data from an external site using JSON > > Hope this helps > > J > > > > Sent from my iPad > > On 21 Mar 2014, at 17:33, Bart Cockheyt <bart.c...@gmail.com> wrote: > >> Hy, >> >> I'm making an 1 file webapp (different screens in 1 html file) with user >> authentication. >> I tried different type of scripts but all seem to lack to work flawless with >> the iUI screen setup. >> If i use a script with separate login files it screws up the backlink in the >> topbar (displaying the login link in the first screen). >> Another thing is that it uses a mysql database to store the userdata, thats >> ok, but one of the goals of the webapp is to also make it usable when >> offline (cache). >> Has anyone any ideas on how to implement something like this (if possible >> with working example)? >> >> What i need to do is this: >> >> - Making the login screen part of the index screen (load screen "login" if >> not logged in, else display other content, or a script that can handle the >> #_screenid tag) >> - Using a cacheble database (secure so no flat file, maybe msqli?) so it >> also works when site is cached/offline >> - Letting users change there password >> - If possible admin the users when logged in as admin, add users, delete >> users, change user password. >> - NO user registration >> >> Curently i'm using this script: http://php-login-script.com/ >> It works but i have the backlink isue and the "stay logged in" doesen't work >> (and is not going to work for offline usage), but it gives an idea of what >> i'm trying to do here. >> >> Any help, pointers, tutorials, scripts are welcome. >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "iPhoneWebDev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to iphonewebdev...@googlegroups.com. >> To post to this group, send email to iphone...@googlegroups.com. >> Visit this group at http://groups.google.com/group/iphonewebdev. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to iphonewebdev+unsubscr...@googlegroups.com. > To post to this group, send email to iphonewebdev@googlegroups.com. > Visit this group at http://groups.google.com/group/iphonewebdev. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev+unsubscr...@googlegroups.com. To post to this group, send email to iphonewebdev@googlegroups.com. Visit this group at http://groups.google.com/group/iphonewebdev. For more options, visit https://groups.google.com/d/optout.