Dab tsi yog ib nplooj ntawv thov hauv asp net?
Dab tsi yog ib nplooj ntawv thov hauv asp net?

Video: Dab tsi yog ib nplooj ntawv thov hauv asp net?

Video: Dab tsi yog ib nplooj ntawv thov hauv asp net?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Lub peb hlis ntuj
Anonim

Ib leeg - Nplooj ntawv thov (SPAs) yog Web apps tas load a ib leeg HTML nplooj thiab dynamically hloov tshiab uas nplooj raws li tus neeg siv cuam tshuam nrog lub app. SPAs siv AJAX thiab HTML5 los tsim cov kua dej thiab lub vev xaib teb apps , tsis tas li nplooj reloads. Txawm li cas los xij, qhov no txhais tau tias ntau qhov haujlwm tshwm sim ntawm tus neeg siv khoom, hauv JavaScript.

Ua li no, ib nplooj ntawv thov piv txwv yog dab tsi?

Ib nplooj ntawv thov yog ib qho app uas ua haujlwm hauv browser thiab tsis xav tau nplooj reloading thaum siv. Muaj ntau yam piv txwv ntawm SPAs nyob ib ncig ntawm lub vas uas koj siv txhua hnub, xws li Google, Gmail, Maps, Facebook, Twitter lossis GitHub thiab lwm yam.

Qhov thib ob, yog ASP NET MVC ib nplooj ntawv thov? Abstract: siv ASP . NET Web API, MVC thiab Angular. js tsim a Ib nplooj ntawv thov (SPA) uas txhawb nqa kev ua haujlwm CRUD. A Ib nplooj ntawv thov (SPA) yog lub vev xaib daim ntawv thov uas haum on ib web nplooj.

Kuj paub, txhais li cas los ntawm ib nplooj ntawv thov?

A ib leeg - nplooj ntawv thov (SPA) yog lub vev xaib daim ntawv thov los yog lub vev xaib uas cuam tshuam nrog tus neeg siv los ntawm dynamically rewriting tam sim no nplooj es tsis thauj tag nrho cov tshiab nplooj ntawv los ntawm lub server. Kev sib tham nrog cov ib leeg - nplooj ntawv thov feem ntau cuam tshuam nrog kev sib txuas lus zoo nrog lub vev xaib server tom qab qhov xwm txheej.

Puas yog ib nplooj ntawv thov zoo?

Qhov zoo ntawm Ib leeg - Nplooj ntawv thov Txij li thaum ib leeg - nplooj ntawv thov tsis hloov tag nrho nplooj tab sis tsuas yog xav tau cov ntsiab lus, lawv txhim kho lub vev xaib nrawm. Feem ntau cov peev txheej (HTML / CSS / Scripts) tsuas yog thauj khoom ib zaug thoob plaws lub neej ntawm ib qho daim ntawv thov . Tsuas yog cov ntaub ntawv raug xa rov qab thiab tawm mus.

Pom zoo: