Re: [web2py] Use web2py to create offline desktop application
Oh awesome. I'll have to look more into sqlite. I've never used it. Is there any docs on using it it if the remote db is mongo/couch (syncing). Or even if there's a way to package couch/mongo with the app so they don't have to in stall it separately (assuming not using sqlite locally) On Sep 1, 2012 6:17 PM, "Bruno Rocha" 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 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? >> >> -- >> >> >> >> > > > -- > > > > --
Re: [web2py] Web2Py with real time data
No I was not. I'll check out the video and let you know. Thanks. On Sep 4, 2012 12:41 PM, "Richard Vézina" wrote: > Are you aware of comet_messaging.py in gluon/contrib? > > There is a video from Bruno that show how use it : > http://vimeo.com/38972256 > > It use websocket, so only work with up to date browser. > > Richard > > On Mon, Sep 3, 2012 at 9:13 PM, luckysmack wrote: > >> I'm curious if anyone has done real time applications in their web apps >> with web2py. either a whole project or even just components. With the >> project I am working on, there are aspects of the app which will have close >> to real time interactivity. Such as live database updates (say 100 users >> are looking at a football stats page. and one user comments on that page. >> once the comment saves to the database, the other 99 end users' displays >> are then updated automagically updated with that new content.). I have seen >> ways to do this such as twisted and socket,io. >> >> So i was hoping to see if anyone around here has done any real-time like >> features for their apps, and was willing to share what they did to get >> started. >> >> thanks >> >> -- >> >> >> >> > > -- > > > > --
Re: [web2py] Re: Why would I use DIV classes/helpers, over an html template?
But see, to me, now that's putting HTML in the controller. Which I see as a negative. Ideally I would pass the data to the view and use a foreach over the data contents. And for marking a field as red, I would put some metadata into the data sent to the view. I would just test if vacant was true, and if so, change style. This way there's no hidden HTML tags/structure from a designers template file. On Sep 7, 2012 12:11 PM, "Andrew W" wrote: > Good example Cliff. > > -- > > > > --
[web2py] Web2py. for a minimalist app, it feels bloated. Do it I need it?
I am somewhat new to python, and * shock * have an idea for a simple app I want to build. To start the app will be relatively light weight, but if it works out in my grand scheme could be far more complex.but the core will be fairly simple. something an experienced python dev could probably whip up in bottle in a few days. The core will a simply be an advanced rest based api. The other half dozen or so apps will all be built of this core. The either apps will likely be built as a cms like system to manage each other. And as different as a POS in store program. So as many cool things as I thing web2py has, do you guys think its the right system? I know w2p can do great APIs easily. But for that simple aspect, I don't need a milti-application admin interface, or a code editor, and I may not even use DAL. (For my project I may actually use something like neo4j/orientdb/titan. Not sure yet. Might use mongodb as instead). So for that simple part, all the other stuff seems a little bloated to me. Stuff that I won't need. Sure as a whole, all the apps will be built into somewhat of a cms (which I would like to build anyways), for that I'm not sure I would need the web2py admin part. As a cms I would probably have my own interface, even for the admins. How or would web2py admin ui fit in. I know you guys are biased towards web2py, but does it sound like it would be a right fit? Or would it be too complex? In comparison, I feel django is too bloated as well since I would be doing a similar thing, except it would be done quite a bit differently. The core of how it works doesn't seem to fit my ideas. If I don't use web2py, the next best things I see as a starting point are pyramid, or bottle/flask or even wheezy looks pretty cool. What do you guys think? The core great api would be the crux of the other apps. This core is what talks to the db. And each if the apps with build on it. The rest part will be made so they can all communicate with each other based on the URL. The either individual apps, were they to be on their own, I can totally see as a web2py app. So I'm curious how this idea as a whole, would fit into web2py. If it can. Since there are a handful of web2py featured I won't even use. I don't need them to be auto imported if I'm not using them (since I can't see what's being imported). So in a way it feels like bloat. A reason I don't like django. What do you guys think? Any input is greatly appreciated. --
Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?
Ahh thats excellent. Thanks! So it seems that the cooperation portion will work great with what I need. and the auth system using CAP will be great too. thanks. On Sat, Sep 8, 2012 at 5:20 PM, Anthony wrote: > Maybe have a look at > http://web2py.com/books/default/chapter/29/04#Cooperation and > http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service > . > > Anthony > > On Saturday, September 8, 2012 5:19:03 PM UTC-4, luckysmack wrote: >> >> Ok will do. But im still curious though if web2py as a whole would fit my >> idea? In web2py I you have applications, one for each app.If I had this >> core as one app, and the others build on it (they wouldnt just use the api, >> the api would be part of the app). So it seems like I would need to >> duplicate that part into each app the way web2py seems to be built. I could >> be wrong on this, as an example, this rest api code would be its own git >> repo, and the others would be separate ones. I dont see how I would >> separate them in a web2py app. >> >> On Saturday, September 8, 2012 12:39:26 AM UTC-7, luckysmack wrote: >>> >>> I am somewhat new to python, and * shock * have an idea for a simple app >>> I want to build. To start the app will be relatively light weight, but if >>> it works out in my grand scheme could be far more complex.but the core will >>> be fairly simple. something an experienced python dev could probably whip >>> up in bottle in a few days. >>> >>> The core will a simply be an advanced rest based api. The other half >>> dozen or so apps will all be built of this core. The either apps will >>> likely be built as a cms like system to manage each other. And as different >>> as a POS in store program. >>> >>> So as many cool things as I thing web2py has, do you guys think its the >>> right system? I know w2p can do great APIs easily. But for that simple >>> aspect, I don't need a milti-application admin interface, or a code editor, >>> and I may not even use DAL. (For my project I may actually use something >>> like neo4j/orientdb/titan. Not sure yet. Might use mongodb as instead). So >>> for that simple part, all the other stuff seems a little bloated to me. >>> Stuff that I won't need. >>> >>> Sure as a whole, all the apps will be built into somewhat of a cms >>> (which I would like to build anyways), for that I'm not sure I would need >>> the web2py admin part. As a cms I would probably have my own interface, >>> even for the admins. How or would web2py admin ui fit in. I know you guys >>> are biased towards web2py, but does it sound like it would be a right fit? >>> Or would it be too complex? In comparison, I feel django is too bloated as >>> well since I would be doing a similar thing, except it would be done quite >>> a bit differently. The core of how it works doesn't seem to fit my ideas. >>> >>> If I don't use web2py, the next best things I see as a starting point >>> are pyramid, or bottle/flask or even wheezy looks pretty cool. >>> >>> What do you guys think? The core great api would be the crux of the >>> other apps. This core is what talks to the db. And each if the apps with >>> build on it. The rest part will be made so they can all communicate with >>> each other based on the URL. >>> >>> The either individual apps, were they to be on their own, I can totally >>> see as a web2py app. So I'm curious how this idea as a whole, would fit >>> into web2py. If it can. Since there are a handful of web2py featured I >>> won't even use. I don't need them to be auto imported if I'm not using them >>> (since I can't see what's being imported). So in a way it feels like bloat. >>> A reason I don't like django. >>> >>> What do you guys think? Any input is greatly appreciated. >>> >> -- > > > > -- -- Shawn McElroy "Anything worth doing, is worth doing right" — Hunter S. Thompson "A mind troubled by doubt cannot focus on the course to victory" — A<http://www.goodreads.com/author/quotes/5237.Hunter_S_Thompson>rthur Golden --
Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?
Well its starting to seem like a good fit. But yes I won't be using DAL, since I'll be using orientdb. I know I lose something with that decision, but its what I need. I'm also curious how people are using it here as well with web2py. On Sep 11, 2012 1:46 AM, "pbreit" wrote: > It sounds like you know enough about these things to figure out if Web2py > is too bloated for you. My sense is that even if you think it might be > bloated, the extraneous stuff really doesn't get in the way too much. Not > using DAL means you are missing out on one of the core features. Building a > REST API should be fine either using what Web2py gives you out of the bos > or rolling your own. You can either build multiple Web2py apps or build > some web2py apps and some other apps. DAL doesn't really support NoSQL much > at this point so you're on your own there. I've used Web2py to build a POS > system and it works great. > > > > On Saturday, September 8, 2012 12:39:26 AM UTC-7, luckysmack wrote: >> >> I am somewhat new to python, and * shock * have an idea for a simple app >> I want to build. To start the app will be relatively light weight, but if >> it works out in my grand scheme could be far more complex.but the core will >> be fairly simple. something an experienced python dev could probably whip >> up in bottle in a few days. >> >> The core will a simply be an advanced rest based api. The other half >> dozen or so apps will all be built of this core. The either apps will >> likely be built as a cms like system to manage each other. And as different >> as a POS in store program. >> >> So as many cool things as I thing web2py has, do you guys think its the >> right system? I know w2p can do great APIs easily. But for that simple >> aspect, I don't need a milti-application admin interface, or a code editor, >> and I may not even use DAL. (For my project I may actually use something >> like neo4j/orientdb/titan. Not sure yet. Might use mongodb as instead). So >> for that simple part, all the other stuff seems a little bloated to me. >> Stuff that I won't need. >> >> Sure as a whole, all the apps will be built into somewhat of a cms (which >> I would like to build anyways), for that I'm not sure I would need the >> web2py admin part. As a cms I would probably have my own interface, even >> for the admins. How or would web2py admin ui fit in. I know you guys are >> biased towards web2py, but does it sound like it would be a right fit? Or >> would it be too complex? In comparison, I feel django is too bloated as >> well since I would be doing a similar thing, except it would be done quite >> a bit differently. The core of how it works doesn't seem to fit my ideas. >> >> If I don't use web2py, the next best things I see as a starting point are >> pyramid, or bottle/flask or even wheezy looks pretty cool. >> >> What do you guys think? The core great api would be the crux of the other >> apps. This core is what talks to the db. And each if the apps with build on >> it. The rest part will be made so they can all communicate with each other >> based on the URL. >> >> The either individual apps, were they to be on their own, I can totally >> see as a web2py app. So I'm curious how this idea as a whole, would fit >> into web2py. If it can. Since there are a handful of web2py featured I >> won't even use. I don't need them to be auto imported if I'm not using them >> (since I can't see what's being imported). So in a way it feels like bloat. >> A reason I don't like django. >> >> What do you guys think? Any input is greatly appreciated. >> > -- > > > > --
Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?
>> are pyramid, or bottle/flask or even wheezy looks pretty cool. >>>> >>>> What do you guys think? The core great api would be the crux of the >>>> other apps. This core is what talks to the db. And each if the apps with >>>> build on it. The rest part will be made so they can all communicate with >>>> each other based on the URL. >>>> >>>> The either individual apps, were they to be on their own, I can totally >>>> see as a web2py app. So I'm curious how this idea as a whole, would fit >>>> into web2py. If it can. Since there are a handful of web2py featured I >>>> won't even use. I don't need them to be auto imported if I'm not using them >>>> (since I can't see what's being imported). So in a way it feels like bloat. >>>> A reason I don't like django. >>>> >>>> What do you guys think? Any input is greatly appreciated. >>>> >>> -- >>> >>> >>> >>> >> -- > > > > -- -- Shawn McElroy "Anything worth doing, is worth doing right" — Hunter S. Thompson "A mind troubled by doubt cannot focus on the course to victory" — A<http://www.goodreads.com/author/quotes/5237.Hunter_S_Thompson>rthur Golden --
Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?
yes that is true as well. but to me at least, using the gremlin syntax seems a lot more intuitive for crud operations on a graph. On Tue, Sep 11, 2012 at 11:13 AM, Andrew W wrote: > With its SQL http://code.google.com/p/orient/wiki/GraphDatabase#SQL it > sounds like a candidate for a straight dal database adapter. > A graph database sounds interesting.. > > -- > > > > -- -- Shawn McElroy "Anything worth doing, is worth doing right" — Hunter S. Thompson "A mind troubled by doubt cannot focus on the course to victory" — A<http://www.goodreads.com/author/quotes/5237.Hunter_S_Thompson>rthur Golden --
[web2py] Web2Py support on roadmap for pycharm 3
Just wanted to share, it looks like Web2Py is finally on the pycharm 3 roadmap. Article was posted today: http://confluence.jetbrains.com/display/PYH/PyCharm+3.0+Roadmap http://blog.jetbrains.com/pycharm/2013/03/check-out-the-pycharm-3-0-roadmap/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Pycharm+%28JetBrains+PyCharm+Blog%29 This is awesome i think for the web2py community. I think this will help people get into it as well. heres to them getting it implemented *cheers* -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] Re: web3py?
It has been quite some time since the topic was updated. So I was curious to the status of web3py. I know it's not done and I'm not asking for a release date. I am just wondering what is going on currently. On Wednesday, December 26, 2012 5:14:16 AM UTC-8, Alec Taylor wrote: > > +1 to WebRTC example app > > On Wed, Dec 26, 2012 at 11:41 PM, Vinicius Assef > > > wrote: > > No, this isn't. They use node.js on the server side: > http://www.easyrtc.com/ > > > > > > On Sat, Dec 22, 2012 at 3:39 PM, Massimo Di Pierro > > > wrote: > >> Very interesting. Looks like it completely client-side so it should > work > >> without problems with web2py. > >> > >> Massimo > >> > >> > >> On Saturday, 22 December 2012 11:35:33 UTC-6, webpypy wrote: > >>> > >>> Hi Massimo, > >>> > >>> Can webRTC be touched by web2py, (as a feature or as an example) , or > by > >>> web3py ? > >>> > >>> here is an example, > >>> http://www.youtube.com/watch?v=ZIIcEac24RU > >>> > >>> and its documentation, > >>> > >>> > https://github.com/priologic/easyrtc/blob/master/docs/easyrtc_client_tutorial.md > > >>> > >>> Regards, > >>> > >>> Ashraf > >> > >> > >> -- > >> > >> > >> > > > > -- > > > > > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [web2py] web2py and python3
I am curious how much interest has been garnered for python 3 support. I have read about people askign about it for quite some time. And have seen that it may very well be a different project all together (web3py ?). Python 3 seems to really have picked up a lot more in the last couple years. even the last 6 months. Well, at least to me it seems. I am starting something new and would love to use python 3 and web2py looks great. So I am not sure yet. I almost feel like I would rather use django or pyramid that has python 3 support. On Thursday, March 27, 2014 7:06:05 PM UTC-7, Massimo Di Pierro wrote: > > and it never will - by definition. we''l build something that works with > python3 eventually. > > > On Thursday, 27 March 2014 11:06:08 UTC-5, viniciusban wrote: >> >> Web2py doesn't work with Python 3 yet. >> >> On Thu, Mar 27, 2014 at 8:01 AM, Maurice Waka >> > >> wrote: >> > >> > Does web2py function with python 3.3 or python 3.4? I have installed >> web2py >> > but it cannot run with the python3.4 that I use. I get an error after >> trying >> > to run the 'web2py.exe - S welcome' that says, syntax error >> > >> > -- >> > Resources: >> > - http://web2py.com >> > - http://web2py.com/book (Documentation) >> > - http://github.com/web2py/web2py (Source code) >> > - https://code.google.com/p/web2py/issues/list (Report Issues) >> > --- >> > You received this message because you are subscribed to the Google >> Groups >> > "web2py-users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to web2py+un...@googlegroups.com . >> > For more options, visit https://groups.google.com/d/optout. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.