- Web Development
- Session type
- Technical level
Django has emerged as the most used Python web framework. Rails is the most used Ruby web framework.
Being a polyglot is one of the best way to write better code. Ergo, learning Rails will make you a better Django developer.
We will look at how Django concepts map to Rails concepts.
Rails Controller -> Django Views
config/rotes.rb -> urls.py
Rails view -> Django templates
We will look at the Django poll app and a Rails poll app and compare them.
We will look at some areas where Rails is better, and Django needs to learn from Rails.
(Eg Rails routing is way simpler than Django urls.)
Shabda Raaj is a developer at Agiliq, where he builds amazing apps. He has been programming with Python for about 5 years and Django for about 3. He loves working with Python and always amazed how giving Python and the larger open source community is. He hopes to make a more beautiful world through writing software.