My organisation is currently looking at Django and Rails. Has anyone tried Django? What was your experience? Do you prefer Rails or Django? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
I prefer Rails. I started in Python, but I didn''t like the language. Then I tried Ruby, and I liked it very much. I have never used Django (because I didn''t like python), but it seems a good framework. It is not 1.0 yet, so you can''t compare the frameworks. Django is more for CMS-like sites, and Rails is for web applications. If you want a CMS, Django has a full admin panel/RSS framework. If you want web applications, Rails has Ajax support, more powerful templates, etc. But the major reason to go for Rails instead of Django is that the code you''ll write is much nicer. Partially because of Rails, and partially because of Ruby (blocks, full oo, ..). Why not try out both? Develop something real though. If you are going to make web applications, build a simple web application in both frameworks. If you are going to make cms sites, build a cms. And do not forget to finish it! The last 10% of an application is often harder than the other 90%, and the framework should really help you with the last 10%. Jules -- Posted via http://www.ruby-forum.com/.
Chris wrote: > My organisation is currently looking at Django and Rails. > > Has anyone tried Django? > What was your experience? > Do you prefer Rails or Django? Check out the videos from the Snakes and Rubies event to get a feel for how Django and Rails compare: http://snakesandrubies.com/ In a nutshell what came out of the event for me was that Rails and Django, while they appear very similar at first are really two very different tools. They share many of the same features and much of the same philosophy, but Django was designed for creating large searchable Websites like http://lawrence.com/ and excels at this kind of application, while Rails was designed for creating Web applications similar to Basecamp (http://basecamphq.com). The other main consideration is the language. The big thing for me about Rails is that it''s written in Ruby. While I find aspects of Django tantalizing, I can''t get away from the beauty of the Ruby language. -- John Long http://wiseheartdesign.com