Ajax, DOM, RSS, XHTML, SOAP… zinthu zonsezi! Ndiosavuta kuposa momwe mukuganizira!

AJAXChabwino… apa pali SUPER BEGINNER blog kulowa kwa abwenzi a mwana wanga onse kunja uko omwe amadabwa kuti ndichani chomwe ndimachita tsiku lonse.

Ajax, DOM, RSS, XHTML, SOAP, XSLT, HTML, HTTP… blah, blah, blah.

Kodi zonsezi zikutanthauza chiyani? Plain ndi yosavuta? Zimatanthauza kuti makina anu amatha kuyankhula ndi makina anga. Tili ndi chilankhulo ... timalankhula kudzera mu Hypertext Protocol (mawu athu) ndi XML (kapena pafupi nayo… ndiye chilankhulo chathu). Chabwino, zikutanthauza chiyani izi? Izi zikutanthauza kuti ndimakuwuzani kaye zomwe ndikunenazi ndiyeno ndimayankhula, ndikamaliza kulankhula ndikukuuzani kuti ndatha.

Ndikunena dzina langa loyamba.
Doug
Ndatha kunena dzina langa loyamba.

Mu XML izi ndi izi:
> dzina loyamba> Doug> / dzina loyamba>

Chofunika kwambiri pa XML ndikuti nditha kukutumizirani mitsinje ndi mitsinje yazidziwitso. Nditha kukutumizirani zolemba zingapo nthawi imodzi:

Ndikukutumizirani anthu.
Ndikukutumizirani dzina.
Doug
Ndatha kukutumizira dzina.
Ndikukutumizirani dzina.
Katie
Ndatha kukutumizira dzina.
Ndatha kukutumizirani anthu.

Mu XML:
> anthu>
> dzina loyamba> Doug> / dzina loyamba>
> dzina loyamba> Katie> / dzina loyamba>
> / anthu>

Chifukwa chake… ngati ndingathe kulankhula chilankhulo chanu… ndiye titha kulankhulana, sichoncho? Mwamtheradi! Umu ndi momwe umisiri wonsewu umagwirira ntchito. Mutha kulowa pa Wikipedia ndikuyang'ana onsewo, koma ndizosavuta komanso kosavuta. M'malo mwake, ndi momwe mukuwerengera blog iyi pompano. Mumayika adilesi yanga mu msakatuli wanu ndipo msakatuli wanu adati… Hei, Douglaskarr.com, muli pomwepo? Ndati eya! Nayi HTML yanga. Ndipo mumadziwa komwe tsamba langa lidayamba ndikutha kutengera ma tags mu HTML (HyperText Markup Language).

Ngati ndiziwonetsa pulogalamu ... zilibe kanthu kuti muli ndi mtundu wanji wamtunduwu kapena ine ndiri… tikhoza kulankhulana popanda vuto. Nditha kugwiritsa ntchito PHP ndikuyankhula ndi seva yomwe ikuyendetsa Java, .NET, Perl, ASP… chilichonse. Kuli, ha? Zachidziwikire, ndiye!

Ngati ndipanga pulogalamu yabwino ndipo mukufuna kuti makina anu azilankhula ndi anga, ndimanga API, kapena Pulogalamu Yogwiritsira Ntchito. Izi zimakuthandizani kuti mupemphe zambiri kwa ine… ndipo ndikubwezerani ku XML. Zikumveka zolimba? Si… ndi momwe Google imagwirira ntchito! Onani adilesiyi mukadina kutumiza:

http://www.google.com/search?q = douglas + karr

Ndati… Hei Google, ndikufuna ndikufunsireni machitidwe anu (q) a Douglas Karr. Pamenepo mukupita… q = Douglas + Karr! Kenako Google imayankha ndi gulu la HTML kuti msakatuli wanga andiwonetse. Hei, ndine # 1! Woohooo.

RSS ndiyofanana kwambiri. Bulogu yanga ili ndi chakudya cha RSS chomwe chimachotsa zithunzi zonse zakunja ndikujambula ndikungotulutsa zomwe zili kunja uko kuti muwone. RSS imayimira Syndication Yosavuta Kwambiri ... geek lankhulani ndi zinthu zina za XMLish. Tsopano nditha kuwona blog mu 'Reader'…
http://www.google.com/reader/finder?q=http%3A%2F%2Fdknewmedia.com

Apa ndipomwe kuphatikiza ndi kosangalatsa. Nditha kupititsa zomwe zili, deta, zochitika, zambiri, zokambirana… pafupifupi chilichonse chogwiritsa ntchito XML. Chilankhulo chamakono chilichonse kunja uko chitha kugwiritsa ntchito XML (nthawi yabwino ndi… idya XML) ndipo imatero potulutsa 'uthengawo. Izi zimangotanthauza kuti akuthyola kuti athe kuzizindikira. SOAP ndi njira ina yodutsira XML mmbuyo ndi mtsogolo.

Zolemba zaposachedwa kwambiri ndi Ajax, kapena Asynchronous JavaScript ndi XML. Yikes, zikumveka zolimba. Sizowona. Kodi mumangodinanso batani ndi zenera kapena uthenga utuluka pa msakatuli wanu? Adachita izi pogwiritsa ntchito JavaScript. JavaScript ndi chilankhulo chamapulogalamu chomwe chimatha kuyendetsa pa kompyuta yanu osati pa seva ina kwinakwake. Izi zikutanthauza kuti nditha kukupatsani chidziwitso chozizira pochita gulu lonse la JavaScript kwanuko. Onani Payraise Calculator. Zindikirani momwe mumalemba pamitengo ndi tabu kudutsako komwe tsamba limasintha? Ndiye Javascript.

Folks akugwiritsa ntchito JavaScript kuti apange RIA .. Rich Internet Applications (timakonda Acronyms). Ajax imapitilira apo. Nditha kulemba nambala patsamba langa zomwe, osakuwuza kuti, lankhulani ndi tsamba lina kwinakwake, kuti mumve zambiri, ndikubwezeretsanso musanachoke pa tsambalo !!! Apanso… Payraise Calculator. Mukayimira zomwe mukudziwirazo ndikudina "kuwerengera", tsambalo limapereka zidziwitsozo patsamba lowerengera kubwerera pa seva. JavaScript imangowerenga yankho ndikuyipanga bwino.

Simukundikhulupirira? Nayi tsamba lomwe amalankhula: http://www.payraisecalculator.com/getPayraise.php. Zindikirani kuti palibe malingaliro enieni… ndichifukwa choti sindinatumize chilichonse. Koma mumvetsetsa.

Ndiye kodi zonsezi zikutanthauza chiyani? RIA itenga ukondewo ndikupangitsa kukhala kosavuta kwambiri. Otsutsa amafuula kuti nthawi zonse tidzakhala ndi mapulogalamu ngati Microsoft Word ndi Excel. Zoonadi? Nanga bwanji Google Zolemba ndi Masamba? Zangokhala kumene pakona anthu.

Chodabwitsa cha ichi chinali chakuti zaka 20 zapitazo zinali kuwonjezeka kwa Computer Computer komwe sitinkafunika kumangiriridwa ndi 'mainframe' system. Chabwino… ndikuganiza chiyani ?! Tabwerera pa mainframe ... alipo basi mulu wonse wa iwo kunja uko paukonde.

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.