[web2py] What’s the timelines for py4web?

2019-12-15 Thread VP
Is there timeline milestones? Thanks. -- 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

[web2py] Re: web3py -> py4web

2019-08-15 Thread VP
py4web is a great name. Just on the first page of documentation, but I like what I am reading a lot. On Wednesday, July 24, 2019 at 12:40:27 AM UTC-5, Massimo Di Pierro wrote: > > OK. I know. I am not good with names. > But there are lots of requirements to be fulfilled. > py4web.com was

[web2py] hello and a question about deployment

2018-12-03 Thread VP
Hello Web2py users/developers, I haven't used Web2py for a while, but I'm contemplating to use it for the next project (with Python 3). What deployment setup would you recommend? I'm looking for a simple Linux-based solution that is easy to set up, reliable, hopefully maintenance-free.

[web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-14 Thread VP
Thanks Massimo for another great version of Web2py. I wonder if much of this can be handled automatically by web2py, instead of asking users to manually copy files. (It seems easy enough for web2py to look at the application folder and copy files automatically). The thing is web2py can be

[web2py] Re: bootstrap 3

2013-07-31 Thread VP
not quite compatible with web2py yet. Navbar are all messed up. Possibly other things as well. -- --- 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] packing apps as desktop native apps (windows/os x)

2013-07-31 Thread VP
I know there're some recipes in the book in deploying your applications as windows binaries (how about Mac???) But I think it'd be nice to have a feature in admin where one click can deploy your application as a native app. I think this will make web2py even more interesting. -- --- You

[web2py] Re: packing apps as desktop native apps (windows/os x)

2013-07-31 Thread VP
optionally init as the appname and zip it all ? On Wednesday, July 31, 2013 7:15:46 PM UTC+2, VP wrote: I know there're some recipes in the book in deploying your applications as windows binaries (how about Mac???) But I think it'd be nice to have a feature in admin where one click can deploy

[web2py] Re: bootstrap 3

2013-07-29 Thread VP
Can I simply swap with web2py's bootstrap files , expecting no technical glitches? On Monday, July 29, 2013 9:01:47 AM UTC-5, Niphlod wrote: just to inform everybody that 3.0 is coming out http://twitter.github.io/bootstrap/ -- --- You received this message because you are subscribed to

[web2py] discovered something cool in web2py DAL

2013-07-24 Thread VP
Maybe this was obvious, but I never thought I could do this kind of queries in DAL. Okay, let's say I have 2 tables: Tags = db.define_table('tag', Field('name')) Post = db.define_table('post', Field('title'), Field('tag', 'reference tag')) Now, doing a join is easy using the query

[web2py] better calendar.js?

2013-07-11 Thread VP
The current calendar.js is fine for date picker, but for datetime picker it is not so good; select a specific time is a headache. It seems this one is superior: http://tarruda.github.io/bootstrap-datetimepicker/ I wanted to swap out but that doesn't seem to be easy. Any idea? Thanks, VP

[web2py] Re: better calendar.js?

2013-07-11 Thread VP
for jQuery) and CSS and supports both date and datetime. Does the calendar you propose meet these specs? On Thursday, 11 July 2013 11:51:34 UTC-5, VP wrote: The current calendar.js is fine for date picker, but for datetime picker it is not so good; select a specific time is a headache. It seems

[web2py] IS_IN_SET(multiple=True) does not get displayed properly in UDPATE forms

2013-07-11 Thread VP
I have a field that is similar to this: Field('fav', requires=IS_IN_SET(['red','green','blue')], multiple=True)) Let's say I have an entry with this field selected with multiple values. On an update form, the existing values should have been selected. But they are not selected. I think

[web2py] Re: IS_IN_SET(multiple=True) does not get displayed properly in UDPATE forms

2013-07-11 Thread VP
After search I found the solution to this. The type of the field should be list:string. Thanks. On Thursday, July 11, 2013 1:18:18 PM UTC-5, VP wrote: I have a field that is similar to this: Field('fav', requires=IS_IN_SET(['red','green','blue')], multiple=True)) Let's say I have

[web2py] Re: boolean DAL field giving error under 2.5.1

2013-06-23 Thread VP
It's hard to keep up with web2py new features. What is exactly, update=False? Thanks. On Saturday, June 22, 2013 3:33:28 PM UTC-5, Anthony wrote: Does this work: Field('report_motion', 'boolean', default=False, update=False), Anthony On Saturday, June 22, 2013 4:16:22 PM UTC-4,

[web2py] Re: Purpose of creating group for each user?

2013-02-01 Thread VP
I think the current web2py access control mechanism is unnecessarily complicated. It is both role based and task based. But this difference here is just semantics (i.e. you can define a group that can do a certain task). The only actually difference is in terms of implementation, not

[web2py] Re: raspberry pi

2013-01-10 Thread VP
Which OS runs on Raspberry Pi? Is there instructions to install Linux, for example, somewhere? Thanks. --

[web2py] problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
My set up is nginx, uwsgi, web2py, and I am trying unsucessfully to configure so that there are multiple uwsgi processes serving web2py. I used the script to install nginx, uwsgi. I configured 8 processes. $cat /etc/uwsgi/apps-enabled/web2py.xml uwsgi pluginpython/plugin

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
I also test uwsgi serving a Bottle app. I run from the command line, uwsgi, the bottle app with 8 processes. This works as I expect. Requests are served by unbusy processes while long-running requests are still being run. So something about the web2py configuration that doesn't tell uwsgi

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
UTC-3, VP escribió: I also test uwsgi serving a Bottle app. I run from the command line, uwsgi, the bottle app with 8 processes. Is that the file created by the script?. uwsgi can take options in different ways. Make sure it is actually reading the options from there. For example

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
Those who are running nginx, uwsgi, web2py, can you do a quick check to see if uwsgi reads your web2py config file properly? The default config has 4 processes. If you do a top -u www-data, you should see 5 uwsgi processes (4 + 1 master). If you see a different number (may be 3?), then there

Re: [web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
Thanks Bruno. Okay, I figured it out. I'm not sure if I used an out-of-date web2py/uwsgi/ngninx install script, but that script does not mention another file /usr/share/uwsgi/conf/default.ini This file sets the number of workers to 2 and it overwrites the web2py configuration file

Re: [web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
yeah. I commented off the worker=2 setting in that file. Consequently, the number of workers was exactly what the web2py configure file says. On Tuesday, January 8, 2013 7:36:01 PM UTC-6, rochacbruno wrote: and youi delete or comment that file? --

[web2py] Re: Can web2py be used for highly complex relational databases?

2012-12-28 Thread VP
What is the level of dependency of this application? I bet you can factor this project into dozens of different apps, which communicates with each others through APIs if needed. It's hard to think of an app with 10,000 tables all interdependent. --

Re: [web2py] Re: session.flash not working?

2012-12-28 Thread VP
? Is the flash in the page text? On Thursday, 27 December 2012 17:55:46 UTC-6, VP wrote: session.flash does not work properly for me either (latest web2py stable version). when i redirect to the same controller , it works for some controller and doesn't work for other controllers. Have

Re: [web2py] Re: session.flash not working?

2012-12-27 Thread VP
session.flash does not work properly for me either (latest web2py stable version). when i redirect to the same controller , it works for some controller and doesn't work for other controllers. Have no idea why. --

[web2py] Re: Database borked??

2012-12-14 Thread VP
In the a common mistake in migrations or simply moving things around is moving the database but not the metadata itself. I am wondering if it is better to keep the metadata (.tables files) IN the database itself instead of on the filesystem? On Wednesday, December 12, 2012 9:41:22 PM UTC-6,

Re: [web2py] Re: online users in web2py

2012-12-12 Thread VP
Does auth_event keep track of auto-logout events? If so, you can find out who have not been logged out for the past X minutes. If you relate X to the logout time windows (I think default is 30 minutes), you should be able to do it. --

[web2py] Re: unit of work support in DAL

2012-12-09 Thread VP
I don't quite understand how this works. That's why I am asking a question if webp2y supports this so-called feature called Unit of Work, something that SQLAlchemy supports. It is possible that this concept does not apply to web2py DAL. I don't know. I have a feeling you are defensive

[web2py] unit of work support in DAL

2012-12-08 Thread VP
I am wondering if web2py DAL supports the notion of a unit of work so as to optimize the number of queries done per transaction? Thanks. --

[web2py] Re: unit of work support in DAL

2012-12-08 Thread VP
Of course if you do product.update_record(description = 'product description') product.update_record(stock = 11) product.update_record(code = 'abcfed') queries will be 3, but your code is the one to blame. How do you imagine a unit of work pattern/algo in a DAL ? It is conceivable that

[web2py] Re: Web2py is Out Pycon 2013.

2012-12-06 Thread VP
Massimo said his proposed talk was rejected. I am curious as to what the title of that talk is or what it is supposed to be about. --

[web2py] Re: Web2py is Out Pycon 2013.

2012-12-06 Thread VP
On Thursday, December 6, 2012 11:05:52 AM UTC-6, Massimo Di Pierro wrote: Hello VP, I proposed two talks. i do not remember the exact tiles: - one was about new web2py features: wiki, scheduler, components This sounds like an update on web2py. Playing the devil's advocate, one can

Re: [web2py] Re: web3py?

2012-11-28 Thread VP
I have already put in my few cents in that thread. The only thing I want to say here is that I hope web3py will be out soon. I think web2py has started to show its age a little bit. :) --

[web2py] can go back after selecting mobile interface in admin app

2012-11-28 Thread VP
I inadvertently selected the mobile interface in the admin app. Now I can't go back to the web interface. Can anyone help? Thanks. --

[web2py] Re: Placing the database of a web2py app on the cloud

2012-11-13 Thread VP
Thanks guy. --

[web2py] Placing the database of a web2py app on the cloud

2012-11-12 Thread VP
? Any help is appreciated. Thanks, VP --

[web2py] Re: Placing the database of a web2py app on the cloud

2012-11-12 Thread VP
If I put the database on Rackspace's Cloud Database, for example, how do I configure the web2py app to make the connection? Thanks, VP --

[web2py] menu flickering with safari

2012-11-06 Thread VP
to do with bootstrap css/js incompatibilities with Safari. But since this is web2py's default behavior, does anyone have this problem and fixes? Thanks, VP --

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
I think cookie-based sessions is great for many cases. But in some cases, it might not be desirable as clients can see what might be secret information. Why not both?Maybe, two types of sessions, client-side and server-side sessions. Although both client and server side sessions are

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
this implementation is like Flask. As such, they are cryptographically signed, but not encrypted. If that is the case, they might be read but not modified. On Tuesday, October 16, 2012 5:59:20 PM UTC+2, VP wrote: I think cookie-based sessions is great for many cases. But in some cases

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
advantage of moving session data to the client side is scalability. There ought to be a noticeable difference between 100 processes writing to the same filesytem and these computations moved to the client side. On Tuesday, 16 October 2012 10:59:20 UTC-5, VP wrote: I think cookie

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
, Niphlod wrote: On Tuesday, October 16, 2012 7:46:16 PM UTC+2, VP wrote: I think one advantage of moving session data to the client side is scalability. There ought to be a noticeable difference between 100 processes writing to the same filesytem and these computations moved to the client

[web2py] Re: web2py 2.1.1 is OUT!

2012-10-15 Thread VP
Great. I would really love to see list:double fields to be supported in the near future. Also, the current method of storing serialized objects in fields are kinda funky (both with json and pickle). You put in integers, doubles, etc. and you got back strings. --

[web2py] A suggestion on SQLFORM

2012-10-15 Thread VP
Let's say I have these 2 tables: product = db.define_table('product', Field('name')) order = db.define_table('order', Field('product', db.product)) Now, when you do something like this: form = SQLFORM(db.order) The product field will be a drop down list of products for you to choose. This

[web2py] Re: A suggestion on SQLFORM

2012-10-15 Thread VP
the dropdown) 2) add autocomplete: db.order.product.widget = SQLFORM.widgets.autocomplete(request, db.field.name, db.product.id) On Monday, 15 October 2012 12:28:22 UTC-5, VP wrote: Let's say I have these 2 tables: product = db.define_table('product', Field('name')) order

[web2py] fields with 0 in form.custom.inpval

2012-10-10 Thread VP
I'm using form.custom.inpval to access database fields. A bug I have found is that fields defaulted with 0 is empty. The correct value should be 0. --

[web2py] Re: Rocket server hanging

2012-10-10 Thread VP
I'm not impressed with Rocket , even as a devel-mode server. It hangs on me frequently. Run web2py with more than 1 processes seem to help. --

[web2py] weird variable name violation

2012-10-08 Thread VP
I've always had this problem with web2py. Sometime, I got a weird name violation. For example, you can't name a table order, or can't name a field item. It doesn't seem to be documented anywhere. --

[web2py] Problems with list:reference and SQLFORM

2012-10-07 Thread VP
SQLFORM represents a reference field as a multiply-selected drop-down list, this presents two problems: (1). If the referenced table has 10,000 entries, then they will be shown. It's inefficient. But it's somewhat unavoidable, given what it is. (2). The other problem is more serious. A

[web2py] Re: why can't we have list:double?

2012-09-30 Thread VP
for it. It will still be stores as string so I am not sure what you gain by it that cannot be achieved by a list:string and a IS_LIST_OF(IS_FLOAT_IN_RANGE(...)) validator. On Saturday, 29 September 2012 20:36:36 UTC-5, VP wrote: I'm wondering why we can't have list:double as a field type? It seems

[web2py] why can't we have list:double?

2012-09-29 Thread VP
I'm wondering why we can't have list:double as a field type? It seems a natural thing to have. Thanks. --

[web2py] Re: pathoc: testing web servers with pathological requests

