- Django Design Patterns and Best Practices
- Arun Ravindran
- 122字
- 2021-07-23 19:36:21
Before starting the project
While preparing a development environment, make sure that you have the following in place:
- A fresh Python virtual environment: Python 3 includes the
venv
module or you can installvirtualenv
. Both of them prevent polluting your global Python library. - Version control: Always use a version control tool such as Git or Mercurial. They are life savers. You can also make changes much more confidently and fearlessly.
- Choose a project template: Django's default project template is not the only option. Based on your needs try others such as
twoscoops
(https://github.com/twoscoops/django-twoscoops-project) oredge
(https://github.com/arocks/edge). - Deployment pipeline: I usually worry about this a bit later, but having an easy deployment process helps to show early progress. I prefer Fabric or Ansible.
推薦閱讀
- Mastering Visual Studio 2017
- Python科學計算(第2版)
- Linux C/C++服務器開發實踐
- C語言程序設計基礎與實驗指導
- Nexus規模化Scrum框架
- Mastering Rust
- Android Wear Projects
- Building Machine Learning Systems with Python(Second Edition)
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- PHP 7從零基礎到項目實戰
- Lift Application Development Cookbook
- Java7程序設計入門經典
- 企業級Java現代化:寫給開發者的云原生簡明指南
- SAP HANA Cookbook
- 編寫高質量代碼:改善JavaScript程序的188個建議