views:

1804

answers:

10

Given the size of web2py and the lack of resources and corporate support, do you think it would be advisable to learn web2py as the only web development frame work I know. I'm considersing learning ror or web2py for a website i need to create for as a school project. this is not the 'ruby vs python' question. I just want to know what disadvantages i would face if i selected a frame work other that the main stream ror or django(if any).

+4  A: 

Learning is good.

Learning something (that eventually goes away) is no loss at all. The basic skills of web development (HTML, CSS, URL-parsing, GET vs. POST) don't ever change.

Frameworks come and go. Learn as many as you can. Learn how to manage your learning so that you (a) get to the important stuff first and (b) leave the other framework stuff behind when tackling a new framework.

Every framework has it's bias (or focus). Once you figure this out, you can make use of them without all the "compare and contrast" that slows some people down. Once you've learned web2py, you have to be careful learning Django that you start fresh, with no translation from old concepts to new.

S.Lott
+1 Each framework builds on another framework. The principles are typically the same, the approach is the only thing that differs. Overall, what you learn is portable.
Soviut
Go learn Zope. You will find it is quite different.
joeforker
@joeforker: true. I did use ZOPE for a while before switching to Django. It is quite different.
S.Lott
A: 

Not much results will be returned when searching for a problem related to the less common framework.

Alan Haggai Alavi
A: 

I'm agree with S.Lott saying that:"Learning something (that eventually goes away) is no loss at all."

YEAH It's true but let me suggest that also a scholastic project should be able to reach the better support possible, otherwise could be very frustrating and a waste of time to learn and teach something not well supported, debugged, stable etc. The time you spent, and maybe your auditors/students, should in some sense projected with an eye to the future...

just for example take a look to turbogears

DrFalk3n
+5  A: 

Web2py is a good one to learn. If this is going to be deployed to a server, double check it supports wsgi. Sometimes php is the way to go because you know it's supported almost anywhere.

TinjaNurtle
+7  A: 
joeforker
Yeah, but sadly most of the guides out there for RoRs are nothing but cookbooks, "Do this, type this, click here yay! You've made the 15 minute blog!" Which is great if your boss just came by your desk and said, "Johnson, you've got 15 minutes. Make me a blog." But useless if you want to make something that deviates from the mold.Far better is the Django book, which actually explains ~why things are the way they are so you have an idea what you are breaking. Enter "Django Book" into the Great Google Machine to get to the free book (I'm not sure how to add links in a comment or I would).
Jonathanb
I have the second edition of the django book here on my desk. It's nice.
joeforker
+1 for www.djangobook.com it got me up an running in a week reading chapters on the bus.
Soviut
@"you get to program in python": you get to program in ruby if you do ruby on rails and i don't how python is superior to ruby. A ruby programmer might think otherwise,
potlee
I think what he meant was "you get to program in something that isn't PHP".
Soviut
I am a Python programmer and I definitely meant Python. A Ruby programmer might think otherwise. A Ruby programmer might write their own answer.
joeforker
+2  A: 

Ask yourself what you are looking to gain from the experience. Ie, is it more important to just get the application built and running with a minimum of time and effort, or are you trying to learn about web stack architecture?

If you're just looking for results, obviously you'll have more code and documentation to borrow from if you stick with a more commonly used framework. If you grit your teeth and accept Django's view of the world, you can build very functional applications very quickly. If you can find some pre-made reusable Django apps that handle part of your problem, it'll be even faster.

But if you want to make sure you have a very solid understanding of everything in the request cycle from HTTP request handling to database access and abstraction to form generation and processing and HTML templating, you'll be bettered served with a minimal framework that forces you to think more about the architecture and has a small enough codebase that you can just read it all top to bottom and not really need documentation beyond that. In that case though, I'd advise going even deeper and building your own framework on top of a WSGI library (you don't actually want to waste time learning the intricacies of working around browser quirks if you can help it). Once you've built your own and seen where things get complicated and where the tradeoffs are, you'll be in an excellent position to judge other frameworks and decide if there's one that does things the way you want to work.

thraxil
+9  A: 

web2py does have a smaller market share than competitor products but it is also much younger. I have knowledge of at least 13 consulting companies that provide web2py support. Anyway, I do believe web2py is much easier to use than other systems and therefore you will need less support that you may think. Most of the current users get their support via the web2py google group where you can find 29781 messages and almost all questions have been answered within 24 hours by one of the contributors.

mdipierro
+4  A: 

web2py may be young, but the mailing list has ~2000 messages / month, which is similar to Django and far more than Turbogears. I usually get answers to my questions within a few hours. There is also an excellent online book, but I find the best source of information is the mailing list.

I have used both RoR, Django, Turbogears, and web2py, and find web2py the most productive.

Plumo
+2  A: 

You can also interpret the chart in this way: most of the web2py users didn't find too many problems when they tried to use it.

Zhe
+1  A: 

Glad I found this thread! Cause some outdated pages and broken external links on Web2Py's website almost scared me off. But at least now I know there's a pretty good community around Web2Py.

I've just been looking through a load of Python web frameworks, and Web2Py's description sounded enticing and managed to make Django sound overly laborious. Pretty sure there are some tangible benefits to Django's design decisions avoiding "too much magic" when it comes to larger projects.

But to just throw something up on the web with err "sane defaults" sounds perfectly good to me. Instead of throwaway scripts, we can make throwaway websites to handle some temporary thing...

There should be room for an appliance style framework with no installation... Interesting possibilities for some projects. I saw someone already got a python framework + server to work on android phones :))

For me, thanks to this thread, I will just learn both.

Another thought; if Web2Py is open source and you like what it does you might not even mind being the only user at some point in the future, since you can add features to it yourself?

Mind you, I have not used either yet, just read the docs. I think the Web2Py people should put up a blurb on their website to differentiate themselves from Django in more detail, I haven't been able to check off all my question marks for choosing the right one.

Tsais
oops, I guess some would consider this a necro threat, didn't look at the date...
Tsais