diff options
Diffstat (limited to 'content/posts/2022-01-31-luna-django.md')
-rw-r--r-- | content/posts/2022-01-31-luna-django.md | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/content/posts/2022-01-31-luna-django.md b/content/posts/2022-01-31-luna-django.md index 1be54b1..7eefbb4 100644 --- a/content/posts/2022-01-31-luna-django.md +++ b/content/posts/2022-01-31-luna-django.md @@ -13,7 +13,33 @@ writing a client for [lotide][lotide] named [Luna][luna]. And you might also have seen me saying it's using Django as framework and my remark on it being unfitting. I am going to elaborate more on this in this post. -- Django: full-fledged, multi-app web project (view, model, db migration) +[lotide]: https://sr.ht/~vpzom/lotide/ +[luna]: https://sr.ht/~huyngo/luna/ + +## Django + +[Django is a batteries-included web backend framework][django]. It includes: + +- web server +- router +- database connector and <abbr title="object-relational mapper">ORM</abbr> +- database migration tool +- authentication +- admin tool +- command line framework +- templating engines +- internationalization tools +- form handlers +- email + +There is a lot more that can be installed as plugins, and some of these tools +can be unplugged from the `INSTALLED_APPS` in the settings. However, I'm +talking about the *default* here: + +[django]: https://en.wiktionary.org/wiki/batteries-included + +## Luna + - Luna: just a frontend (just the view part) - overhead (a lot of setting) - origin: trying out stuff @@ -22,5 +48,4 @@ it being unfitting. I am going to elaborate more on this in this post. - back to flask/quart for [Yue][yue], since Jinja supports internationalization well - can use it for back end of another app (pandict). -[lotide]: https://sr.ht/~vpzom/lotide/ -[luna]: https://pypi.org/project/lotide_luna/ +[yue]: https://sr.ht/~huyngo/Yue/ |