Refactoring legacy Django app using OOP
[EuroPython 2021 - Talk - 2021-07-28 - Optiver]
[Online]
By Sebastian Buczyński
Every year we can hear rumours about the demise of Object-Oriented Programming. As usual, they are greatly exaggerated. In 2021 OOP still has a lot to offer. The problem is a shortage of good quality materials that would show where it shines and how a Pythonista can leverage it without writing code that looks like Java from the 00s.
I'll show you how you can refactor legacy code in a Django app and tame complex logic living there.
Value for attendees: see refactoring possible directions and get to know 3 OOP stereotypes
Level of attendees: intermediate & advanced
Expected knowledge: Experience with building web apps, at least superficial knowledge about Django
This talk is an introduction to 3 out of 8 OOP Stereotypes, i.e. Controller, Interfacer and Information Holder. They'll be introduced using a real-life legacy project refactoring.
For the purpose of this talk, I'll be using code from this repo: https://github.com/Enforcer/django-re...
License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/...
Please see our speaker release agreement for details: https://ep2021.europython.eu/events/s...
Watch video Sebastian Buczyński - Refactoring legacy Django app using OOP online without registration, duration hours minute second in high quality. This video was added by user EuroPython Conference 27 September 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,057 once and liked it 60 people.