diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-01-21 17:34:56 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-01-21 17:34:56 +0700 |
commit | 9e1017884b9cb373cf097aab22f3fa2ed3d50c86 (patch) | |
tree | 1d90d48cb53260ff1f9d09c77d2ad05ebfdda02e | |
parent | b7649e669a72689f8f490a45e0c871f474678d29 (diff) | |
download | blog-9e1017884b9cb373cf097aab22f3fa2ed3d50c86.tar.gz |
Update post
-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/ |