Jump to content

Web Frameworks: which, when, how?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
monkey_instinct

monkey_instinct

    Learning Programmer

  • Members
  • PipPipPip
  • 88 posts
There a lot of web frameworks around lately. In fact, there are too many that's really hard to know which one to choose or which is better. Of those many I have chosen a few of what I think are the most popular:

  • Rails (Ruby on Rails) - Ruby
  • Django - Python
  • JavaSever Faces - Java servlet, JSP, Tag Libraries, ...
  • Dojo - AJAX (Javascript)

I want to know which one do you prefer? What are the benefits of one or another? Any comment or opinion or experiences with those frameworks.

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
I've only been using a one web framework, which is CherryPy for Python. It's really easy to use, easy to configure and very pythonic. It can be annoying to output whole webpages, so I've been using a template engine for it, which is called Cheetah. It has a nice syntax, and is very easy to combine with Python.

#3
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
It's worth noting that a lot of the web frameworks are simply copies of Rails. I'd pick a Rails clone for whatever your favourite language is (if your favourite language is Ruby then pick Rails of course).

Django is a MVC framework with similar underpinnings to Rails. TurboGears is a more direct copy with CherryPy being the controller part of the Model-View-Controller stack. Both of these are Python based.

#4
monkey_instinct

monkey_instinct

    Learning Programmer

  • Members
  • PipPipPip
  • 88 posts
I know about Cheetah but I haven't used CherryPy so I will check it out. I know that Django is very decoupled so you can plug in different part to it, like replacing its template system with Cheetah.