Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

So, I've sort of reached a point where I want to start developing a website. Originally, I planned to build said website using PHP and CodeIgniter, I'm familiar with both, but, truth be told, I'm not too fond of either. I find they just get rather messy, CodeIgniter helps somewhat, but no matter what, it seems that most PHP comes out more obfuscated than it has to be.

Anyways, I've come to the point where I want to either use Python or Ruby. I'm familiar in both, though more so towards Python, but I've never done any web development in them. I'll take the necessary time to learn the frameworks (and further my knowledge in the language of my choosing), but I need to choose one.

I don't like either language more than the other, they both have their benefits...

However, since I've never done any web development with either language, I was hoping that you guys could give me some pointers. What are the available frameworks for each language? What do you recommend and why?

Note: I've primarily looked into Rails and Django - but I'm still open to others. I'm looking for one that will work for just one (or maybe two) developers. It has to be fairly easy to learn (but I will take the time to learn it). Also, I'd like it to easily support clean code and agile development.

share|improve this question
1  
PHP comes out more obfuscated than it has to be -1 for blaming the tool for your inability to write clean code. –  Yannis Rizos Nov 29 '11 at 1:29
1  
@YannisRizos the tool certainly doesn't help. –  Raynos Nov 29 '11 at 1:56
1  
@YannisRizos Clearly you have't programmed in PHP, it's generally very complex and obfuscated - just by nature. I want something that innately produces clean code, not something powerful but broken. –  Bob Nov 29 '11 at 1:59
    
@Raynos With that I'd agree, and expand that in some very specific cases not only doesn't it help, but it makes it impossible. But those cases are limited in the very high end. –  Yannis Rizos Nov 29 '11 at 2:09
add comment

2 Answers

up vote 3 down vote accepted

You answered it yourself: you prefer to code in Python and in Ruby rather than in PHP, and you are more familiar with Python out of the two.

So Python it is, and Django as the framework, as it's the most popular one (meaning you'll find more information/tutorials for it).

share|improve this answer
    
I would try web.py before Django. –  elias Dec 2 '11 at 11:00
    
Django is very well documented, which is a big plus for me. –  wobbily_col Dec 4 '12 at 17:52
add comment

I think Ruby on Rails is your answer. It is designed for web applications. It supports clean code and agile development.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.