This way of define models have some increase? ( as Django and as SqlAlchemy)

33 views
Skip to first unread message

Marlysson Silva

unread,
Nov 30, 2016, 7:45:55 AM11/30/16
to web...@googlegroups.com
References

Django Like:

SQLAlchemyLike
http://web2py.com/AlterEgo/default/download/document.file.f87605ed-edb6-4c18-810d-73f2f1926865.py

#update: fixing link sqlalchemy

Leonel Câmara

unread,
Nov 30, 2016, 7:54:34 AM11/30/16
to web2py-users
The Django if you like ORMs, I personally hate them, one of the main reasons I picked web2py was precisely because it didn't have one. I much prefer the simpler abstraction provided by the DAL. I find that blackboxes are an illusion so I don't like complicated abstractions that always end up leaking way more than they should.

The sqlalchemy one is OK but I don't see the advantage, if you are going that route you may just as well simply use SQLAlchemy instead of using pyDAL. Why would you put a layer just to make one look like the other? I would find it more useful to make a 2 way model translator so one could automatically translate model files.

Reply all
Reply to author
Forward
0 new messages