The magic of ViewSets in Django Rest Framework
Submitted by Kapil Bakshi (@kapilbakshi) on Thursday, 14 September 2017
Technical level: Intermediate Status: Submitted
Learn to master this killer weapon of ViewSet which can help us write apis much faster and with quite less number of lines of code. A ViewSet is a class that provides the functionality of a set of views which are closely related. Get Ready to take your development efficiency to a higher level.
1.) Why ViewSets ?
2.) Refactoring to use ViewSets
3.) Binding ViewSets to URLs explicitly
4.) Using Routers
5.) Trade-offs between Views vs ViewSets
6.) Demoes In Action
Kapil Bakshi is a very passionate techie with an aim to embrace technology, imbibe every bit of it, transcend all the barriers and turn ideas into reality. His experience spans across edtech, fintech and logistics sectors where he has developed things from scratch taking them to a level where they have scaled drastically and have become a brand in their respective domains.
He is currently working at BlackBuck which is redefining the logistics landscape of India, making it reliable and efficient. Kapil is playing an important role there to improve quality of all apps, doing optimisations and helping the company scale to go much beyond.
He is a full stack developer and many times single-handedly built complex features which have proven to be very beneficial for business.
His areas of interest include testing, architectural best practices and security.