Interesting, because I'm the entire opposite because I find myself
rewriting lots of code when using FBVs compared to (G)CBVs. And then if
one thing changes, that often precipitates a much larger PR than if I were
using equivalent classes. There's no magic involved in them, just regular
objec
I have to +1 Carstens answer.
In short, I too find CB views to be too "magical".
=)
On Thu, 22 Nov 2018 at 11:53, Carsten Fuchs wrote:
> Hi Andrew,
>
> many thanks for your clear and detailed explanation!
>
> Having used Django for several years, FVs are still my favorite approach
> over CBVs
Hi Andrew,
many thanks for your clear and detailed explanation!
Having used Django for several years, FVs are still my favorite approach
over CBVs and GCBVs. In the past, I made several starts with CBVs, but
never found or understood why CBVs and GCBVs seem to be in many people's
center of at
Great write up! :-)
And you are totally right - I tend to think of the CBV's and GCBV's in the
same thought - and use them interchangeably, because I NEVER use FV
Regards
Andréas
Den ons 21 nov. 2018 kl 21:39 skrev Andrew Pinkham :
> Django developers talk about three kinds of views:
>
>
Django developers talk about three kinds of views:
- function views (FV)
- class-based views (CBV)
- generic class-based views (GCBV)
People do not make always make the difference between CBV and GCBV, which is
unfortunate, as they serve different purposes (naming things
n be re used Inside your application
>
> Verstuurd vanaf mijn iPhone
>
> Op 21 nov. 2018 om 18:26 heeft Gear Crew
> het volgende geschreven:
>
> what is difference between class based view and function based view and
> which I choose to build full website
>
> --
> Yo
You build webapps with functions
And functions You combine in classes
So the function can be re used Inside your application
Verstuurd vanaf mijn iPhone
> Op 21 nov. 2018 om 18:26 heeft Gear Crew het
> volgende geschreven:
>
> what is difference between class based view and fu
what is difference between class based view and function based view and
which I choose to build full website
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
8 matches
Mail list logo