Re: Ruby on Rails vs Django
I think django is closer to merb http://merbivore.com/ rather than ROR. On Sat, Dec 6, 2008 at 10:48 PM, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > > > > On 6 déc, 10:55, "Guillermo C." <[EMAIL PROTECTED]> wrote: >> Hi. >> >> - Scaffolding: I prefer it over django admin in many situations. I >> mean, when you're doing something complex you'll need to drop out the >> django admin and write your own code, so it's cool to have the basic >> CRUD code and develop from that. > > While you surely have to write some code for custom stuff, you don't > necessarily have to "drop out of admin" - you can just customize the > relevant part of the admin. > (snip) > >> - RoR controllers versus Django views: Django does not enclose in >> classes the controllers neither have Routes, the mapping between urls >> and views (plain functions taking a ``request`` object as first param). > > s/plain functions/callable objects/ > > Remember that classes are callable too, and that Python let you define > your own callable types. > > (snip) > > > -- Low Kian Seong blog: http://lowkster.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 6 déc, 10:55, "Guillermo C." <[EMAIL PROTECTED]> wrote: > Hi. > > - Scaffolding: I prefer it over django admin in many situations. I > mean, when you're doing something complex you'll need to drop out the > django admin and write your own code, so it's cool to have the basic > CRUD code and develop from that. While you surely have to write some code for custom stuff, you don't necessarily have to "drop out of admin" - you can just customize the relevant part of the admin. (snip) > - RoR controllers versus Django views: Django does not enclose in > classes the controllers neither have Routes, the mapping between urls > and views (plain functions taking a ``request`` object as first param). s/plain functions/callable objects/ Remember that classes are callable too, and that Python let you define your own callable types. (snip) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 5 déc, 23:57, yejun <[EMAIL PROTECTED]> wrote: > On Dec 5, 2:43 pm, bruno desthuilliers <[EMAIL PROTECTED]> > wrote: > > > On 5 déc, 16:16, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > Metaphorically that Python/Djangois for a conservative engineer > > > mindset, > > > ??? care to elaborate on this ??? > I think he means python is a more traditional procedure like language > than ruby is. "Code-blocks" set aside, I fail to see how Python is "more traditional" or "more procedural" than Ruby. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
Hi. - Scaffolding: I prefer it over django admin in many situations. I mean, when you're doing something complex you'll need to drop out the django admin and write your own code, so it's cool to have the basic CRUD code and develop from that. - Database ORM: Both orm (rail's ActiveRecord and Django's ORM follow active record pattern (http://www. martinfowler.com/eaaCatalog/ activeRecord.html) so.. they're not too different. - Migrations: I like the way migrations works in RoR. Django have some projects to work out on this but they're not as mature. - RoR controllers versus Django views: Django does not enclose in classes the controllers neither have Routes, the mapping between urls and views (plain functions taking a ``request`` object as first param. and then they receive too positionally the capturing groups in the regexps) is in files with paths and the module + function in python which dispatch them. RoR have Routes where you map urls and controllers, and controllers are classes. Also a huge difference is that in RoR, to have in scope variables in templates you declare variables as instance variables, in Django you pass them explictly in a Context object. The conclusion is that they're different but very close. You can enjoy more using one or the other; but they provide with similar tools to achieve the same goals. On Dec 5, 1:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? > > did anybody try Ruby on Rails so can give us a feedback ? > > thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On Saturday 06 Dec 2008 1:01:37 am JonathanB wrote: > 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!) hey - this is a good point - should go in the docs/faq on what the admin interface is useful for. -- regards KG http://lawgon.livejournal.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
yejun wrote: > This is unnecessary true. Python can be very dynamic with decorate, > meta table and runtime code modification. > Of course, one can write obscure code in any languages. Personally, however, I find most online examples of meta-programming in Ruby pretty obtuse -- and I've written a fair amount of LISP macros, so I'm not _unprepared_ to understand. I find most meta-programming examples in Python to be pretty obvious. Jeffrey Straszheim --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On Dec 5, 9:10 pm, Jeffrey Straszheim <[EMAIL PROTECTED]> wrote: > I give a slight edge to Python/Django over Ruby/Rails, however, because > in Python-land, things seem more transparent. I seldom have to guess > what the language/framework will do. With Ruby/Rails I string together > code then sit back and wait to be surprised. This is unnecessary true. Python can be very dynamic with decorate, meta table and runtime code modification. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
Masklinn wrote: > I'd say that Rails and Django differ much more than Python and Ruby. > There are "small" differences between Python and Ruby, but the core > philosophies and structures of Rails and Django on the other hand are > completely unrelated and pretty much incompatible. > Considering I do raw Java servlet/JDBC programming as my day job (seriously), I find Rails and Django more alike than different. I think I give a slight edge to Python/Django over Ruby/Rails, however, because in Python-land, things seem more transparent. I seldom have to guess what the language/framework will do. With Ruby/Rails I string together code then sit back and wait to be surprised. Both are VERY good, in any case. Take it from one man slogging through Java hell. Jeffrey Straszheim --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On Fri, Dec 5, 2008 at 4:06 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? > > did anybody try Ruby on Rails so can give us a feedback ? > > thanks > > > > Another big difference between Django and Rails is the template system: Django tries very hard to separate presentation from business logic, Rails lets you do anything you want in a template (including database queries and other egregious abuse :). Also, Rails comes with numerous helper functions to generate common html elements, and a bundled javascript framework. Django leaves the javascript framework and HTML generation largely up to you (you can create your own shortcuts with templatetags, of course). Although I've used and enjoyed Rails, I prefer the Django approach in both of these areas. Colin --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
I think he means python is a more traditional procedure like language than ruby is. On Dec 5, 2:43 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 5 déc, 16:16, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Metaphorically that Python/Djangois for a conservative engineer > > mindset, > > ??? care to elaborate on this ??? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
My experience with rails was fantastic. I thought there wouldn't be anything that could replace it. but eventually, as you get to know the inner workings and the limitations and the issues it has, you stop and think for a moment and look for solutions/alternatives. That was what happened to me. I switched to django first mainly because of the admin interface. I didn't know python then and I thought ruby was a better language for me (i still think it is). BUT... rails tried so hard to drive me away. With every new release you have issues with backwards-compatibility and changes in the api. Deploying a rails app wasn't fun either. There was no timeline/planned releases with features clearly known like django had. I really miss the named routes though, I know django has this too, but with rails it's so simple that you have to love it. and about the "django is for engineers, rails for hackers" comments, I kind of agree. On Dec 5, 4:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? > > did anybody try Ruby on Rails so can give us a feedback ? > > thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 5 déc, 16:16, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Metaphorically that Python/Djangois for a conservative engineer > mindset, ??? care to elaborate on this ??? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 5 déc, 15:31, Masklinn <[EMAIL PROTECTED]> wrote: > On 5 Dec 2008, at 14:30 , bruno desthuilliers wrote:> On 5 déc, 13:06, > "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > >> Hi All, > > >> I'm new to the django world and I was just wondering how Django > >> compears with Ruby on Rails ? > > > Mostly just like Python compares with (with ??? to ???) Ruby IMHO. > > Quite close overall, and yet very different philosophies. > > I'd say that Rails and Django differ much more than Python and Ruby. > There are "small" differences between Python and Ruby, for which definition of "small" ? Granted, Python and Ruby are both hi- level object-oriented highly dynamic languages, and there are a couple superficial similarties in their respective syntaxes. But the object model and the general philosophy are _totally_ different. > but the core > philosophies and structures of Rails and Django on the other hand are > completely unrelated and pretty much incompatible. As far as I'm concerned, this is just as true (or false) of Python vs Ruby. And this mostly reflects the "architectural" and philosophical differences between both languages. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
I see... but what I mean is that you will find "better" informations about this on Google than asking on a list of Django-fans :P good luck :) 2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > yes... I saw that thread... but it is 14 months old !!! and in IT 14 > months is a LOT > > On 5 dic, 10:17, "Marinho Brandao" <[EMAIL PROTECTED]> wrote: >> http://www.google.com.br/search?q=Ruby+on+Rails+vs+Django >> >> 2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> >> >> >> > Hi All, >> >> > I'm new to the django world and I was just wondering how Django >> > compears with Ruby on Rails ? >> >> > did anybody try Ruby on Rails so can give us a feedback ? >> >> > thanks >> >> -- >> Marinho Brandão (José Mário)http://marinhobrandao.com/ > > > -- Marinho Brandão (José Mário) http://marinhobrandao.com/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On Fri, Dec 5, 2008 at 9:31 AM, Masklinn <[EMAIL PROTECTED]> wrote: > > On 5 Dec 2008, at 14:30 , bruno desthuilliers wrote: >> On 5 déc, 13:06, "[EMAIL PROTECTED]" >> <[EMAIL PROTECTED]> wrote: >>> Hi All, >>> >>> I'm new to the django world and I was just wondering how Django >>> compears with Ruby on Rails ? >> >> Mostly just like Python compares with (with ??? to ???) Ruby IMHO. >> Quite close overall, and yet very different philosophies. > I'd say that Rails and Django differ much more than Python and Ruby. > There are "small" differences between Python and Ruby, but the core > philosophies and structures of Rails and Django on the other hand are > completely unrelated and pretty much incompatible. What do you think are the core philosophies of Rails and Django? -- --- David Zhou [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 5 Dec 2008, at 14:30 , bruno desthuilliers wrote: > On 5 déc, 13:06, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: >> Hi All, >> >> I'm new to the django world and I was just wondering how Django >> compears with Ruby on Rails ? > > Mostly just like Python compares with (with ??? to ???) Ruby IMHO. > Quite close overall, and yet very different philosophies. I'd say that Rails and Django differ much more than Python and Ruby. There are "small" differences between Python and Ruby, but the core philosophies and structures of Rails and Django on the other hand are completely unrelated and pretty much incompatible. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
I worked with Rails for about 2 years. I see a lot of innovative ideas in Rails; however, I was constantly running into issues with them changing the API. Add to that, the documentation is poor relative to that of Python Django. Metaphorically that Python/Djangois for a conservative engineer mindset, Rails is for a hacker and let's create something innovative crowd. Rails does a lot of stuff implicitly, which is fine if you understand what's going or if no issues rrise. Python is explicit by design. Both are Great, but I always felt I was forced to learn something new. I like learning new things, but sometime you just want to build something from tools you already understand. YMMV, Bryan p.s. I have not worked with Python3k. That will be a change, but it's a big number change. On Dec 5, 8:30 am, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 5 déc, 13:06, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > I'm new to the django world and I was just wondering how Django > > compears with Ruby on Rails ? > > Mostly just like Python compares with (with ??? to ???) Ruby IMHO. > Quite close overall, and yet very different philosophies. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
On 5 déc, 13:06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? Mostly just like Python compares with (with ??? to ???) Ruby IMHO. Quite close overall, and yet very different philosophies. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
[EMAIL PROTECTED] wrote: > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? > > did anybody try Ruby on Rails so can give us a feedback ? > > thanks > > > > > > I was as you long time ago . I was going to test both and choose . Tested Django first and had no need to test rails Leonel --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
yes... I saw that thread... but it is 14 months old !!! and in IT 14 months is a LOT On 5 dic, 10:17, "Marinho Brandao" <[EMAIL PROTECTED]> wrote: > http://www.google.com.br/search?q=Ruby+on+Rails+vs+Django > > 2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > > Hi All, > > > I'm new to the django world and I was just wondering how Django > > compears with Ruby on Rails ? > > > did anybody try Ruby on Rails so can give us a feedback ? > > > thanks > > -- > Marinho Brandão (José Mário)http://marinhobrandao.com/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Ruby on Rails vs Django
http://www.google.com.br/search?q=Ruby+on+Rails+vs+Django 2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi All, > > I'm new to the django world and I was just wondering how Django > compears with Ruby on Rails ? > > did anybody try Ruby on Rails so can give us a feedback ? > > thanks > > > > -- Marinho Brandão (José Mário) http://marinhobrandao.com/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Ruby on Rails vs Django
Hi All, I'm new to the django world and I was just wondering how Django compears with Ruby on Rails ? did anybody try Ruby on Rails so can give us a feedback ? thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---