[PYTHON] [Must read for beginners !?] Glossary of terms that stumbles when learning programming

Thanks! This is Teppei Mimachi. It's a difficult time for me, who is sweating in the middle of summer.

Well this time There was a memo that I put together in Word when I first learned that Python and Ruby exist in programming languages, so I am modifying it a little and writing it as an article. This is a summary of terms that programming beginners are not familiar with when learning.

CRUD The minimum function required when manipulating data.

Reference and citation source: https://wa3.i-3-i.info/word123.html

CI/CD Abbreviation for "Continuous Integration / Continuous Delivery", which is called continuous integration / continuous delivery in Japanese.

A software development method that constantly tests software changes and keeps them ready for production automatically.

Jenkins is famous as an on-premises type, and Travis CI and Circle CI are famous as a cloud type.

Reference and citation source: https://codezine.jp/article/detail/11083

Agile development

Agile means "quick" and "agile", and is one of the development methods that try to minimize risk by adopting a short development period unit called iteration.

Reference and citation source: https://www.nec-solutioninnovators.co.jp/column/01_agile.html#:~:text=%E3%82%A2%E3%82%B8%E3%83%A3%E3 % 82% A4% E3% 83% AB% E5% 9E% 8B% E9% 96% 8B% E7% 99% BA% E6% 8A% 80% E6% B3% 95,% E3% 81% A7% E9% 96% 8B% E7% 99% BA% E3% 82% 92% E3% 81% 97% E3% 81% BE% E3% 81% 99% E3% 80% 82

MVC model

In the MVC model, the contents of the program

It is classified into and made.

Reference and citation source: https://wa3.i-3-i.info/word11584.html Reference and citation source: https://umaroidblog.com/what_mvcmodel

pip pip is a tool for managing Python packages

On the package ・ What is officially distributed ・ Distributed by a third party There are two main types.

Third-party packages are distributed on a site called PyPI. Official site URL => https://pypi.org/

Officially distributed ones are usually installed automatically when you install Python, but third-party distributed packages need to be installed separately.

Use pip to install the packages distributed by this third party. Using pip makes it easier to manage your packages.

Reference and citation source: https://www.sejuku.net/blog/50417

Module package library

Reference and citation source: https://netdekagaku.com/module-package-lybrary/

module

For example, it corresponds to "parts" and "gears".

More specifically, all files with the extension ".py" are Python modules.

package

A package is a collection of modules.

For example, it's a "box."

Library

It allows you to install several packages at once.

It's easy if you understand it like module> package> library.

Reference and citation source: https://qiita.com/yutaro50/items/f93893a2d7b23cb05461 Reference and citation source: https://qiita.com/Usek/items/86edfa0835292c80fff5

protocol

The Internet connection uses the TCP / IP protocol. TCP / IP communication can be broadly divided into four functional hierarchies. The following protocols and standards apply to each layer. (1) Application layer HTTP (Hypertext Transfer Protocol) used for Web access, POP (Post Office Protocol) used for exchanging e-mails, SMTP (Simple Mail Transfer Protocol) (2) Transport layer TCP (Transmission Control Protocol) that controls data transmission to another computer, UDP (User Datagram Protocol) that sends datagrams to other hosts on the network (3) Internet layer IP(Internet Protocol) (4) Network interface layer Network standard Ethernet, etc.

Protocols with different roles function in each layer, and communication is realized only when each protocol such as HTTP and Ethernet cooperates in addition to TCP and IP. The communication protocol group is called a "protocol stack" in this way.

Reference and citation source: https://www.otsuka-shokai.co.jp/words/protocol.html

GET/POST

GET Methods to use for basically read-only features

POST There are the following examples.

Also, contrary to GET, it is defined as idempotent and unsafe.

Reference and citation source: https://qiita.com/kanataxa/items/522efb74421255f0e0a1

Absolute path, relative path

Reference and citation source: https://techacademy.jp/magazine/5801

Absolute path

Specify the page with a URL to ensure that your destination (information) is where it is. # Reverse resolution It is to find out the host name corresponding to the IP address using DNS or the like. Also, looking up the IP address from the host name is called "forward lookup".

