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...
Смотрите видео Sebastian Buczyński - Refactoring legacy Django app using OOP онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь EuroPython Conference 27 Сентябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,057 раз и оно понравилось 60 людям.