Re: Off-line Django apps / Caching and synchronizing data

2012-05-27 Thread ALJ
Thanks for the link Marcin. To anyone else interested in looking into this, 
it looks like the first stop is to read Mark Pilgrim's chapter "Let's Take 
This Offline " in "Dive Into 
HTML5".

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/n_G3vXkco2IJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Off-line Django apps / Caching and synchronizing data

2012-05-27 Thread Marcin Tustin
You might also like this:
http://stackoverflow.com/questions/2786303/offline-mode-app-in-a-html5-browser-possible


On Sun, May 27, 2012 at 5:39 PM, Marcin Tustin wrote:

> As per the above it's not really a django issue. The main django
> participation would be to provide an AJAX api which the client web page can
> sync with when it gets back online, which you would need to do for any AJAX
> application.
>
> If you do get your project working, do write up a tutorial. I'd be
> interested in reading about it for sure.
>
>
> On Sun, May 27, 2012 at 5:35 PM, KevinE wrote:
>
>> Just posted a similar question - sounds like we need a "DjangoOffline"
>>> component. Does such a beast exist?
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/Ti36numnK1UJ.
>>
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Marcin Tustin
> Tel: 07773 787 105
>
>


-- 
Marcin Tustin
Tel: 07773 787 105

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Off-line Django apps / Caching and synchronizing data

2012-05-27 Thread Marcin Tustin
As per the above it's not really a django issue. The main django
participation would be to provide an AJAX api which the client web page can
sync with when it gets back online, which you would need to do for any AJAX
application.

If you do get your project working, do write up a tutorial. I'd be
interested in reading about it for sure.

On Sun, May 27, 2012 at 5:35 PM, KevinE wrote:

> Just posted a similar question - sounds like we need a "DjangoOffline"
>> component. Does such a beast exist?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/Ti36numnK1UJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Marcin Tustin
Tel: 07773 787 105

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Off-line Django apps / Caching and synchronizing data

2012-05-27 Thread KevinE

>
> Just posted a similar question - sounds like we need a "DjangoOffline" 
> component. Does such a beast exist? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Ti36numnK1UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Off-line Django apps / Caching and synchronizing data

2012-05-26 Thread ALJ
Hi Andy, 

Cheers for that. I'll start looking at some JS/HTML5 frameworks.

ALJ

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/HNImAOZO9L0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Off-line Django apps / Caching and synchronizing data

2012-05-24 Thread Andy McKay
> Somehow create a standalone django app that is the same as the online one
> and then have it synchronize when it goes back online. Something ala Google
> Gears / HTML5. But not done anything like this and I'm not sure how
> complicated the synchronizing would be and I'm reluctant to roll out django
> installations on loads of laptops.

If you have a JS based HTML 5 app, you could store data into IndexedDB
and then sync it all up when they come back online. From an end users
point of view it could be pretty seamless as they switch from online
to offline.

This would not require Django being installed, just using HTML5.

> Use a non-django app which might be a bit lighter, eg MS Access or some
> sqlite front end and then have that synchronize. Again, similar issues as
> above, although.

You'll likely have syncing issues whatever system you use. Choose your
pain point and remove as many syncing/conflict issues as you can
before you start implementing.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Off-line Django apps / Caching and synchronizing data

2012-05-24 Thread ALJ
I've been asked to create an closed web application for our field staff. 
The trouble is is that they are sometimes in areas where there is no cell 
covereage and therefore no data connection. 

Has anyone else had a similar situation and do you have any pointers into 
solution approaches or apps I should be looking at?

My initial thoughts were ...

   - Somehow create a standalone django app that is the same as the online 
   one and then have it synchronize when it goes back online. Something ala 
   Google Gears / HTML5. But not done anything like this and I'm not sure how 
   complicated the synchronizing would be and I'm reluctant to roll out django 
   installations on loads of laptops.
   - Use a non-django app which might be a bit lighter, eg MS Access or 
   some sqlite front end and then have that synchronize. Again, similar issues 
   as above, although.
   - Have them complete a simple spreadsheet when offline which they can 
   upload to the django app and import the data once they get a data 
   connection.
   - Tell them to keep notes until they get a data connection ... although 
   I think this might get me throttled.

It's still early days and I haven't seen any artifacts they currently use 
or what they were hoping to get out of it, but any pointers would be great.

Thanks

ALJ

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/XvD3FKRO2C4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.