Relative path

Tell where your destination (information) is based on where you are (hierarchy).

Forward lookup, reverse lookup

It is to find out the host name corresponding to the IP address using DNS or the like. Also, looking up the IP address from the host name is called "forward lookup".

Example) Forward pull www.example.com → 192.0.2.100 Example) Reverse lookup 192.0.2.100 → www.example.com

Reference and citation source: https://faq.interlink.or.jp/faq2/View/wcDisplayContent.aspx?id=94

override

One of the terms used in object-oriented inheritance of objects is to overwrite a method in a parent class on the child class by redefining a method in the parent class in the child class.

Reference and source: https://wa3.i-3-i.info/word138.html#:~:text=%E7%B6%99%E6%89%BF%E3%81%99%E3%82 % 8B% E3% 81% A8% E8% A6% AA% E3% 82% AF% E3% 83% A9% E3% 82% B9% E3% 81% A7,% E5% AD% 90% E3% 82% AF% E3% 83% A9% E3% 82% B9% E3% 81% A7% E4% BD% BF% E3% 81% 88% E3% 81% BE% E3% 81% 99% E3% 80% 82 & text = % E5% 90% 8C% E3% 81% 98% E3% 83% A1% E3% 82% BD% E3% 83% 83% E3% 83% 89% E3% 82% 92% E5% 86% 8D% E5 % AE% 9A% E7% BE% A9,% E6% 8C% 81% E3% 81% A3% E3% 81% A6% E3% 81% 84% E3% 82% 8B% E3% 81% A8% E3% 81% 97% E3% 81% BE% E3% 81% 97% E3% 82% 87% E3% 81% 86% E3% 80% 82

Method

A method is simply a function defined in a class.

Reference and citation source: https://www.sejuku.net/blog/64106 Reference and citation source: https://wa3.i-3-i.info/word1906.html

Member variables

Instance variable = member variable

References and citations: https://en.wikipedia.org/wiki/%E3%82%A4%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%B3%E3%82 % B9% E5% A4% 89% E6% 95% B0 Reference and citation source: https://wa3.i-3-i.info/word13563.html

Python class variables and instance variables

Reference and citation source: https://python.ms/attribute/#_1-%EF%BC%92%E3%81%A4%E3%81%AE%E5%B1%9E%E6%80%A7%E3 % 81% AE% E9% 81% 95% E3% 81% 84 Reference and citation source: https://uxmilk.jp/41600

Instance generation

Creating an instance. Reference and citation source: https://uxmilk.jp/39906

self There is something called self in the constructors and methods in the class. This self indicates the instance itself.

Reference and citation source: https://www.sejuku.net/blog/64106

instance

The class is "Taiyaki mold" Instance is "Taiyaki"

Reference and citation source: https://techacademy.jp/magazine/23289

if name == 'main': In a nutshell, if name=='main': is an if statement that determines if this Python file is "running like python filename.py".

Reference and citation source: https://blog.pyq.jp/entry/Python_kaiketsu_180207

Docker A container virtualization tool. It works so that application operations can be executed separately in containers, or even if the container is moved to another OS.

Reference and citation source: https://www.kagoya.jp/howto/rentalserver/docker/

constructor

A constructor is a method (function) that is executed when an object is created. It mainly initializes variables handled by objects. Objects are created based on the class.

Reference and citation source: https://techacademy.jp/magazine/18842

at the end

We would like to thank all the creators of the "reference and citation sources" for this article.

Recommended Posts

[Must read for beginners !?] Glossary of terms that stumbles when learning programming
Learning history of programming transcendence beginners
[For beginners of artificial intelligence] Machine learning / Deep Learning Programming Learning path and reference books
List of links that machine learning beginners are learning
[For beginners of competitive pros] Three input methods to remember when starting competitive programming in Python
[For beginners] A word summary of popular programming languages (2018 version)
Learning flow for Python beginners
Overview of Docker (for beginners)
1st month of programming learning
[Python machine learning] Recommendation of using Spyder for beginners (as of August 2020)