News for hackers. Stuff that matters.
Re:Eighteen months of Django by mailshanx on Tuesday May 07, 2013 @11:44PM (#5672362)
What is your opinion about web2py? I started exploring it a week back, and it seems to have a lot of built in functionality. I thought it would be the easiest web framework to get started with (since it was originally built to help teach students about web programming). However, it seems to have a vast number of components, and it looks like learning all of it would entail almost the same effort as learning Django...
Re:Eighteen months of Django by ceol on Wednesday May 08, 2013 @03:08AM (#5672939)
Not the person you replied to, but my two cents.

The creator and lead developer, Massimo Di Pierro, is incredibly active and always willing to lend a hand with whatever problem you have. I've seen him around reddit (not sure if he's on HN) and even when he's met with the inevitable haters, he's always been friendly and cordial.

Just like you've said, web2py was originally made to teach people how to build websites, which really shows in its architecture. It forgoes traditional Python conventions ("explicit is better than implicit" being a major one) in order to be more beginner-friendly. Some of the more experienced developers find this annoying, but if you're coming from PHP or a fresh background, it can be much easier to get started. Just take a look at the overview on Wikipedia[0]. It gives a good outline.

This is coming from someone who doesn't even use web2py. I prefer Flask for personal projects and Django for work/group things, but I would whole-heartedly recommend web2py. Run through the book[1] and, if you don't like it, give the Django tutorial[2] a shot. If that doesn't mesh with you, there's Flask[3], Pyramid[4], TurboGears[5], and CherryPy[6]. (The last two I would not recommend for beginners, but they're still good!)

[0]: http://en.wikipedia.org/wiki/Web2py#Overview

[1]: http://web2py.com/book

[2]: https://docs.djangoproject.com/en/1.5/intro/tutorial01/

[3]: http://flask.pocoo.org/docs/

[4]: http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch...

[5]: http://turbogears.readthedocs.org/en/latest/

[6]: http://docs.cherrypy.org/stable/index.html

Re:Eighteen months of Django by aidos on Wednesday May 08, 2013 @04:42AM (#5673175)
I've never used it so I really can't comment, sorry. There are a few that I've only skimmed the documentation for to see how they compare to Django / Flask. Bottle for example - when I look through the examples it seems so close to Flask that I don't feel I need to look any closer at it (so I may be missing out on something there).
Re:Eighteen months of Django by boffo9 on Wednesday May 08, 2013 @02:20AM (#5672827)
Web2py does badly with pycharm. So I don't use it.