Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40655 > unrolled thread

Why is Ruby on Rails more popular than Django?

Started byJason Hsu <jhsu802701@gmail.com>
First post2013-03-06 10:03 -0800
Last post2013-03-08 07:35 -0900
Articles 6 on this page of 26 — 13 participants

Back to article view | Back to comp.lang.python


Contents

  Why is Ruby on Rails more popular than Django? Jason Hsu <jhsu802701@gmail.com> - 2013-03-06 10:03 -0800
    Re: Why is Ruby on Rails more popular than Django? "marduk@python.net" <marduk@python.net> - 2013-03-06 13:24 -0500
    Re: Why is Ruby on Rails more popular than Django? Tim Johnson <tim@akwebsoft.com> - 2013-03-06 10:16 -0900
    Re: Why is Ruby on Rails more popular than Django? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-06 23:58 +0000
      Re: Why is Ruby on Rails more popular than Django? alex23 <wuwei23@gmail.com> - 2013-03-06 17:08 -0800
    Re: Why is Ruby on Rails more popular than Django? Albert Hopkins <marduk@letterboxes.org> - 2013-03-06 21:13 -0500
    Re: Why is Ruby on Rails more popular than Django? Tim Johnson <tim@akwebsoft.com> - 2013-03-06 17:55 -0900
    Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-06 18:58 -0800
      Re: Why is Ruby on Rails more popular than Django? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-06 22:09 -0800
      Re: Why is Ruby on Rails more popular than Django? Rui Maciel <rui.maciel@gmail.com> - 2013-03-07 09:28 +0000
        Re: Why is Ruby on Rails more popular than Django? Sven <svenito@gmail.com> - 2013-03-07 09:52 +0000
          Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-07 10:00 -0800
        Re: Why is Ruby on Rails more popular than Django? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-07 08:20 -0800
          Re: Why is Ruby on Rails more popular than Django? Chris Angelico <rosuav@gmail.com> - 2013-03-08 03:33 +1100
      Re: Why is Ruby on Rails more popular than Django? "Russell E. Owen" <rowen@uw.edu> - 2013-03-07 13:08 -0800
        Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-07 19:46 -0800
      Re: Why is Ruby on Rails more popular than Django? rh <richard_hubbe11@lavabit.com> - 2013-03-07 20:50 -0800
        Re: Why is Ruby on Rails more popular than Django? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-08 08:19 -0800
          Re: Why is Ruby on Rails more popular than Django? rh <richard_hubbe11@lavabit.com> - 2013-03-08 09:12 -0800
        Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-08 09:30 -0800
          Re: Why is Ruby on Rails more popular than Django? rh <richard_hubbe11@lavabit.com> - 2013-03-08 13:24 -0800
      Re: Why is Ruby on Rails more popular than Django? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-08 17:47 +0000
        Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-08 20:40 -0800
    Re: Why is Ruby on Rails more popular than Django? rusi <rustompmody@gmail.com> - 2013-03-06 20:16 -0800
    Re: Why is Ruby on Rails more popular than Django? rh <richard_hubbe11@lavabit.com> - 2013-03-07 20:43 -0800
    Re: Why is Ruby on Rails more popular than Django? Tim Johnson <tim@akwebsoft.com> - 2013-03-08 07:35 -0900

Page 2 of 2 — ← Prev page 1 [2]


#40902

Fromrh <richard_hubbe11@lavabit.com>
Date2013-03-08 13:24 -0800
Message-ID<mailman.3100.1362777810.2939.python-list@python.org>
In reply to#40876
On Fri, 8 Mar 2013 09:30:20 -0800 (PST)
rusi <rustompmody@gmail.com> wrote:

> On Mar 8, 9:50 am, rh <richard_hubb...@lavabit.com> wrote:
> 
> > Choices are good.
> 
> 
> > Having one choice is a mess. And look back at history and current
> > events if you don't see that.
> 
> 
> See http://www.perl.com/pub/1999/03/pm.html for how a real post-modern
> hip language gives endless choice. Also called TIMTOWTDI. Or perl

Didn't read that. Make django the defacto python webdev platform then.
It won't make django better, maybe it will make more people use it because
they will get a false sense that it must be good because it's defacto.

I see that pycon is all about django, best of luck with it.

[toc] | [prev] | [next] | [standalone]


#40877

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2013-03-08 17:47 +0000
Message-ID<513a2437$0$30001$c3e8da3$5496439d@news.astraweb.com>
In reply to#40694
On Wed, 06 Mar 2013 18:58:12 -0800, rusi wrote:

>> My questions:
>> 1.  Why is Ruby on Rails much more popular than Django?
> 
> "Where there is choice there is no freedom"
> http://www.jiddu-krishnamurti.net/en/1954/1954-03-03-jiddu-
krishnamurti-8th-public-talk

Surely that should be, where there is NO choice there is no freedom.

You must work down the mines every day until you die. Are you free?

You must use Rails for your web app. Are you free?

The "Paradox of Choice" is real, that is, *too* much choice can lead to 
paralysis. Freedom is not an unmitigated good. But there are ways to work 
around that, starting with the simple fact that products often are aimed 
at niche markets and so are not actually direct competitors. The hard 
part is deciding what niche you exist in, not what product you want.


[...]
> GvR understood and rigorously implemented a dictum that Nicklaus Wirth
> formulated decades ago -- "The most important thing about language
> design is what to leave out." Therefore Python is a beautiful language. 
> Unfortunately the same leadership did not carry over to web frameworks
> and so we have a mess.

