Ajax, DOM, RSS, XHTML, SOAP… duk waɗannan abubuwan! Yana da sauki fiye da yadda kuke tsammani!

AjaxYayi daidai… wannan shine shigowar SUPER BEGINNER a yanar gizo ga duk abokan dana a waje dan suna mamakin abin da nake yi duk rana.

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

Menene duka ma'anarta? Bayyane kuma mai sauki? Yana nufin tsarinku na iya magana da tsarina. Muna da yaren gama gari… muna magana ta hanyar Yarjejeniyar Hypertext (muryarmu) da XML (ko kusa da ita… shine yarenmu). Lafiya, menene ma'anar hakan? To, yana nufin na fara fada muku abin da nake magana a kansa sannan kuma na yi magana a kansa, kuma bayan na gama magana a kansa na gaya muku cewa na gama.

Ina cewa sunana na farko.
Doug
Na gama fada suna na.

A cikin XML wannan shine:
> sunan farko> Doug> / sunan farko>

Babban abu game da XML shine zan iya aiko muku da rafuka da rafukan bayanai. Har ma zan iya aiko muku da bayanai masu yawa a lokaci guda:

Ina aiko muku da mutane.
Ina turo muku da suna.
Doug
Na gama aiko muku da suna.
Ina turo muku da suna.
Katie
Na gama aiko muku da suna.
Na gama aiko muku da mutane.

A cikin XML:
> mutane>
> sunan farko> Doug> / sunan farko>
> sunan farko> Katie> / sunan farko>
> / mutane>

Don haka… idan zan iya yarenku… to za mu iya magana da juna, haka ne? Babu shakka! Wannan shine yadda duk waɗannan fasahar ke aiki. Kuna iya shiga Wikipedia ku kallesu duka, amma yana da kyau kuma mai sauƙi. A zahiri, ta yaya kuke karanta wannan shigarwar bulogin a yanzu. Ka sanya adireshina a cikin burauz dinka kuma mai bincikenka ya ce… hey, Douglaskarr.com, kai a can? Nace eh! Ga HTML dina. Kuma kun san inda shafina ya fara kuma ya ƙare dangane da alamun da ke cikin HTML na (Harshen Alamar Alamar HyperText).

Idan na shirya shi… babu damuwa irin tsarin da kuke ciki ko kuma na kunna… zamu iya yiwa juna magana ba matsala. Zan iya amfani da PHP in yi magana da sabar da ke tafiyar Java, .NET, Perl, ASP… komai. Cool, huh? Tabbatacce ne, c'mon!

Idan na ƙirƙiri babban shiri kuma kuna son tsarinku yayi magana da nawa, zan gina API, ko Tsarin Shirye-shiryen Aikace-aikace. Wannan yana ba ku damar neman bayani daga wurina… kuma zan tura muku a cikin XML. Sauti mai wuya? Ba haka bane… yadda Google ke aiki! Duba adireshin bayan kun danna sallama:

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

Na ce… ya Google, Ina so in tambayi tsarinku (q) don Douglas Karr. A can za ku tafi… q = Douglas + Karr! Kuma sannan Google ya amsa tare da tarin HTML don mai bincike na ya nuna min. Kai, Ina # 1! Woohooo.

RSS yayi kama sosai. Bulogina yana da ciyarwar RSS wanda yake cire duk wasu zane-zane da tsara su kuma kawai yana jefa abubuwan ciki don ku gani. RSS na tsaye don Gaskiya mai Sauƙi nd k geek yayi magana don ƙarin ƙarin abubuwan XMLish. Yanzu zan iya duba bulogin a cikin 'Mai Karatu'…
http://www.google.com/reader/finder?q=http%3A%2F%2Fdknewmedia.com

Wannan shine inda haɗin kai yake da kyau. Zan iya wuce abun ciki, bayanai, abubuwan da suka faru, bayani, tattaunawa, tattaunawa… kusan komai ta amfani da XML. Kowane yare na zamani a wajen zai iya amfani da XML (kalma mai kyau ita ce… cinye XML) kuma tana yin hakan ta hanyar 'nazarin' saƙon. Wannan kawai yana nufin karya shi don ya iya gano shi. SOAP wata hanya ce ta wucewa XML gaba da gaba.

Bugawa ta ƙarshe shine Ajax, ko Asynchronous JavaScript da XML. Yikes, sauti mai wuya. Ba da gaske bane. Taba danna maballin da taga ko saƙo ya bayyana akan burauzarka? Sunyi hakan ta amfani da JavaScript. JavaScript yare ne na shirye-shirye wanda zai iya aiki a kwamfutarka maimakon a kan wasu sabar a wani wuri. Wannan yana nufin cewa zan iya ba ku kwarewar mai sanyaya ta hanyar yin cikakken gungun Javascript a cikin gida. Duba Kalkaleta mai biyan kuɗi. Lura da yadda kuke buga lambobi da tab ta hanyar filayen da shafin yake canzawa? Wancan Javascript ne.

Jama'a suna amfani da JavaScript don ƙirƙirar RIA .. Aikace-aikacen Intanit Mai wadata (muna son Acronyms). Ajax ya dauki mataki gaba. A zahiri zan iya rubuta lambar a cikin shafina wanda zai, ba tare da ka gaya masa ba, yayi magana da wani shafi a wani wuri, samun bayanan, sannan dawo dashi ba tare da ka bar shafin ba !!! Sake… Kirataleta mai biyan kuɗi. Lokacin da ka rubuta a cikin bayanin kuma danna "culaididdiga", shafin yana ƙaddamar da wannan bayanin zuwa shafin lissafi a kan sabar. JavaScript yana karanta amsar kuma ya tsara ta da kyau.

Kada ku yarda da ni? Ga shafin da yake magana da shi: http://www.payraisecalculator.com/getPayraise.php. Lura cewa babu ainihin dabi'u… wannan saboda ban zahiri sanya komai ba. Amma kun fahimci batun.

Don haka menene ma'anar duk wannan? Da kyau, RIA zata ɗauki raga kuma ta sauƙaƙa shi da yawa. Masu adawa suna kururuwa cewa lallai koyaushe muna da shirye-shirye kamar Microsoft Word da Excel. Da gaske? Me game da Google Rubuta da kuma Fayil ɗin launi? Yana kusa da kusurwa.

Abun mamakin wannan shine cewa shekaru 20 da suka gabata shine haɓakar keɓaɓɓen Kwamfuta inda ba lallai bane a jingina mu ga wasu 'babban tsarin' tsarin. To… tsammani me?! Mun dawo kan babban komputa… akwai tarin gungun su daga cikin yanar gizo.

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.