Django and Rails

78 views
Skip to first unread message

Enrique Shadah

unread,
May 28, 2014, 11:55:58 PM5/28/14
to django...@googlegroups.com
Hi all,

I am learning Django after trying once with Rails. As I am a newbie to software development, Rails seemed more obscure and difficult to digest. I chose to learn Django because Python is easier to understand than Ruby (at least to me) and because I thought it had a bigger or more enthusiastic community to learn from.

However, I am finding that Django has some limitations Rails does not.  One is that its community is fading (or at least it feels that way).  Another is that Rails seems to be better at automating mundane tasks (staying true to the DRY principle). For example, rake db migrate can add/subtract fields on table without writing any sql.  Django can add fields and tables with syncdb, but if I need to subtract fields or change whether the field is required or not, I am faced to writing sql.  This seems pretty silly given that new site is constantly changing, thus models will suffer many changes as users suggest/reject features. 

These are just two limitations off the top of my head.  I am sure Django is awesome, but could anyone share their views on whether I should just learn Rails off the bat instead of going the Django then Rails route?

Lachlan Musicman

unread,
May 29, 2014, 12:41:23 AM5/29/14
to django...@googlegroups.com
For db changes, you want South, although the author of South has just
finished integrating it into Django 1.7.

http://south.aeracode.org/
http://south.readthedocs.org/en/latest/
http://south.readthedocs.org/en/latest/tutorial/index.html

Version 1.7 of Django, due any day now, will have migrations built in.

cheers
L.
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/228300d7-8e5a-4a9b-8165-45e33168cc7f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
The idea is that a beautiful image is frameable. Everything you need
to see is there: It’s everything you want, and it’s very pleasing
because there’s no extra information that you don’t get to see.
Everything’s in a nice package for you. But sublime art is
unframeable: It’s an image or idea that implies that there’s a bigger
image or idea that you can’t see: You’re only getting to look at a
fraction of it, and in that way it’s both beautiful and scary, because
it’s reminding you that there’s more that you don’t have access to.
It’s now sort of left the piece itself and it’s become your own
invention, so it’s personal as well as being scary as well as being
beautiful, which is what I really like about art like that.
-----------------------------------------------------------------------------------------------------------
Adventure Time http://theholenearthecenteroftheworld.com/

Lachlan Musicman

unread,
May 29, 2014, 12:44:09 AM5/29/14
to django...@googlegroups.com
Also, the community certainly doesn't seem to be fading to me -
between this list, SO and the IRC channel, there is lots of movement.

There is a new release every 6 months or so and the devs are pushing
security updates at about one every two months although that's more
dependent on when the security issues are discovered than running to a
plan.

I wouldn't fear the Django community disappearing anytime soon.

cheers
L.

WongoBongo

unread,
May 29, 2014, 6:48:07 AM5/29/14
to django...@googlegroups.com
Try the tutorial and if you like it then stick with Django.

Also, go and meet other python developers. Meetup is good for finding local groups. There might also be an active SIG nearby.

K

On Wednesday, May 28, 2014 8:55:58 PM UTC-7, Enrique Shadah wrote:
Hi all,

willyhakim

unread,
May 29, 2014, 9:36:05 AM5/29/14
to django...@googlegroups.com
Django learning curve might be steeper than Rails, but it will make you a better web dev in the long run. Check out realpython.com and maybe start by getting a solid foundation on python

Enrique Shadah

unread,
May 29, 2014, 2:31:17 PM5/29/14
to django...@googlegroups.com
Thanks everyone.  You've confirmed what I have suspected. Also, an MIT CS prof. suggested today to stick to python/django.  Rails may be fast and cool, but that it may offer too much "magic" to really know what's going on and debug if needed.  For a newbie like me, I need explicit guidance and clear thinking. Maybe when I reach django ninja status, I can try other more esoteric frameworks.

Derek

unread,
May 30, 2014, 4:42:24 AM5/30/14
to django...@googlegroups.com
Hi Enrique

Apart from the mailing list, a good place to keep up with Python and Django in general is the http://www.pythonweekly.com/ newsletter.  Its not long, is well-structured and  will help give some idea of the current  "buzz" ...

(PS Not everyone is convinced that Rails is "faster" - http://www.techempower.com/benchmarks/#section=data-r9&hw=peak&test=query&b=1&s=2&f=so-0-0-0 but I won't debate the "cooler" part though)
Reply all
Reply to author
Forward
0 new messages