Questions #1


How is m2m communication implemented at the database level?



Download 85,32 Kb.
bet14/24
Sana06.07.2022
Hajmi85,32 Kb.
#752107
1   ...   10   11   12   13   14   15   16   17   ...   24
Bog'liq
interview en

How is m2m communication implemented at the database level?
If there are models A and B with a many-to-many relationship, then a bridge table named a_to_b is created that stores the key on A, the key on B, and additional information, such as the time the relationship was created. This table is concatenated with A and B with a JOIN statement.

  • How did you deploy web applications in production?

Is it better to submit a form - GET or POST?
The form can be submitted both ways. In the first case, the variables are attached to the query string after the question mark. In the second, they are transmitted in the request body.
The technical limitation of the GET method is that they cannot transfer a file, unlike POST.
It is desirable to submit the form using the POST method for the following reasons:

  • GET requests can be cached, especially in IE family browsers

  • GET requests end up in provider, server, browser history logs. Password and login to light up in many places

  • some viruses monitor the contents of the address bar and forward them to third parties.

What is REST?
REST (Representational state transfer) is an agreement on how to build services. REST is often referred to as the so-called HTTP REST API. As a rule, this is a web application with a set of urls - endpoints. Urls accept and return data in JSON format. The operation type is set by the HTTP request method, for example:

  • GET - get an object or a list of objects

  • POST - create object

  • PUT - update an existing object

  • DELETE - delete an object

  • HEAD - get object metadata

The REST architecture actively uses the capabilities of the HTTP protocol to avoid the so-called. "bicycles" - own solutions. For example, caching parameters are passed by standard Cache, If-Modified-Since, ETag headers. Authorization - header Authentication.

Download 85,32 Kb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   ...   24




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish