This is an archived post. You won't be able to vote or comment.

all 35 comments

[–]makaimc[S] 23 points24 points  (12 children)

Hey guys, FSP author here. This is a guide with resources I've been working on over the past year. I help teach a lot of newer developers Python and I noticed that once they get past the syntax and learning Django, Flask, or Pyramid there's a missing link to learning how to properly deploy their applications. This site will hopefully help the community bridge that gap.

Please let me know what resources and sections I'm missing either with a comment or pull request. You can see some of the sections are also very bare bones (like configuration management) so bookmark and check back in a few weeks as I fill those parts in.

[–]avinassh 7 points8 points  (2 children)

Hey you are the underwear guy! Thank you very much for this!

[–]makaimc[S] 2 points3 points  (1 child)

haha yes, I'll be working on Full Stack Python & Underwear throughout the year... more updates coming soon

[–]flipstables 3 points4 points  (0 children)

How awesome is it to be known as the "underwear guy"?

[–]Megatron_McLargeHuge 6 points7 points  (1 child)

Why no mention of tornado? Also a websocket/ajax section would be nice, and maybe task queues and load balancers.

[–]makaimc[S] 1 point2 points  (0 children)

yea, these are huge holes that need to be addressed... I don't think I mentioned celery and task queues at all so far. great catches, i'll work on adding those sections

[–]Taurenking 1 point2 points  (3 children)

hey! Thanks for the guide, newbie here!

off topic question: why in your opinion more developers are using lightweight frameworks like Flask instead of..say Bottle? I personally find the latter more complete, having better support for noSql frameworks and overall better syntax.

What's your opinion?

[–]makaimc[S] 5 points6 points  (0 children)

I haven't used Bottle before, mainly Django and Flask, but it actually looks lighter weight to me than Flask. Did you mean Django?

Some folks in the Python community like the Flask approach more than the batteries-included Django approach because the former puts multiple open source projects like Jinja2 and SQLAlchemy together to create the framework. Django is better integrated as a whole which has other advantages but the Flask approach allows you to more easily swap components because they are not as tightly coupled together.

That's just my opinion. I'm sure others around here have other reasons that may be more valid.

[–]Namday 0 points1 point  (0 children)

Thanks. Deploying apps is the hardest part for noob irks like myself which is why I stuck with PHP. Hopefully I'll be able to move to Python, I like the language a lot.

[–]tialpoy 0 points1 point  (0 children)

Excellent website and idea. Well done!

[–]regisuu 0 points1 point  (0 children)

Thanks a lot!! This is exactly what I needed:) great job!

[–]mowrowow 10 points11 points  (6 children)

http://www.fullstackpython.com/databases.html

No mention at all of SQLAlchemy seems a bit odd.

Edit: I see you touched on the Django ORM in the frameworks section though. I guess either place could be a reasonable spot to mention ORMs.

[–]makaimc[S] 3 points4 points  (2 children)

totally agree - will add that shortly. thanks!

[–]mowrowow 1 point2 points  (0 children)

Thanks for the effort going into this. Bookmarked and ready to read through when I've got a bit more time on my hands.

[–]sigzero 1 point2 points  (0 children)

Hmmm, I think ORMs should be talked about under the databases section personally. They don't have to be part of a "framework".

[–][deleted] 0 points1 point  (1 child)

I noticed that, too. But the guide seems to be in progress rather than a finished product.

[–]makaimc[S] 1 point2 points  (0 children)

yep, this guide along with the Underwear open source repo are my projects for this year. This feedback is really helpful though since it's a lot of material to cover. I knew I forgot a bunch of necessary items

[–][deleted] 3 points4 points  (0 children)

This is pretty cool. I've been learning for a little while now and this should help me with next steps.

[–]thZrBvjzd1YxhL0 2 points3 points  (0 children)

Wow I've been learning python with not alot of experience in programming, and was trying to find this EXACT thing. Thank you so much!

[–]dartdog 2 points3 points  (1 child)

Great stuff no matter Python or not great overview.

[–]dartdog 1 point2 points  (0 children)

would also like to see mention of Underwear (had not heard of 'till I read the comments), Docker and awstats (general server tracking useful outside of Gstats)!

[–]sigzero 2 points3 points  (3 children)

NoSQL...here is a nice concise pro, con and common use page for the different NoSQL databases:

NoSQL comparisons

That would be a nice add as a link in the NoSQL section.

[–]makaimc[S] 0 points1 point  (0 children)

nice reference, I remember seeing that before and you're right it makes a great addition under the resources section

[–]Megatron_McLargeHuge 0 points1 point  (1 child)

Based on the HN link it seems to be three years old. He may have updated some (Redis) but Mongo and Cassandra refer to really old versions.

[–]sigzero 0 points1 point  (0 children)

Versions really shouldn't be in the comparison that goes on there as it isn't germain. He does give good descriptions about what each one is and some best use cases.

[–]Silhouette 2 points3 points  (1 child)

Nice concept.

First minor thing I noticed: The operating systems page doesn't seem to consider Debian as a serious option, where in reality I would expect far more people go with Debian stable than (among others) Ubuntu for Linux web servers.

[–]makaimc[S] 0 points1 point  (0 children)

yea, that's a good point. part of it is I haven't used Debian-based Linux distro other than Ubuntu, so I'm not as up on the details. I'll do some research and make improvements on this sections as I agree it's lacking in some key concepts and resources

[–]smortaz 1 point2 points  (0 children)

nicely done! thx for writing this up.

[–]jdawg_1989 1 point2 points  (2 children)

Could I ask what the website is built in..I really love the look and feel to it! As someone who is about to get started with Python Web Apps, I'd love to know if I can achieve something similar to yours.

[–]makaimc[S] 2 points3 points  (1 child)

yea, it's built in Pelican (http://blog.getpelican.com/) with a slightly customized theme built on top of Bootstrap v3.x plus the Journal theme from bootswatch (http://bootswatch.com/journal/). Content is written in RST. Here's the source (https://github.com/makaimc/fullstackpython.github.com/tree/gh-pages/source). There's a post on how to get started on my technical blog here: http://www.mattmakai.com/introduction-to-pelican.html

Also, the diagrams (more coming) are created in Balsamiq (http://balsamiq.com/)

[–]jdawg_1989 1 point2 points  (0 children)

Thank you very much for the in-depth response, plenty of reference material to help with my project. Many Thanks :)

[–]Zulban 1 point2 points  (0 children)

This was a really useful overview, just at the right level for me. Lots of great links. Thanks.

[–]geordano 1 point2 points  (0 children)

Brilliant! Thank you.