Skip to content

Commit

Permalink
fix broken doc link to django function views
Browse files Browse the repository at this point in the history
  • Loading branch information
patgmiller committed Jan 22, 2024
1 parent 149a47d commit 16f8192
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- django
- composition
---
For the pass two years I've been developing in Python with the [Django](https://www.djangoproject.com/) framework and I have thoroughly enjoyed. As much as possible I have attempted to build tools that follow the DRY, Don't Repeat Yourself, principle. With Django 1.3+ they released [Classed Based Views](https://docs.djangoproject.com/en/dev/topics/class-based-views/) Classed Based Views</a> (CBV), which, in my opinion lend themselves more to generic applications than do the [Function Based Views](https://docs.djangoproject.com/en/1.3/ref/generic-views/) Function Based Views</a> (FBV).
For the pass two years I've been developing in Python with the [Django](https://www.djangoproject.com/) framework and I have thoroughly enjoyed. As much as possible I have attempted to build tools that follow the DRY, Don't Repeat Yourself, principle. With Django 1.3+ they released [Classed Based Views](https://docs.djangoproject.com/en/dev/topics/class-based-views/) Classed Based Views</a> (CBV), which, in my opinion lend themselves more to generic applications than do the [Function Based Views](https://docs.djangoproject.com/en/dev/topics/http/views/) Function Based Views</a> (FBV).
<!--more-->

There are varied opinions on the Internet regarding the pros and cons of the two methods. Generallyarguments are out that FBV's are simpler, easier to maintain, and troubleshoot while being somewhat rigid in application and the CBV's are complex, harder to maintain, and troubleshoot, while being highly flexible therefore very reusable in different applications. In my experience I have found most of that to be correct, that being said I have used the FBV and then put some time into learning the CBV and the end result is that I greatly prefer the CBV's over the FBV's.
Expand Down

0 comments on commit 16f8192

Please sign in to comment.