Wednesday, December 28, 2016

Re: using django app functionality offline in browser when internet is inactive and synchronize with the remote server when internet is available.

Hi! Seems like this is a task for your frontend, not Django. You'd probably want to store orders data in client's browser and then call some handler on your backend (Django), that would correctly process this data. You should be careful, though, because clients could send malformed data to that handler and possibly corrupt your database or order something without paying.

On 28 Dec 2016, at 17:32, Shiv Dangi <shiv.dangi71@gmail.com> wrote:

I am making website for a restaurant that also serving food to home to their customers. I successfully completed online food ordering and serving part and also integrated counter management functionality in same website (all data related to counter management functionality are stored on remote database, this functionality  hit remote database many times for eg: when a new customer come to restaurant then generating a new order in database, a item is added/deleted to a customer order, storing waiter detail related to that order, and also context switching between orders because there are many customer at a time). now i want to use this functionality as a offline in browser when internet is inactive and putting all data related to orders in remote database when internet is available. can I do this thing using browser?

sorry for my bad English and Thanks in advance for helping me.   

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/668fa0cf-6c83-463c-92c7-8587fb29ceef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment