diff --git a/mindmaps/basics-function.mmd b/mindmaps/basics-function.mmd new file mode 100644 index 000000000..fc7de8e9d --- /dev/null +++ b/mindmaps/basics-function.mmd @@ -0,0 +1,25 @@ +--- +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) + recursion)Resive functions( + base case + recursive case 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 diff --git a/mindmaps/django-models.mmd b/mindmaps/django-models.mmd new file mode 100644 index 000000000..5fcc5f0f4 --- /dev/null +++ b/mindmaps/django-models.mmd @@ -0,0 +1,62 @@ +--- +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 + makemigrations[Make migrations] + 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) 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 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/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( 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) diff --git a/src/refs.bib b/src/refs.bib index 8c6a65414..66dc309c1 100644 --- a/src/refs.bib +++ b/src/refs.bib @@ -225,3 +225,23 @@ @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}, +} + +@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}, +} 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