Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryan_sb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
ryan_sb
11y ago
Tbh, the order in that list wasn't meant to be sorted by difficulty, but I can go back and swap that around.
32.
▲
by
ryan_sb
12y ago
I don't know how I've missed out on contextlib all this time. I'll update that section.
33.
▲
by
ryan_sb
12y ago
Totally true, I'll add that in
34.
▲
by
ryan_sb
12y ago
Thanks for correcting me, I'll get those updated ASAP.
35.
▲
Python Tips and Traps
(airpair.com)
201 points
by
ryan_sb
12y ago
|
45 comments
36.
▲
by
ryan_sb
12y ago
Even for advanced queries (ok, not super advanced) SQLAlchemy can hold its own, especially if you're willing to dip into the sqlalchemy.core modules.
37.
▲
by
ryan_sb
12y ago
Even for building a mobile backend, having a framework can help. Tools like Cornice (Pyramid), Django REST framework, and Flask-REST can make building API's much easier.
38.
▲
by
ryan_sb
12y ago
> Pick what your team can be most productive with Absolutely. If you already know one and like it, go forth and hack. If you're not sure, or don't like the one you have, there are tons of great options. Not just Flask/Djan
39.
▲
by
ryan_sb
12y ago
For some things ORM's get in the way, but avoiding them by your own data layer sounds like a pretty big time-suck. Being able to write a single line of SQLAlchemy to build relationships into your models seems way simpler than implement
40.
▲
by
ryan_sb
12y ago
It's not targeted specifically for hackathons, but cookiecutter-flask[1] is a skeleton project for the cookiecutter[2] project creator. [1]: https://github.com/sloria/cookiecutter-flask [2]: https://git
41.
▲
by
ryan_sb
12y ago
FWIW it's 4th the list of frameworks in the article, Flask/Django/Pyramid being the top 3.
42.
▲
by
ryan_sb
12y ago
Yeah, paster is awesome, esp since there's so many great skeletons on PyPi already.
43.
▲
Choosing a Web Framework: Django, Flask, or Pyramid
(airpair.com)
81 points
by
ryan_sb
12y ago
|
63 comments