On Mon, Jun 29, 2009 at 1:57 AM, alexbottoni<[email protected]> wrote:
>
> Hi All,
> I have to develop an application that should be used BOTH as a web
> application (by multiple users, working in different locations) AND as
> a desktop application (used by a single user,while traveling). Even
> worse, each user should be able to work both offline (when traveling
> by train, airplane, etc.) and online (when in his office). This
> strange set of requests came from the fact that each user has to
> collect data on the field and feed a central database. The Internet
> connection cannot be taken from granted on the field.
>
> Anybody has any experience in developing oline/offline capable
> applications with Pylons and Google Gears? Any suggestion for me?

We had that exact problem, and solved it with a wxPython/Pylons
application rather than Google Gears.  The GUI application embeds a
local Pylons application, PasteHTTPServer, and the platform's native
browser (IE on Windows, Safari on Mac).  It's all packaged using
Py2exe/Py2app for a one-click installer.  It doesn't behave exactly
like a normal desktop application but with some tweaks we managed to
get it closer.  You can google "bils application" (Browser Interface,
Local Server) for a video of my colleague's PyCon talk and a PDF of
the slides.

-- 
Mike Orr <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to