Re:Cross framework web development: bottle, flask, pyramid, ...
by maqr on Wednesday March 14, 2012 @10:41AM
(#3703368)
> The rest of the web2py framework is excellent, and support is very good.
Which parts? IMO, the web2py framework is not excellent.
It sounds like you hit some limitations with the DAL and switched away, but those type of limitations are peppered throughout the framework.
Web2py is not well designed, not standard python (look at the source), and it tricks newbies into bad practices.
Re:Cross framework web development: bottle, flask, pyramid, ...
by AnthonyB3 on Wednesday March 14, 2012 @12:26PM
(#3703877)
Sounds like FUD. Care to share some examples? Note, in most cases, the DAL has fewer, not more limitations than a typical ORM. web2py does use standard Python. What bad practices? Have you seen this: http://www.infoworld.com/slideshow/24605/infoworlds-2012-tec...?
Re:Cross framework web development: bottle, flask, pyramid, ...
by AnthonyB3 on Sunday March 18, 2012 @10:29PM
(#3721935)
> try modeling a school, for example, with the relationships between teachers, students, parents, and classes.
The DAL can be used to model any set of tables and relationships that can be created in an RDBMS, so it's not clear what the problem would be modeling the relationships among these entities. Should be fairly straightforward.
Re:Cross framework web development: bottle, flask, pyramid, ...
by AnthonyB3 on Wednesday March 14, 2012 @12:28PM
(#3703885)
It would be interesting to see how you tried it in the DAL and the alternative that you found easier in SQLAlchemy. Can you show an example?
Re:Cross framework web development: bottle, flask, pyramid, ...
by jnbiche on Wednesday March 14, 2012 @01:48PM
(#3704351)
Thanks for asking politely (I mean that truly). I'm on deadline now but I'll post back here in a day or two with the problems I ran into.
The rest of the web2py framework is excellent, and support is very good. I wish Massimo had spent some of the time he spent adapting web2py to other frameworks on adapting web2py to SQLAlchemy instead. I'd be back in a second.