Anyone here can do a comparation between Djang and RoR

S

Seebs

what is the advantage of Django over RoR:)

This question is pretty much... I mean, you're not gonna get useful
answers. They're based on such different languages that I think any
comparison past that is likely going to be uninteresting to a programmer,
and I'm not sure any non-programmers are going to use either.

I will say, the things I most value in Rails are pretty much contrary
to conventional Python design philosophy. Python's stress on explicit
over implicit is probably in contradiction with the Rails philosophy of
convention over configuration.

So for instance, if all you want of a class that maps to a database table
in Rails is that it map the fields in the database, the class body is
empty because that's the default. If you want to tell it that the database
column foo_id represents the id of the foo object with which this record
is associated, and you want to call that <item>.foo, you write:
belongs_to :foo
and the rest is all implicit.

This is really handy sometimes, but it's not very Pythonic...

Mostly, I think you'd probably be better off asking in a completely
different kind of forum, but even then, you're going to get mostly language
advocacy.

-s
 
L

Luis M. González

This question is pretty much... I mean, you're not gonna get useful
answers.  They're based on such different languages that I think any
comparison past that is likely going to be uninteresting to a programmer,
and I'm not sure any non-programmers are going to use either.

I will say, the things I most value in Rails are pretty much contrary
to conventional Python design philosophy.  Python's stress on explicit
over implicit is probably in contradiction with the Rails philosophy of
convention over configuration.

So for instance, if all you want of a class that maps to a database table
in Rails is that it map the fields in the database, the class body is
empty because that's the default.  If you want to tell it that the database
column foo_id represents the id of the foo object with which this record
is associated, and you want to call that <item>.foo, you write:
        belongs_to :foo
and the rest is all implicit.

This is really handy sometimes, but it's not very Pythonic...

Mostly, I think you'd probably be better off asking in a completely
different kind of forum, but even then, you're going to get mostly language
advocacy.

-s

Seebs answer is spot on.
The advantages or disadvantages of both frameworks are subjective.
It all comes down to each person's language of preference, since each
framework reflects its language philosophy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top