Server side API yog dab tsi?
Server side API yog dab tsi?

Video: Server side API yog dab tsi?

Video: Server side API yog dab tsi?
Video: Dab laug raws Dais 7/23/2017 2024, Kaum ib hlis
Anonim

Server sab . A server - sab web API yog ib qho programmatic interface uas muaj ib lossis ntau qhov tshaj tawm cov ntsiab lus tshaj tawm rau cov lus thov-lus teb, feem ntau hais hauv JSON lossis XML, uas tau nthuav tawm los ntawm lub vev xaib-feem ntau los ntawm kev siv HTTP-raws li lub vev xaib server.

Ib yam li ib tug yuav nug, dab tsi yog server sab ua?

Server - sab ua yog siv los cuam tshuam nrog kev khaws cia ruaj khov xws li databases lossis cov ntaub ntawv. Cov server tseem yuav muab cov nplooj ntawv rau cov tus neeg siv khoom thiab txheej txheem cov neeg siv tswv yim. Server - sab ua tshwm sim thaum nplooj ntawv thov thawj zaug thiab thaum nplooj ntawv raug xa rov qab mus rau server.

Tsis tas li ntawd, dab tsi yog server sab code lub luag haujlwm tseem ceeb? Tam sim no koj tau kawm qhov ntawd server - sab code yog khiav ntawm ib lub vev xaib server thiab tias nws lub luag haujlwm tseem ceeb yog tswj cov ntaub ntawv xa mus rau tus neeg siv (thaum tus neeg siv khoom - sab code feem ntau tuav cov qauv thiab kev nthuav qhia ntawm cov ntaub ntawv ntawd rau tus neeg siv).

Ib yam li ntawd, server side programming language yog dab tsi?

Cov ntsiab lus. Server - sab lus , as opposed to tus neeg siv khoom - sab lus , yog programming lus uas ua cov haujlwm ntawm lub server , ua ntej nplooj ntawv xa mus rau qhov browser rau rendering.

Ib qho piv txwv ntawm API yog dab tsi?

Ib API specification tuaj yeem siv tau ntau hom, tab sis feem ntau suav nrog cov kev qhia tshwj xeeb rau cov haujlwm niaj hnub, cov ntaub ntawv qauv, cov chav kawm khoom, kev hloov pauv, lossis kev hu xovtooj. POSIX, Windows API thiab ASPI yog piv txwv ntawm ntau hom ntawm APIs.

Pom zoo: