Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread joseph simpson
Yes, please ... Looking forward to this combination .. On Mon, Nov 27, 2017 at 10:44 PM, José Luis Redrejo wrote: > I have begun to work on an easy setup, integrated with the way web2py > works. I have little free time to work on it, so it's not finished yet, but > I hope to have it ready soon.

Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread José Luis Redrejo
I have begun to work on an easy setup, integrated with the way web2py works. I have little free time to work on it, so it's not finished yet, but I hope to have it ready soon. It's based on manual implementations I have done in production applications, but done in a more general and easy to use way

Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread Massimo Di Pierro
I agree. I wish there was a way (and may be there is but I do not know) to to what webpack does from inside the browser of the developer so that the developer does not have to install node. If that were possible we could distribute vue components with web2py and not worry about users installing

[web2py] Re: scale web2py horizontally (nginx + uwsgi + postgresql)

2017-11-27 Thread Massimo Di Pierro
What information do you need in particular? Just make sure you use sticky sessions or sessions in db or sessions in cookies or no sessions and it scales horizontally like any other framework. Bottleneck is the db. On Monday, 27 November 2017 07:20:58 UTC-6, Áureo Dias Neto wrote: > > I have a se

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread Pierre
it's better to leave aggregate values (sum,avg etc) outside the marks table as every record should reflect an atomic information ( a mark). When you need to aggregate the atoms do it in a controlller-function and pass results to a view for display -- Resources: - http://web2py.com - http:/

Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread Richard Vézina
Anvil seems pretty nice... But 49$/month is quite expensive... It professionnal tool and not open source I guess... I am not in the bangwagon of the UI drag and drop kind of thing as such kind of product (which work well in the begining) often ends up difficult to make working as simply in the long

[web2py] PluginManager is not instantiated in the default scaffolding app

2017-11-27 Thread Yoel Benitez Fonseca
h! This is web2py 2.16.1, in the book: http://web2py.com/books/default/chapter/29/12/components-and-plugins#Plugin-manager Says: The plugins object is already instantiated in the default scaffolding app in "models/db.py" But creating an app from the admin the PluginManager object is no where t

Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread JorgeH
I second this, On Monday, November 27, 2017 at 3:13:27 PM UTC-5, José L. wrote: > > Massimo, I am sure most of the people in this group agree with you, having > the same preference. Coming from the python world we feel more comfortable > using that kind of js interaction. > I am one of them, and

Re: [web2py] Web2Py + VueJS SPA (Webpack)

2017-11-27 Thread José Luis Redrejo
Massimo, I am sure most of the people in this group agree with you, having the same preference. Coming from the python world we feel more comfortable using that kind of js interaction. I am one of them, and I chose web2py for my personal work some years ago because of its simplicity against other

[web2py] Re: Do Calculations with Plaintext Password

2017-11-27 Thread Philipp
Thank you for your answers, it works. The overall security won't be harmed. We're only storing statistical data for research purposes. Am Sonntag, 26. November 2017 17:01:05 UTC+1 schrieb Anthony: > > Also, whatever computations you are doing with the password, make sure you > don't end up sto

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread mostwanted
On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote: > > here: > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len > > and don't be too severe with your students... > I am having an issue, in the process of calculating th

[web2py] Re: new version

2017-11-27 Thread Leonel Câmara
The error in the console was web2py admin trying to check if there was a new version and could not resolve web2py.com. It's a DNS failure, it could have happened for a number of reasons, you being offline for instance (I noticed that your wireless signal seems horribly weak). The other is a CSS

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread mostwanted
hahahaha they get what they deserve, *garbage in garbage out*, thanks. On Monday, November 27, 2017 at 4:41:20 PM UTC+2, Pierre wrote: > > here: > > http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len > > > and don't be too severe with your stud

Re: [web2py] Double registration form (one in controller, two in view)

2017-11-27 Thread Fabio Ceccarani
Thanks Richard, your information sooner or later will be usefull again! Fabio Il giorno lunedì 27 novembre 2017 15:45:19 UTC+1, Richard ha scritto: > > That can works too, but with more click... > > Good luck. > > Richard > > On Mon, Nov 27, 2017 at 9:35 AM, Fabio Ceccarani > wrote: > >> I went

Re: [web2py] Double registration form (one in controller, two in view)

2017-11-27 Thread Richard Vézina
That can works too, but with more click... Good luck. Richard On Mon, Nov 27, 2017 at 9:35 AM, Fabio Ceccarani wrote: > I went around the problem: I created a page with two buttom (one for > profile) that link two differents pages. Any page has its own form and its > own controller part that w

Re: [web2py] Double registration form (one in controller, two in view)

2017-11-27 Thread Richard Vézina
Hello Fabio, I understand what you mean... I will try to be clearer as I give you all the keys already. But I am not sure if both form are included into the same page or not... But even then there surely a way to pass vars in your URL. If both are include in the same page you can't set both 1 and

[web2py] Re: How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread Pierre
here: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#sum--avg--min--max-and-len and don't be too severe with your students... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:/

Re: [web2py] Double registration form (one in controller, two in view)

2017-11-27 Thread Fabio Ceccarani
I went around the problem: I created a page with two buttom (one for profile) that link two differents pages. Any page has its own form and its own controller part that write profile_type field "1" or "2". Thanks anyway! Fabio Il giorno lunedì 27 novembre 2017 12:02:08 UTC+1, Fabio Ceccarani

[web2py] scale web2py horizontally (nginx + uwsgi + postgresql)

2017-11-27 Thread Áureo Dias Neto
I have a server with 8GB of RAM, running postgresql + nginx + uwsgi in CentOS environment, I would like reviews on scalability -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] Double registration form (one in controller, two in view)

2017-11-27 Thread Fabio Ceccarani
Hi Richard and thanks for answer. The real problem is how controller can know wich profile I choose in view. I want to hide profile_type field in form because I have TWO forms in view: one for register as PERSONAL profile, and one for register ad ORGANIZATION profile. But in view I have {{=for

[web2py] How can i use incremental addition to add altogether the values using computing fields method

2017-11-27 Thread mostwanted
I am trying to add up values in my DB, in the averages column to end up with a summed up value of total averages, i chose the computing fields methods but i'm not familiar with it, i am not getting the values i need, i keep getting null in my DB. db.define_table('marks', Field