Qhov txawv ntawm Web Server thiab Database Server

Qhov txawv ntawm Web Server thiab Database Server
Qhov txawv ntawm Web Server thiab Database Server

Video: Qhov txawv ntawm Web Server thiab Database Server

Video: Qhov txawv ntawm Web Server thiab Database Server
Video: Hmoob/Hmong: Muaj duab yeeb yaj kiab saib coj qhia teb 2020 Kev Suav Pej Xeem saum huab cua ntawm 2024, Hlis ntuj nqeg
Anonim

Web Server vs Database Server

A Web Server thiab Database Server yog ib yam uas tau tsis meej pem los ntawm ntau tus neeg. Qhov no yog vim hais tias, raws li ib tug txheej txheem cej luam, feem ntau cov neeg pom lawv ua hauj lwm zoo sib xws. Hauv qhov tseem ceeb, ob qho tib si Database server thiab Web server muab kev pabcuam los pab txhawb kev tsim kho hauv internet. Peb yuav tham txog cov no cais thiab txheeb xyuas qhov sib txawv ntawm lawv.

Web Server

Ib lub vev xaib tuaj yeem yog ib chav software lossis chav kho vajtse. Peb yuav tham txog ob qho tib si no ua ke. Hauv cov ntsiab lus layman, lub web server yog qhov chaw uas koj khaws cov ntsiab lus ntawm lub vev xaib. Thaum koj ntaus hauv www.differencebetween.com hauv koj lub web browser, qhov chaw nyob tau muab txhais rau IP chaw nyob ntawm tus neeg rau zaub mov uas cov ntaub ntawv ntawm DB khaws cia. Qhov chaw khaws cia no yog qhov tseem ceeb ntawm lub vev xaib neeg rau zaub mov thiab pab txhawb kev pabcuam HTML cov ntsiab lus rau txhua tus neeg thov nws.

keeb kwm ntawm lub vev xaib servers rov qab mus rau xyoo 1990, thaum Tim Berners Lee coded thawj qhov web browser thiab lub vev xaib server. Qhov no tau hu ua CERN htttpd, thiab pab txhawb kev yooj yim ntawm kev siv internet. Lub tswv yim tom qab nws yog los tsim ib lub tswv yim los pauv cov ntaub ntawv ntawm lub web server thiab lub web browser kom yooj yim thiab zoo ib yam. Yog li, kev sib txuas lus tshwm sim los ntawm HTTP (Hyper Text Transfer Protocol) hu. Thaum xyoo 1994s lig, Tim Barnes Lee tau tsim lub Ntiaj Teb Wide Web Consortium txhawm rau tswj hwm thiab ua qauv kev txhim kho ntawm lub vev xaib thev naus laus zis suav nrog web servers.

Nrog rau cov kev txhim kho tsis ntev los no, Web Server tuaj yeem ua haujlwm cov ntsiab lus zoo siv cov lus sau ntawv sab nraud xws li PHP, ASP lossis JSP, thiab. Lawv pab ntau tus neeg siv xws li web browsers ntawm PCs, routers, printers, web cams thiab lwm yam. Lwm qhov tshwj xeeb uas tuaj yeem pom hauv web servers yog lub peev xwm kom tau txais cov ntaub ntawv los ntawm cov neeg siv khoom siv cov txheej txheem xws li cov ntawv lossis uploading. Piv txwv li, thaum koj tawm tswv yim rau hauv tsab xov xwm no, lub web server tau txais cov ntsiab lus koj siv los tawm tswv yim thiab khaws nws.

Database Server

A database server yog ntau ntawm software tivthaiv dua li cov khoom siv kho vajtse. Nws tuaj yeem muab kev pabcuam database rau lwm cov kev pabcuam uas nyob hauv tib lub computer lossis lwm lub network. Lub database server ua haujlwm hauv cov neeg siv khoom-neeg rau zaub mov architecture, thiab qhov no tau lees paub los ntawm Database Management System koj siv. Yog li, lub database server yeej ib txwm npaj los muab cov ntaub ntawv nrhiav los ntawm nws cov neeg siv khoom.

Muaj qee qhov zoo ntawm kev siv database server zoo li tuaj yeem khaws tag nrho cov ntaub ntawv hauv ib qhov chaw, muaj peev xwm tswj hwm kev ntsuas kev nyab xeeb seamlessly, qhov zoo dua ntawm kev tswj hwm cov kev pabcuam, muaj peev xwm nkag mus rau database ib txhij. Qhov tseem ceeb tshaj plaws, tus neeg rau zaub mov database ua kom muaj kev hloov kho sai thiab rov qab tau koj cov ntaub ntawv, uas yog qhov tseem ceeb rau kev ua haujlwm. Yog li, tus neeg rau zaub mov database yog qhov ua tau zoo dua thiab ua haujlwm zoo dua li cov ntaub ntawv yooj yim siv los khaws cov ntaub ntawv.

Zaj lus

A database server thiab web server muab cov kev pabcuam sib txawv txawm tias lawv zoo li ua tib yam. Yog tias koj saib ze, koj tuaj yeem txheeb xyuas qhov xwm txheej ntawm lawv ua haujlwm ua ke. Saib ib tug scenario zoo li no. Koj tshawb xyuas qhov sib txawv ntawm.com thiab xav paub cov ntawv sau los ntawm tus kws sau ntawv tshwj xeeb. Thaum koj thawj ntaus ntawv nyob rau hauv qhov chaw nyob, qhov kev thov HTTP tau txais los ntawm lub web server, thiab nws muab cov nplooj ntawv HTML koj pom raws li lub home page ntawm DB. Thaum koj nyem rau ntawm ib tus kws sau ntawv tshwj xeeb txhawm rau khaws nws cov ntawv, cov lus sau uas siv hauv lub vev xaib server (PHP / ASP lossis JSP) nkag mus rau database server siv cov lus ntawm lub database (MySQL / MSSQL lossis Oracle) txhawm rau khaws thiab xa. cov ntsiab lus tsim nyog rau lub vev xaib server. Lub web server ces xa cov ntaub ntawv no rau koj ntawm HTTP siv HTML.

Yog li hauv cov ntsiab lus, tus neeg rau zaub mov database cuam tshuam nrog databases thaum lub vev xaib server cuam tshuam nrog kev pabcuam zoo li qub lossis cov ntsiab lus zoo li cov nplooj ntawv web rau cov neeg siv khoom.

Pom zoo: