On Dec 5, 7:06 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> did anybody try Ruby on Rails so can give us a feedback ?

As someone who tried both, I have personally found that Django better
fits my conceptual models than RoR. YMMV, because conceptions are a
very personal thing. My friend finds the exact same thing true of RoR.
But, the RoRs projects I worked on never got far past the concept
phase because I always got hung up implementing them. My current
Django project is far more complex than any of my RoRs projects, and
I'm making blazing fast progress. It took me about 3 weeks to nail
down exactly what I wanted my models and stuff to look like, but since
then it takes about 2 days for a portion of my project to go from
django-admin.py startapp to "all done except for what depends on parts
I haven't written yet".

Things I have found easier/better in Django than RoR include:
1) The admin interface. This is what I wish scaffolding was. Scaffolds
are nice, but they are implicitly temporary, intended to be built out
into something more useful. Because of this, they leave out a lot of
very useful things that Django's admin interfaces puts in. The Django
admin interface, on the other hand, is permanent. It may not intended
for public consumption, but it does make sanity-testing your models
(wait! That DecimalField has the wrong max_digits! Doh!) and initial
(or ongoing) data entry a lot easier than scaffolding does.

2) Relationships. I suspect that this is the biggest thing that isn't
"I like Python better." I just get relationships in Django, I didn't
in RoR. Everytime I hit a join or a relationship in my concept, my
implementation broke down because I couldn't untangle it in my mind.
This is probably mostly because I do not come from a database
background. In fact, my random web-dev projects are my only real
exposure to databases.

3) I like Python better than Ruby. I wanted to like Ruby, I tried
really hard. There aren't a lot of Python programmers where I live
(shoot, there aren't a lot of programmers where I live), and my friend
was into Ruby, which meant I'd have a sounding board who could
actually help with the details rather than just gaping conceptual
holes. So I tried. Oh, so hard. Finally, after a year away from
Python, I decided to come back and give it a try with a simple CLI
ToDo app I was building. Even after a year away from Python, even with
having to look up syntax for basic things, even with having to code
with the PyDocs open in another window, I was coding as fast as I
could type. For the first time in a year, my fingers were the
bottleneck, not my brain. It was probably the most effortless, most
freeing, and most exciting programming I had ever experienced.

I can still read and write Ruby, but I haven't written anything more
than corrections or suggestions for code my friend has shown me since
August. Python has won me over completely, which is why I like Django,
hands-down, better than RoR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to