Project: 🌇 Adopt generic class based views across the Wagtail admin #4
Replies: 4 comments 6 replies
-
Hi @thibaudcolas, I've been reading through a lot of the code from PR's (past and present) related to this umbrella project. I just wanted to ask (and do pardon me if the answer seems obvious): aside from the code reuse and customization that switching to class-based views will bring, are there performance benefits over function-based views? |
Beta Was this translation helpful? Give feedback.
-
I am also still trying to quickly understand the internals of Wagtail as per the untold requirement of this project. Still, I also think that even while switching to class-based views might not result in noticeable performance gains, the advantages of customization, consistency, documentation, code reuse, and testing are immeasurable. These benefits improve developer collaboration, streamline the development process, and eventually result in a Wagtail admin interface that is more durable and easy to maintain. |
Beta Was this translation helpful? Give feedback.
-
I think adopting class based views across Wagtail Admin will be very sustainable because if we implement CBV, we will be organizing data of users/clients in a structured (Object-oriented) manner and provide better resource management by code reusability across Wagtail project. I'm looking for the areas where CBV can be implemented. |
Beta Was this translation helpful? Give feedback.
-
Please use this Discussions thread to ask anything and everything relating to our Adopt generic class based views across the Wagtail admin project idea.
Don’t hesitate to answer other people’s questions and mark this as a contribution on the Outreachy website if you’re particularly happy with your answer.
Beta Was this translation helpful? Give feedback.
All reactions