User Tools

Site Tools


information-technology:2020-django-framework
                      change site colors:
                      

Introduction to the Django Framework

Minimal Django

Sources:
https://simpleisbetterthancomplex.com/article/2017/08/07/a-minimal-django-application.html
https://softwaremaniacs.org/blog/2011/01/07/django-micro-framework
https://github.com/rnevius/minimal-django

The best way to understand a software package, is to reverse-engineer it to its simplest form. The following articles do just that. Click to expand.

o

simpleisbetterthancomplex A Minimal Django Application


o

softwaremaniacs Django as Micro-Framework


o

rnevius Minimal Django


To ORM or Not To ORM

https://www.openriskmanual.org/wiki/Overview_of_the_Julia-Python-R_Universe
https://database.blog/a-case-for-orm-a-case-against-orm

https://www.programmersought.com/article/41723831284
https://opensource.com/article/17/11/django-orm

Peewee vs Django ORM, if you are already using Django:
https://stackoverflow.com/questions/20758839/peewee-vs-django-for-db-processing
Quickly translate Django model defintions into Peewee, if wanting to use Peewee:
http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#djpeewee

However, for the sake of being minimalistic in the number of software layers, you can use .raw() in Django to write straight SQL, avoiding ORM altogether.



You could leave a comment if you were logged in.
information-technology/2020-django-framework.txt · Last modified: 2023/12/21 04:33 by 127.0.0.1