From b0157c6638cee85b9b10969169940b24d3217e71 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 19:21:42 +0200 Subject: [PATCH 01/10] Add Django introduction mindmap doc (GH-221) --- mindmaps/django-intro.mmd | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mindmaps/django-intro.mmd diff --git a/mindmaps/django-intro.mmd b/mindmaps/django-intro.mmd new file mode 100644 index 000000000..94da25b99 --- /dev/null +++ b/mindmaps/django-intro.mmd @@ -0,0 +1,40 @@ +--- +Introduction to Django web framework +--- + +mindmap + root(Django Introduction) + about)About( + Frameworks + Libraries + hiw))How
internet
works(( + diagram[Request-Response cycle
diagram] + response)What is
RESPONSE?( + request)What is
REQUEST?( + methods{{Request methods}} + mvc(Model, View, Controller
design pattern) + mvc_m[Model] + ::{{Data manipulation}} + mvc_v[View] + ::{{Data representation}} + mvc_c[Controller] + ::{{Model-to-view mapper}} + mvt(Model, View, Template
design pattern) + dj_m[Model] + ::{{Data manipulation}} + dj_v[View] + ::{{Request-response handlers}} + dj_t[Template] + ::{{Data representation}} + how_to)How to( + Install Django + Create project + Run project for the first time + structure[Django project structure] + ::{{Entry points}} + ::{{Settings}} + ::{{URL Configurations}} + apps[Django applications] + Create app + ::{{AppConfig}} + Install app From ca84b1d368b771ecc1993400a049168d0b421a1d Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 19:30:40 +0200 Subject: [PATCH 02/10] Update db normalization mindmap (GH-202) --- mindmaps/rdbms-normalization.mmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mindmaps/rdbms-normalization.mmd b/mindmaps/rdbms-normalization.mmd index 053c383b1..7b62dd095 100644 --- a/mindmaps/rdbms-normalization.mmd +++ b/mindmaps/rdbms-normalization.mmd @@ -1,3 +1,7 @@ +--- +Database normalization +--- + mindmap root((Normalization)) def)Definition( From aff2d217cfc689e15d59ac46cd4a6bd750961fa9 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 19:47:43 +0200 Subject: [PATCH 03/10] Add ACID mindmap (GH-206) --- mindmaps/rdbms-acid.mmd | 17 +++++++++++++++++ src/refs.bib | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 mindmaps/rdbms-acid.mmd diff --git a/mindmaps/rdbms-acid.mmd b/mindmaps/rdbms-acid.mmd new file mode 100644 index 000000000..3b724e8ad --- /dev/null +++ b/mindmaps/rdbms-acid.mmd @@ -0,0 +1,17 @@ +--- +ACID - Atomicity, Consistency, Isolation, Durability +--- + +mindmap + root((ACID)) + term)transactions( + A(Atomicity) + Individual operations + ::[All or nothing] + C(Consistency) + ::{{valid state}} + From valid state to another valid state + I(Isolation) + Isolation principle + levels[Isolation levels] + D(Durability) diff --git a/src/refs.bib b/src/refs.bib index 8c6a65414..2967fbb60 100644 --- a/src/refs.bib +++ b/src/refs.bib @@ -225,3 +225,9 @@ @misc{medium:db-acid-cap date = {2017.1.12}, url = {https://cinish.medium.com/database-acid-cap-isolation-levels-371b7e06a112} } + +@misc{medium:db-acid-4, + title = {Database : ACID transactions}, + author = {Pier-Jean Malandrino}, + url = {https://medium.com/scub-lab/database-acid-transactions-d2fcc99d8834}, +} From 373b50dd4e454c1e3c2721811e0448fb38d69ee7 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 20:15:52 +0200 Subject: [PATCH 04/10] Add functions mindmap (GH-216) --- mindmaps/basics-function.mmd | 22 ++++++++++++++++++++++ src/refs.bib | 14 ++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 mindmaps/basics-function.mmd diff --git a/mindmaps/basics-function.mmd b/mindmaps/basics-function.mmd new file mode 100644 index 000000000..656ad4e3b --- /dev/null +++ b/mindmaps/basics-function.mmd @@ -0,0 +1,22 @@ +--- +Python functions +--- + +mindmap + root(Python functions) + term)Definition( + def[Function definition syntax] + example + scope{{Variables scopes}} + ::[Arguments] + positional arguments + keyword arguments + ::{{Special cases}} + default values + ::[Variable number of arguments] + pos(Positional arguments) + kw(Keyword arguments) + m_args{{Mutable arguments}} + ::{{special case: default values}} + return[return statement] + lambda(Lambda functions) diff --git a/src/refs.bib b/src/refs.bib index 2967fbb60..66dc309c1 100644 --- a/src/refs.bib +++ b/src/refs.bib @@ -231,3 +231,17 @@ @misc{medium:db-acid-4 author = {Pier-Jean Malandrino}, url = {https://medium.com/scub-lab/database-acid-transactions-d2fcc99d8834}, } + +@misc{realpython:functional, + title = {Functional Programming in Python: When and How to Use It}, + author = {John Sturtz}, + date = {2017.2.17}, + url = {https://realpython.com/python-functional-programming/}, +} + +@misc{medium:func, + title = {Python Function MindMap}, + author = {Ushadeep P.}, + date = {2021.9.25}, + url = {https://medium.com/@ushadeep123/python-function-mindmap-c1c747f5d4da}, +} From b0b7716c7c53a8d1827feb11945593fe10dcdd02 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 20:20:51 +0200 Subject: [PATCH 05/10] Update functions mindmap (GH-216) --- mindmaps/basics-function.mmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mindmaps/basics-function.mmd b/mindmaps/basics-function.mmd index 656ad4e3b..fc7de8e9d 100644 --- a/mindmaps/basics-function.mmd +++ b/mindmaps/basics-function.mmd @@ -20,3 +20,6 @@ mindmap ::{{special case: default values}} return[return statement] lambda(Lambda functions) + recursion)Resive functions( + base case + recursive case From 89533cf54b377f63397f3abe179dc982206e029d Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 20:47:53 +0200 Subject: [PATCH 06/10] Add DTL mindmap (GH-89, GH-224) --- mindmaps/django-templates.mmd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mindmaps/django-templates.mmd diff --git a/mindmaps/django-templates.mmd b/mindmaps/django-templates.mmd new file mode 100644 index 000000000..07cea9539 --- /dev/null +++ b/mindmaps/django-templates.mmd @@ -0,0 +1,26 @@ +--- +Django templates +--- + +mindmap + root(Django templates) + settings + ::icon(fas fa-gear) + ::[Template directories] + ::icon(fas fa-folder) + ::{{Apps templates}} + render(render function) + ctx[context] + dtl)Django
template
language( + syntax((Syntax)) + tags + variables + filters + comments + ::(access data) + ::(conditions) + ::(loops) + ::(include) + ::(templates
inheritance) + ctg{{Custom template tags}} + templatetags From 14f323ee54f5d51b425b208c5553a417c9a8e234 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 21:05:25 +0200 Subject: [PATCH 07/10] Add Django models mindmap (GH-90, GH-225) --- mindmaps/django-models.mmd | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 mindmaps/django-models.mmd diff --git a/mindmaps/django-models.mmd b/mindmaps/django-models.mmd new file mode 100644 index 000000000..ac9125229 --- /dev/null +++ b/mindmaps/django-models.mmd @@ -0,0 +1,49 @@ +--- +Django models +--- + +mindmap + root(Django models) + ::)Definition( + settings + ::icon(fas fa-gear) + ::{{connect to DB}} + dbs[sqlite
postgres
mysql] + ::icon(fas fa-database) + ::{{Define a model}} + models.Field + null + blank + choices + editable + help_text + primary_key + unique + verbose_name + validators + fields[Fields] + txt(Text fields) + CharField + max_length + SlugField + TextField + ::{{special cases}} + FileField + ImageField + URLField + num(Numeric fields) + IntegerField + DecimalField + datetime(Date/time fields) + DateField + TimeField + DateTimeField + rel(Relationships) + ::[1-to-1] + ::[1-to-N: foreign key] + ::[m2m: many to many] + through + ::icon(fas fa-table) + migrations + ::{{Schema migrations}} + ::{{Data migrations}} From 38154bf248efc106c470074645a9283062891bb4 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 21:38:33 +0200 Subject: [PATCH 08/10] Update Django models mindmap (GH-90, GH-225) --- mindmaps/django-models.mmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mindmaps/django-models.mmd b/mindmaps/django-models.mmd index ac9125229..ea749ae6e 100644 --- a/mindmaps/django-models.mmd +++ b/mindmaps/django-models.mmd @@ -45,5 +45,7 @@ mindmap through ::icon(fas fa-table) migrations + makemigrations[Make migrations] + migrate[Migrate] ::{{Schema migrations}} ::{{Data migrations}} From b6b10301d1bb14db8146cf498283438445609615 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Mon, 4 Mar 2024 21:44:26 +0200 Subject: [PATCH 09/10] Update Django models mindmap (GH-90, GH-225) --- mindmaps/django-models.mmd | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mindmaps/django-models.mmd b/mindmaps/django-models.mmd index ea749ae6e..5fcc5f0f4 100644 --- a/mindmaps/django-models.mmd +++ b/mindmaps/django-models.mmd @@ -10,7 +10,7 @@ mindmap ::{{connect to DB}} dbs[sqlite
postgres
mysql] ::icon(fas fa-database) - ::{{Define a model}} + ::[Define a model] models.Field null blank @@ -49,3 +49,14 @@ mindmap migrate[Migrate] ::{{Schema migrations}} ::{{Data migrations}} + admin(Site admin) + register model to admin site + admin site configuration + ::icon(fas fa-user-tie) + usage + add + ::icon(fas fa-plus) + remove + ::icon(fas fa-trash) + modify + ::icon(fas fa-edit) From 70f38389e49375b835b988215c54f166a8994bd0 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Tue, 5 Mar 2024 09:47:18 +0200 Subject: [PATCH 10/10] Add RDBMS relationships mindmap --- mindmaps/rdbms-relationship.mmd | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mindmaps/rdbms-relationship.mmd diff --git a/mindmaps/rdbms-relationship.mmd b/mindmaps/rdbms-relationship.mmd new file mode 100644 index 000000000..1fb216d65 --- /dev/null +++ b/mindmaps/rdbms-relationship.mmd @@ -0,0 +1,29 @@ +--- +Database relationships +--- + +mindmap + root(Relationships) + ::{{Constraints}} + pk[Primary key] + ::icon(fas fa-key) + fk[Foreigh key] + ::(1-to-1) + ::{{unique foreign key}} + ::[table] + ::icon(fas fa-a) + ::[table] + ::icon(fas fa-b) + ::(1-to-N) + ::{{foreign key}} + ::[table] + ::icon(fas fa-a) + ::[table] + ::icon(fas fa-b) + m2m(Many-to-many) + ::[relation table] + ::icon(fas fa-table) + ::[table] + ::icon(fas fa-a) + ::[table] + ::icon(fas fa-b) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy