Thanks for testing, Dave, I'm happy to hear that it's working fine!
I think that the Welcome app with latest web2py versions don't look so fine
in Windows and python 3, but I cannot see any difference from running it
from sources. Let me know if I'm wrong or there are anything else.
Nico
Il gior
SQLFORM.smartgrid selectable return string if only one checkbox was
slected and returns a list if 2 or more was selected.
This inconsitancy force me to check for type before processing can continue
For example, If I have a button that update selected records in the
database call a function that
As almost everything in our world ORMs has advantages and disadvantages.
The main criticism about ORMs is that they are leaky abstractions, that
means they leaks details that it is supposed to abstract away, because
there are times when you just need to use, for example, SQL directly or
work wi
I think one of the reasons web2py is so productive and has an easy learn
curve is due to the fact of using DAL instead of an ORM.
I don't see any problem in using sqlalchemy with web2py if an ORM is
needed. I would probably use it in some big projects for some of the
models.
But for the sake of t
It should be request.vars.records, not request.vars.id.
Note, request.vars is processed by the core framework, not by
SQLFORM.smartgrid, so it will be a single value if the browser sends only
one "records" field in the form data and a list otherwise. The core code
that populates request.vars ha
On Friday, April 19, 2019 at 10:54:11 AM UTC-4, Carlos Cesar Caballero
wrote:
>
> As almost everything in our world ORMs has advantages and disadvantages.
> The main criticism about ORMs is that they are leaky abstractions, that
> means they leaks details that it is supposed to abstract away, be
On Thursday, April 18, 2019 at 6:48:09 PM UTC-4, Carlos Cesar Caballero
wrote:
>
> Hi Massimo, here is it: https://github.com/cccaballero/pydal-orm. I
> think including something like this with pydal will be a really good
> improvement.
>
My only concern is whether the benefits are worth having
Yes, but that's not about the number of code lines, that's about the
code organization and readability.
Greetings.
El 19/4/19 a las 4:17 p.m., Anthony escribió:
In the case of the weppy ORM in particular, though, I think it really
is just alternative syntax for everything that can already be d
Well, that's a really fair concern, I was just mentioning, because I
like ORMs and other popular projects like SQLAlchemy includes a DAL
(they call it SQL abstraction toolkit) and an ORM on top of it, and if
you look at popular web development full stack frameworks, almost all of
them are relay
9 matches
Mail list logo