Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 13, 2019 05:31 pm GMT

Why were writing a Django book specifically for portfolio projects and MVPs

TLDR: The hardest part of building web applications is rarely using the framework itself or even the business logic. Its cleanly integrating your app into all of the other tools involved in a modern web app. So were writing a book specifically about building and deploying a production-ready Django API that you can be proud of.

I remember feeling stupid while I was first learning about web programming. I picked Django because I liked Python, and while there were great resources online, it never felt like I knew quite enough to put a project I was proud of onto Github or Hacker News.

Most documentation and tutorials only covered building something that you could run safely on your own computer, or they were way too technical for me. Every time I tried to integrate with a new tool or service there were new headaches and problems that slowed my progress. It took years for me to feel confident showing off the apps I built.

I didnt want to build toy applications. I wanted to build production apps that were safe and scalable enough to release onto the open web.

When my co-author Bryan and I started planning Fullstack Django APIs, we asked what problems existed within the Django ecosystem in general, and Django Rest Framework in particular. We could write a huge reference book on Django, but that seemed like a waste of time. Django already has expansive, mature documentation online. Books like Two Scoops of Django and Test Driven Development with Django are gold standards in their respective domains. We wanted to create something that complemented the existing materials, rather than trying to compete with it.

So we outlined areas of confusion. They included:

  • How do I deploy a live production application?
  • Where do I put my business logic?
  • How do I store configs and credentials in a secure manner?
  • How do I handle authentication?
  • What type of DB should I use and how do I connect to it on my own computer vs a live, production database.
  • How do all of the pieces of Django fit together?
  • What are task queues and when should I use them?
  • To cache or not to cache?

It eventually became clear that those areas of confusion werent unique to just us. Lots of new Djangonauts get excited about the possibility of making and deploying cool projects, but are bogged down by the difficulty of integrating their APIs into a broader development environment.

So thats who were writing a book to help. Our goal is for junior and intermediate level developers to work through Fullstack Django APIs and leave with the confidence and skills needed to make a production-ready API. Something that they can show to recruiters or clients, and feel comfortable using to build live web services that store data from real users.

If were successful, this is something that every tech company using Django will give to new hires so theyre ready to write production code. We know thats an ambitious goal, but were excited about the progress that weve already made in this area. Ill get more specific with the details as we near the release date, but until then, Im excited to share more about the process here on Dev.to.

If youre interested in the project and would like access to the first chapter once its released, you can sign up here to stay in the loop.


Original Link: https://dev.to/jamestimmins/why-we-re-writing-a-django-book-specifically-for-portfolio-projects-and-mvps-463i

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To