I-Ajax, i-DOM, i-RSS, i-XHTML, i-SOAP… zonke lezo zinto! Kulula ukwedlula indlela ocabanga ngayo!

AjaxKulungile… lokhu kungukufakwa kwebhulogi leSUPER BEGINNER kwabo bonke abangane bendodana yami laphaya abazibuza ukuthi kuyini engikwenzayo usuku lonke.

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

Kusho ukuthini konke lokhu? Plain futhi elula? Kusho ukuthi uhlelo lwakho lungakhuluma nohlelo lwami. Sinolimi olufanayo… sikhuluma nge-Hypertext Protocol (iphimbo lethu) neXML (noma eduze nayo… ulimi lwethu). Kulungile, kusho ukuthini lokho? Kusho ukuthi ngikutshela kuqala engikhuluma ngakho bese ngiyakhuluma ngakho, futhi ngemuva kokuqeda ukukhuluma ngakho ngikutshela ukuthi sengiqedile.

Ngisho igama lami lokuqala.
Doug
Sengiqedile ukusho igama lami.

Ku-XML lokhu yilokhu:
> igama_legama> uDoug> / igama_lokuqala>

Into enhle ngeXML ukuthi ngikwazi ukuthumela imifudlana nemifudlana yolwazi kuwe. Ngingakuthumela ngisho namarekhodi amaningi ngasikhathi sinye:

Ngiyanithumela nina bantu.
Ngikuthumela igama.
Doug
Sengiqedile ukukuthumelela igama.
Ngikuthumela igama.
Katie
Sengiqedile ukukuthumelela igama.
Sengiqedile ukukuthumelela abantu.

Ku-XML:
> abantu>
> igama_legama> uDoug> / igama_lokuqala>
> igama lokuqala> Katie> / igama lokuqala>
> / abantu>

Ngakho-ke… uma ngikwazi ukukhuluma ulimi lwakho… sizokwazi ukukhuluma omunye nomunye, akunjalo? Impela! Yile ndlela bonke lobu buchwepheshe busebenza ngayo. Ungangena ku-Wikipedia bese uzibheka zonke, kepha icacile futhi ilula. Eqinisweni, yindlela ofunda ngayo lokhu kufakwa kwebhulogi njengamanje. Ubeka ikheli lami kwisiphequluli sakho bese isiphequluli sakho sathi… sawubona, Douglaskarr.com, ukhona lapho? Ngathi yebo! Nayi i-HTML yami. Futhi ubazi ukuthi ikhasi lami liqale kuphi futhi laphela ngokuya ngamathegi ku-HTML yami (Ulimi Lokumaketha Nge-HyperText).

Uma ngiyihlela… akunandaba ukuthi ukuluhlelo olunjani noma ngikuyo… singakhulumisana ngaphandle kwenkinga. Ngingasebenzisa i-PHP futhi ngikhulume kuseva esebenzisa iJava, .NET, Perl, ASP… noma yini. Kulungile, ha? Impela kunjalo, c'mon!

Uma ngakha uhlelo oluhle futhi ufuna uhlelo lwakho lukhulume nolwami, ngizokwakha i-API, noma i-Application Programming Interface. Lokho kukuvumela ukuthi ucele imininingwane kimi… futhi ngizoyiphindisela kuwe ngeXML. Kuzwakala kunzima? Akusiyo… indlela esebenza ngayo iGoogle! Bheka ikheli ngemuva kokuchofoza ukuhambisa:

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

Ngathi… hey Google, ngithanda ukubuza uhlelo lwakho (q) lwe Douglas Karr. Lapho uya… q = UDouglas + Karr! Futhi-ke iGoogle iphendula ngeqembu le-HTML ukuze isiphequluli sami singibonise. Sawubona, ngingu # 1! Woohooo.

I-RSS ifana kakhulu. Ibhulogi yami inokuphakelayo kwe-RSS okususa yonke imidwebo engaphandle nokufometha ngaphandle bese kuphonsa okuqukethwe lapho ukuze ukubone. I-RSS imele Ukuthengiswa Okulula Ngempela… i-geek ikhulumela ezinye izinto ze-XMLish. Manje sengingabuka ibhulogi ku- 'Reader'…
http://www.google.com/reader/finder?q=http%3A%2F%2Fdknewmedia.com

Yilapho ukuhlanganiswa kumnandi khona. Ngingadlulisa okuqukethwe, idatha, imicimbi, imininingwane, izingxoxo… cishe noma yini ngisebenzisa i-XML. Zonke izilimi zesimanje laphaya zingasebenzisa iXML (igama eliqanjiwe ngu… sebenzisa i-XML) futhi lenza kanjalo 'ngokuhlaziya' umyalezo. Lokho kusho nje ukuyihlephula ukuze ikwazi ukukuthola. I-SOAP kungenye indlela yokudlulisa i-XML emuva naphambili.

I-craze yakamuva yi-Ajax, noma i-Asynchronous JavaScript neXML. Yikes, kuzwakala kunzima. Akunjalo ngempela. Wake uchofoze inkinobho nakuwindi noma umyalezo uvele kusiphequluli sakho? Bakwenza lokho besebenzisa iJavaScript. IJavaScript wulimi lohlelo olungasebenza kukhompyutha yakho kunaseva ethile kwenye indawo. Lokho kusho ukuthi ngingakunika umuzwa opholile ngokwenza lonke iqembu leJavaScript yangakini. Hlola I-Payraise Calculator. Qaphela ukuthi uthayipha kanjani amanani nethebhu ngokusebenzisa izinkambu ezishintshwa yikhasi? Leyo yiJavascript.

Abantu basebenzisa iJavaScript ukudala i-RIA .. Izicelo Ezixubile ze-Intanethi (sithanda ama-Acronyms). I-Ajax ikuthathela elinye igxathu. Ngingabhala ikhodi ekhasini lami elizokwenza ukuthi, ngaphandle kokuthi uyitshele, likhulume nelinye ikhasi kwenye indawo, lithole imininingwane, bese liyibuyisa ngaphandle kokuthi ushiye ikhasi !!! Futhi… I-Payraise Calculator. Uma uthayipha imininingwane bese uqhafaza ku- “Bala”, ikhasi lihambisa leyo mininingwane ekhasini lokubala libuyele kuseva. IJavaScript bese ifunda impendulo bese iyakha kahle.

Awungikholwa? Nali ikhasi elikhuluma nalo: http://www.payraisecalculator.com/getPayraise.php. Qaphela ukuthi awekho amanani angempela… lokho kungenxa yokuthi angithumanga lutho empeleni. Kepha uthola iphuzu.

Ngabe konke lokhu kusho ukuthini? I-RIA izothatha inetha ikwenze kube lula kakhulu. Abaphikisi bayamemeza bethi ngaso sonke isikhathi kuzodingeka sibe nezinhlelo ezinjengeMicrosoft Word ne-Excel. Ngempela? Kuthiwani ngeGoogle Ngokuqinisekile futhi Amaspredishithi? Kuseduze kwekona bakithi.

Okuxakayo ngalokhu ukuthi eminyakeni engama-20 eyedlule kwakuwukuqhuma kweKhompyutha Yakho lapho kwakungadingeki ukuthi siboshelwe ohlelweni oluthile 'olukhulu. Hhayi… qagela ini ?! Sibuyile kumdlalo oyinhloko… kunenqwaba nje yazo laphaya enetheni.

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.