The entire software ecosystem is not equivalent to designing a single 
language. Apart from the practical matter that it would require a 
totalitarian dictator to declare that there is One True web framework 
which everyone must use on pain of death, there is also the little matter 
that individual products can concentrate on different strengths. No one 
product can solve all problems -- you can't have a web framework which is 
simultaneously lightweight for those with small needs AND heavyweight for 
those with large needs. (Or at least, it is *incredibly difficult* to 
have a single product be all things to all people.)


'I'm sure we can pull together, sir.'
Lord Vetinari raised his eyebrows. 'Oh, I do hope not, I really do hope 
not. Pulling together is the aim of despotism and tyranny. Free men pull 
in all kinds of directions.' He smiled. 'It's the only way to make 
progress.'  
- Terry Pratchett, "The Truth"



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#40929

Fromrusi <rustompmody@gmail.com>
Date2013-03-08 20:40 -0800
Message-ID<01322e07-cc18-4f02-9828-beb0cdc7064a@kt16g2000pbb.googlegroups.com>
In reply to#40877
On Mar 8, 10:47 pm, Steven D'Aprano <steve
+comp.lang.pyt...@pearwood.info> wrote:
> On Wed, 06 Mar 2013 18:58:12 -0800, rusi wrote:
> >> My questions:
> >> 1.  Why is Ruby on Rails much more popular than Django?
>
> > "Where there is choice there is no freedom"
> >http://www.jiddu-krishnamurti.net/en/1954/1954-03-03-jiddu-krishnamurti-8th-public-talk
>
> Surely that should be, where there is NO choice there is no freedom.
>
> The "Paradox of Choice" is real, that is, *too* much choice can lead to
> paralysis.

Thanks for that 'google-tip'. I guess a secular outlook would have
wider reach than a guru like Krishnamurti.  In any case
http://en.wikipedia.org/wiki/The_Paradox_of_Choice:_Why_More_Is_Less
says more or less what Krishnamurti does (apart from the absolutes).

[toc] | [prev] | [next] | [standalone]


#40700

Fromrusi <rustompmody@gmail.com>
Date2013-03-06 20:16 -0800
Message-ID<322c7d37-5fb3-4f15-b88f-9c8a83b7757b@kw7g2000pbb.googlegroups.com>
In reply to#40655
On Mar 6, 11:03 pm, Jason Hsu <jhsu802...@gmail.com> wrote:
> I'm currently in the process of learning Ruby on Rails.  I'm going through the Rails for Zombies tutorial, and I'm seeing the power of Rails.
>
> I still need to get a Ruby on Rails site up and running for the world to see.  (My first serious RoR site will profile mutual funds from a value investor's point of view.)
>
> I have an existing web site and project called Doppler Value Investing (dopplervalueinvesting.com) that uses Drupal to display the web pages and Python web-scraping scripts to create *.csv and *.html files showing information on individual stocks.  My site has a tacked-on feel to it, and I definitely want to change the setup.
>
> At a future time, I will rebuild my Doppler Value Investing web site in either Ruby on Rails or Django.  The Ruby on Rails route will require rewriting my Python script in Ruby.  The Django route will require learning Django.  (I'm not sure which one will be easier.)

It is a natural programmer instinct that a uni-language solution is
felt cleaner than a multi-language one.  This feeling is valid under
the following assumptions:
- You are starting from ground up
- The investment in learning something new is not considered
significant

In your case, with a site already up (maybe with a tacked on feel) and
learning django a significant effort compared to directly coding in
RoR, you should look at polyglot solutions more carefully (eg not
directly relevant ... something like
http://www.igvita.com/2009/03/20/ruby-polyglot-talking-with-erlang/ )

IOW code your site in RoR and call out to your python scraper-scripts
may be an option to consider.

[toc] | [prev] | [next] | [standalone]


#40843

Fromrh <richard_hubbe11@lavabit.com>
Date2013-03-07 20:43 -0800
Message-ID<mailman.3067.1362717774.2939.python-list@python.org>
In reply to#40655
On Wed, 6 Mar 2013 17:55:12 -0900
Tim Johnson <tim@akwebsoft.com> wrote:

> 
>   I believe that indifference on the part of Python to fastcgi is a
>   self-inflicted wound. I don't believe that there is any good
>   excuse for such indifference, except for a sort of bureaucratic
>   inertia. It's sad, when you consider how well python is designed

Python is not indifferent to fastcgi, django is indifferent to fastcgi.

>   and how crappily PHP is designed and how easy it is to set up and
>   deploy drupal in the same environment. I speak from my own
>   experience.

[toc] | [prev] | [next] | [standalone]


#40866

FromTim Johnson <tim@akwebsoft.com>
Date2013-03-08 07:35 -0900
Message-ID<mailman.3085.1362760534.2939.python-list@python.org>
In reply to#40655
* rh <richard_hubbe11@lavabit.com> [130307 20:21]:
> On Wed, 6 Mar 2013 17:55:12 -0900
> Tim Johnson <tim@akwebsoft.com> wrote:
> 
> > 
> >   I believe that indifference on the part of Python to fastcgi is a
> >   self-inflicted wound. I don't believe that there is any good
> >   excuse for such indifference, except for a sort of bureaucratic
> >   inertia. It's sad, when you consider how well python is designed
> 
> Python is not indifferent to fastcgi, django is indifferent to fastcgi.
> 
> >   and how crappily PHP is designed and how easy it is to set up and
> >   deploy drupal in the same environment. I speak from my own
> >   experience.
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
  I stand corrected, that was a typo.
  thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web