2012-09-29 Thread VP
I'm very unimpressed with Rocket, even in development mode. On Saturday, September 29, 2012 7:51:53 PM UTC-5, Massimo Di Pierro wrote: We have patched Rocket and now the trunk version passes pathoc tests. In the process we found that rocket was processing incorrectly multi-line headers.

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
object at 0x1019bc290} print db.product[1].total 30 On Saturday, 22 September 2012 20:36:44 UTC-5, VP wrote: I figured out what I would call a bug. I'll give an example: Let's say we have this table: product = db.define_table('product', Field('cost1'), Field('cost2'), Field('total

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
The problem is still there with nightly build. On Monday, September 24, 2012 10:18:38 AM UTC-5, Massimo Di Pierro wrote: Please try the nightly build and let us know if the problem is still there. Massimo On Monday, 24 September 2012 07:49:26 UTC-5, VP wrote: As indicated in the title

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
, 'cost1': 5, 'cost2': '20', 'total': '30', 'id': 1, 'delete_record': gluon.dal.RecordDeleter object at 0x1019bc290} print db.product[1].total 30 On Saturday, 22 September 2012 20:36:44 UTC-5, VP wrote: I figured out what I would call a bug. I'll give an example: Let's say we have this table

[web2py] (2.0.9) compute fields don't work on db update

2012-09-22 Thread VP
- sqlite - 2 compute fields do not seem to get call on update using both update_record and db().update - They do work on crud/form updates though. --

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-22 Thread VP
September 2012 15:43:59 UTC-5, VP wrote: - sqlite - 2 compute fields do not seem to get call on update using both update_record and db().update - They do work on crud/form updates though. --

[web2py] Re: 2.0.6 editor

2012-09-03 Thread VP
Have you considered Codemirror? I think it is superior to the old editor used by web2py. I haven't used the latest one so I can't tell. On Monday, September 3, 2012 5:52:31 PM UTC-5, lucas wrote: hello one and all, just updated to 2.0.6 today. nice, awesome, it seems faster, is it or is

[web2py] Re: Scaling Web2py

2012-09-02 Thread VP
I think it'd be nice to have session created explicitly inside a WITH statement block so that users create sessions only when they want. But I don't know if it's feasible because I suspect sessions are created automatically and passed into the exec environment, and it appears sessions are

Re: [web2py] Use web2py to create offline desktop application

2012-09-01 Thread VP
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!

[web2py] Re: Scaling Web2py

2012-09-01 Thread VP
Web2py can be used to build fairly effortlessly either complex applications with *small* numbers of concurrent users (*small* here is relatively and objective) or simple applications with *large* numbers of concurrent users. But if you want to build complex applications with large numbers of

[web2py] Re: How to persist session data for user across browsers

2012-09-01 Thread VP
I don't think you can use session to do this. For one thing, sessions are usually have an id saved in the browser's cookie. If you switch browser, this id is lost. I think you can have a database table (using DAL) whose rows are associated with users and are expired after 24 hours. On

[web2py] pycon talk

2012-03-13 Thread VP
Massimo: can you make this url shortening app available? http://www.youtube.com/watch?v=M5IPlMe83yI thanks.

[web2py] Re: pycon talk

2012-03-13 Thread VP
documented. Thanks. On Mar 13, 6:41 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: https://github.com/mdipierro/web2py-appliances/tree/master/UrlShortening On Tuesday, 13 March 2012 17:04:09 UTC-5, VP wrote: Massimo: can you make this url shortening app available? http

[web2py] Re: pycon talk

2012-03-13 Thread VP
Also, I saw in the video the field tag of type list:string is presented nicely in view in the following way: after a new tag is entered, a new empty textbox is added so a new tag can be added. How is this done? (I don't think this is the default behavior).

[web2py] Re: pycon talk

2012-03-13 Thread VP
, 8:26 pm, Anthony abasta...@gmail.com wrote: On Tuesday, March 13, 2012 9:17:06 PM UTC-4, VP wrote: Also, I saw in the video the field tag of type list:string is presented nicely in view in the following way:   after a new tag is entered, a new empty textbox is added so a new tag can

[web2py] Re: pycon talk

2012-03-13 Thread VP
. Anthony On Tuesday, March 13, 2012 10:32:14 PM UTC-4, VP wrote: Anthony, maybe I didn't ask clearly.   Here's the model: Bookmark = db.define_table(     'bookmark',     Field('link','reference link',writable=False),     Field('category',requires=IS_IN_SET(['work','personal

[web2py] multiple, variable number of uploads

2012-03-03 Thread VP
Is there a way to do multiple uploads in web2py? For example, I have an upload field that would allows users to upload one file, or two files, or three files, etc. Is there an easy way to do this? Thanks.

[web2py] session2trash doesn't work with separate=True

2012-02-08 Thread VP
with this option: session.connect(request, response, separate=True) session2trash script crashed (it couldn't unlink directories). Can someone fix this? Thanks.

[web2py] Re: web2py performance

2012-02-07 Thread VP
Did you remove the line in layout.html that links to an external FaceBook service? Things like this take time. On Feb 7, 1:24 am, LightOfMooN vladsale...@yandex.ru wrote: Hi Just download web2py, run it and go to edit welcome app. in db.py:

[web2py] URL parsing problems (request.args)

2012-02-03 Thread VP
logic. What causes this? Thanks VP

[web2py] processing upload field.

2012-02-03 Thread VP
I have the following situation. There is a field A of type upload (image). There is another field B of type compute, which depends on A. I want to be able to process the image uploaded in field A and save it, but before the compute in field B is executed. In other words, field B will be

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Furthermore, on the server, this URL app/controller/function/13/1//5/ results in request.args to be ['13','1','5'], which is seriously wrong. The right answer of course should be ['13','1','','5']. Can someone help? Thanks. On Feb 3, 8:55 am, VP vtp2...@gmail.com wrote: We have got

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
to the appropriate app. Could this be the problem? If so, how to fix it? Thanks, VP

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Thanks. I just emailed you my routes.py. But routes.py might not be the cause, because I have just removed it (without using routes.py), the problem still existed. On Feb 3, 9:27 am, Jonathan Lundell jlund...@pobox.com wrote: On Feb 3, 2012, at 7:20 AM, VP wrote: Is it possible that you're

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Yes, I did restart and incorporated your fix. It still doesn't work. I don't think it has to do with routes.py On Feb 3, 9:52 am, Jonathan Lundell jlund...@pobox.com wrote: On Feb 3, 2012, at 7:46 AM, VP wrote: Thanks. I just emailed you my routes.py. But routes.py might not be the cause

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
My personal pc is Mac Leopard Python 2.7.2. The parsing works as expected on this pc. The server is Debian squeeze, ngnix, uwsgi, Python 2.6.6. The parsing messed up as described above. On Feb 3, 12:00 pm, Jonathan Lundell jlund...@pobox.com wrote: On Feb 3, 2012, at 9:46 AM, VP wrote

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Another thing that might help is to put =BEAUTIFY(request) into a template somewhere and compare the two when given URLs of the form you're having trouble with. This is interesting. On the server, path_info and web2py_original_uri got it wrong. If say, the url is

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
To clarify, given URL controller/function/a/b//c, on the server, path info is: controller/function/a/b/c This is wrong. The correct is shown on my pc as controller/function/a/b//c

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
For some reason my nginx does not keep log, but I think it's unlikely that nginx will remove slashes in the middle of a URL (e.g. app/con/ func/a/b//c).

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Im using nginx, but can someone with ngnix, apache, see if this is indeed the case? I am not sure which config files of nginx to look for these rewrite rules. /opt/nginx/conf/nginx.conf has not rewrite rules. On Feb 3, 1:46 pm, pbreit pbreitenb...@gmail.com wrote: empty path segments are

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
they can decide to ignore empty path segments. Both IIS and Apache work this wayhttp://davescoolblog.blogspot.com/2011/11/uri-empty-path-segments-mat... If this is true, it'll be a bummer for web2py, as its default behavior differentiates empty and non-empty path segments.

[web2py] Re: cross-platform apps

2011-11-27 Thread VP
Thanks Anthony. Is Skeletion configured by default when a new application is created or it's just in this welcome app? Thanks, VP On Nov 26, 10:35 pm, Anthony abasta...@gmail.com wrote: On the server side, request.user_agent() returns info about the user agent, and request.user_agent

[web2py] some ideas on built-in emphasis on client-side processing for web2py

2011-11-27 Thread VP
one can use Pyjamas' pyjs.js to translate the Python code to javascript or to use something like Skulpt (which will be slow) to interpret Python code directly on the browsers. VP

[web2py] cross-platform apps

2011-11-26 Thread VP
do we do this efficiently in web2py? Further, in addition to layouts, different controllers might be needed for different platforms too. How do we do this efficiently? Thanks. VP

[web2py] Re: spinejs with Web2py

2011-09-30 Thread VP
Just looking very briefly at spinejs, I think it's a bad idea to use it with web2py. Spinejs is supposed to be a framework itself, with its own models, views, etc. Where webp2y might fit in is providing server side storage. Hopefully, one day web2py's default option is to AJAX everything

[web2py] Re: Re-Launch a Better version www.beunick.com

2011-09-09 Thread VP
On Sep 8, 5:10 pm, pbreit pbreitenb...@gmail.com wrote: Looks nice. beunick is a bit of a strange name. The first thing I think of is eunuch which is not the most pleasant thought. Seriously, this is a huge problem. The owner(s) should change that name.

[web2py] Re: Speed of rendering html data (10,000+ rows)

2011-06-15 Thread VP
for i in custdata:    mystr2 = ''.join([mystr2, 'trtd' , str(i[0]) , '/td']) ... lst = [ jn(['trtd' , str(i[0]) , '/td',            'td' , str(i[1]) , '/td',            'td' , str(i[2]) , '/td',         .. more omitted..]) for i in res] mystr=jn(lst)

[web2py] Re: ORMs as anti-pattern?

2011-06-15 Thread VP
I have always felt that ORM is OO goes nuts. I have a question for Massimo. When we select a few columns, does the Web2py DAL only get those columns from the database (with appropriate queries), or does it retrieve all of them from the database and only return those selected for? Thanks.

[web2py] Re: Deploying with default web2py server?

2011-06-02 Thread VP
Nginx+uwsgi *ought to be* the deployment of choice for web2py. Materials need to be posted and updated on how to set up and tweak this configuration. This will complete the whole webp2y experience. Frankly, I have no idea why web2py should depend on Rocket, instead of using Python wsgi server

[web2py] Re: Ajax page update

2011-05-20 Thread VP
. On May 19, 10:25 am, VP vtp2...@gmail.com wrote: Is there a guide for a clean and sweet way to implement these types of polling?  Like using jquery? Thanks. On May 19, 9:05 am, Anthony abasta...@gmail.com wrote: The simplest approach would probably be ajax short polling (i.e

[web2py] Re: Ajax page update

2011-05-19 Thread VP
Is there a guide for a clean and sweet way to implement these types of polling? Like using jquery? Thanks. On May 19, 9:05 am, Anthony abasta...@gmail.com wrote: The simplest approach would probably be ajax short polling (i.e., an ajax request every n seconds). If the orders page is just an

[web2py] Re: Ajax page update

2011-05-19 Thread VP
loading the page? Thanks. On May 19, 9:25 am, VP vtp2...@gmail.com wrote: Is there a guide for a clean and sweet way to implement these types of polling?  Like using jquery? Thanks. On May 19, 9:05 am, Anthony abasta...@gmail.com wrote: The simplest approach would probably be ajax short

[web2py] Re: Mail.send failure:login() takes exactly 3 arguments (2 given)

2011-05-11 Thread VP
This message shows up in my error log too, but I haven't had time to look into it. It might have something to do with the configuration of auth in db.py in the scaffolding code created when you create a new app (through admin panel). On May 11, 8:23 am, Massimo Di Pierro

[web2py] Re: really nice interview on hackerpublicradio about web2py

2011-05-01 Thread VP
There have many many positive articles written about web2py. It's a good idea to collect them and place on the web2py.org website. On Apr 30, 11:18 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: http://hackerpublicradio.org/eps/hpr0711.mp3

[web2py] Re: SQLFORM question

2011-04-28 Thread VP
On Apr 27, 9:40 pm, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote: I tried that soluttion but I think it didn t work as expected, it still uppdated all records. I m using the newest  version web2py on linux. Kenneth Then, it is probably a bug. I don't think setting the rest of

[web2py] Re: Documentation web2py

2011-04-26 Thread VP
Yes. But I think the book might not be the appropriate place for this. I am not sure but I think it might be better to start a wiki. On Apr 26, 7:39 am, Gilson Filho cont...@gilsondev.com wrote: The web2py has been a tool that is improving and evolving over time, and who  uses itknows it.

[web2py] Re: Deploying DB

2011-04-26 Thread VP
On Apr 25, 5:09 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: this case you must run with DAL(,migrate_enabled=True, fake_migrate_enabled=True) Does DAL(,migrate_enabled=False, fake_migrate_enabled=True) work exactly the same as DAL(,migrate_enabled=True,

[web2py] Re: Trunk new importer working?

2011-04-26 Thread VP
I think the new router and MULTIUSER_MODE doesn't quite work together nicely. Specifically, when a user creates a new app (through admin interface). Sometimes, the new router does not route /app correctly. It might have thought /app to be a controller of the main app. On Apr 26, 10:18 am,

[web2py] Re: Deploying DB

2011-04-26 Thread VP
. On Apr 26, 10:55 am, Anthony abasta...@gmail.com wrote: On Tuesday, April 26, 2011 11:42:03 AM UTC-4, VP wrote: On Apr 25, 5:09 pm, Massimo Di Pierro massimo@gmail.com wrote: this case you must run with DAL(,migrate_enabled=True, fake_migrate_enabled=True) Does DAL

  1   2   3   4   >