Live data from Hacker News

Discover Flask

discoverflask.com

1–10 of 78 posts

Re: Discover Flask

#4
I don't know anything of flask or python really. Is Flask in python 2 or 3? Do I go learn python 2.7 right now or Python 3? Is stuff broken the the eco system. Does it make sense moving over from JavaScript for easier backend CRUD'ish app's? Thanks HN.

Re: Discover Flask

#5
post #4

I don't know anything of flask or python really. Is Flask in python 2 or 3? Do I go learn python 2.7 right now or Python 3? Is stuff broken the the eco system. Does it make sense moving over from JavaScript for easier backend CRUD'ish app's? Thanks HN.

You can use Flask with either Python 2 or Python 3. I personally use Python 3 for everything, so I can't comment on packages that don't work in Python 2.

Re: Discover Flask

#6

I've been very happy with Bottle. http://bottlepy.org Pretty similar, but lighter.

Glad to see Bottle is still alive. I contributed to it a tiny bit a few years back, and it was definitely a fun too. I ended up moving to Flask because the larger community and wider set of plugins and tutorials.

Re: Discover Flask

#7
If the owner of the repo drops by, I'd just like to say thank you for pulling all this together. Side note, I'm definitely more of a fan of the blog post tutorials like with the first 2. It's nice to be able to easily skim through for what you need, the documentation is also nice and condensed like cliff notes of the actual documentation. I also like how it's accompanied by the videos too though, so if you're looking for a little more detail you can go check out the video really quick to see what other side comments or pointers are made in the vid. Yes one can just look at the documentation, especially with how great the Flask documentation is, but sometimes it's just easier to check it these tutorial styled helpers since they have certain objectives and extra commentary.

Re: Discover Flask

#8
post #5
post #4

I don't know anything of flask or python really. Is Flask in python 2 or 3? Do I go learn python 2.7 right now or Python 3? Is stuff broken the the eco system. Does it make sense moving over from JavaScript for easier backend CRUD'ish app's? Thanks HN.

You can use Flask with either Python 2 or Python 3. I personally use Python 3 for everything, so I can't comment on packages that don't work in Python 2.

Any experience with meteor vs flask and if its worth going through one or the other these days. Flask seems better hooked up to Postgres than meteor and having weird stuff with mongo but I'm still new to backend.

Re: Discover Flask

#9
I found it very strange that the domain (discoverflask.com) is just a redirection to the Github repository.

Anyway, great content for Flask beginner. It's a wonderful framework for anybody wanting to write clean APIs and it's this kind of content that makes the community awesome.

Re: Discover Flask

#10
post #4

I don't know anything of flask or python really. Is Flask in python 2 or 3? Do I go learn python 2.7 right now or Python 3? Is stuff broken the the eco system. Does it make sense moving over from JavaScript for easier backend CRUD'ish app's? Thanks HN.

Python 2.7 will be around for a while due to legacy code, but it's only a matter of time before Python 3.x is more widely used. Don't invest time learning skills that will only dwindle in value.

Some stuff is broken in the ecosystem. That's true of all ecosystems. If you're coming from the JS world it's far, far better. But if you are importing every 0.x versioned library that vaguely solves a problem close to your problem, no ecosystem will save you.

Python is a solid choice of language for the back ends of web applications.

Post reply on HN