프로젝트
GitHub에서 보기
phalt/django-api-domains
소개
Django API 프로젝트를 위한 실용적인 스타일 가이드입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original⚠️ Currently stable and unlikely to change much, provide feedback here ⚠️
Check out my new project for OpenAPI Clients: Clientele

Django API Domains
Style guides for the API age
| Version | Author(s) | Date |
|---|---|---|
| 1.2.1 | Paul Hallett [email protected] | 25-09-2019 |
| 1.2 | Paul Hallett [email protected] | 10-06-2019 |
| 1.1 | Paul Hallett [email protected] | 09-04-2019 |
| 1.0 | Paul Hallett [email protected] | 01-02-2019 |
Introduction
This styleguide combines domain-driven design principles and Django's apps pattern to provide a pragmatic guide for developing scalable API services with the Django web framework.
This styleguide tries to tackle two big problems:
- Design philosophies and design patterns work in "ideal" situations, and most real life problems do not represent this ideal world. Therefore we need to develop a flexible pattern that can adjust to support different situations.
- The original design and documentation of Django is geared heavily towards server-side-rendered-view applications, yet most modern Django applications are built to serve APIs for a separate frontend application. Therefore, Django's patterns are outdated for today's trends.
In order to overcome these problems, this styleguide tries to achieve the following five goals:
- Treat Django's
appsmore like softwaredomains. - Extend Django's
appsimplementation to support strong bounded context patterns betweendomains. - Enable separation of domains to happen when it makes sense for increased development velocity, not just for business value.
- Design a styleguide that reduces the effort involved in extracting the code for large domains into separate application servers.
- Make sure the styleguide compliments API-based applications.
Read the styleguide
The styleguide is now published as a readable documentation site. You can view it at https://phalt.github.io/django-api-domains/ or view the docs folder directly.
관련 프로젝트 살펴보기
불러오는 중…