One problem I have during development with the default setup of rocket is 
that it occasionally freezes when there is an error.   These freezes appear 
to vanish when I use anyserver.py with rockets and 2 or 4 workers.



On Saturday, September 1, 2012 8:17:10 PM UTC-5, rochacbruno wrote:
>
> Yes!
>
> You have some options:
>
> 1 Use sqlite locally, use rocket server (built-in), use py2exe to pack 
> your app as a windows application .exe, or py2app to pack as apple 
> application.
> Take a look on to this: 
> http://web2py.com/books/default/chapter/29/14#How-to-distribute-your-applications-as-binaries
>
> 2 Use rad2py with its gui2py
> http://code.google.com/p/rad2py/
>
>
> On Sat, Sep 1, 2012 at 9:46 PM, luckysmack <lucky...@gmail.com<javascript:>
> > wrote:
>
>> I am curious, if there could be a way to use web2py to create an 
>> installable desktop application. The app would be based on a web app so 
>> would have much of the same code.  I would want/hope to find a way to 
>> bundle a local database (mongodb or couchdb if it works with web2py) and 
>> have the local db sync to the server when changes are made. For a UI, i 
>> would probably keep it web based and see if I could package it with a 
>> webkit instance, or have it open in the browser as the main ui, this way I 
>> can still use html/js for the front end as the web app is.
>>
>> Example. Say that online there is a large product catalog. each company 
>> has their own catalog. when using the offline app, you would authenticate 
>> with the server first, then once authenticated, it would download/sync your 
>> companies catalog to your local server/computer. Then you could work with 
>> it even while there is no internet. When you come back on line (or as youre 
>> using it) it would sync/stay in sync with the server. Syncing, i know is 
>> another task unto itself. But in this case, one could use this offline app 
>> as a POS system for an in store purchase. when you add a product it syncs 
>> with the server. 
>>
>> Is there any way this can be done with web2py? 
>>
>> -- 
>>  
>>  
>>  
>>
>
>
>

-- 



Reply via email to