Ajax, DOM, RSS, XHTML, SOAP… kēlā mau mea āpau! ʻOi aku ka maʻalahi ma mua o kou manaʻo!

AjaxʻAe ... ʻo kēia kahi entry blog SUPER BEGINNER no nā hoaaloha a kaʻu keiki ma waho e noʻonoʻo nei he aha kaʻu e hana nei i ka lā holoʻokoʻa.

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

He aha ke ʻano o ia mea? Plain a maʻalahi hoʻi? Hiki i kāu ʻōnaehana ke kamaʻilio me kaʻu ʻōnaehana. He ʻōlelo maʻamau kā mākou ... kamaʻilio mākou ma o Hypertext Protocol (ko mākou leo) a me XML (a i ʻole kokoke iā ia ... ʻo ia kā mākou ʻōlelo). ʻAe, he aha ka manaʻo? ʻĀ, ʻo ia hoʻi haʻi aku wau iā ʻoe i ka mea aʻu e kamaʻilio ai a laila kamaʻilio wau e pili ana ia, a ma hope o kaʻu pau ʻana e kamaʻilio e pili ana iā ia haʻi wau iā ʻoe ua pau wau.

Ke haʻi nei wau i koʻu inoa mua.
Doug
Pau wau i ka haʻi ʻana i koʻu inoa mua.

Ma XML kēia:
> inoa mua> Doug> / inoa mua>

ʻO ka mea nui e pili ana iā XML hiki iaʻu ke hoʻouna i nā kahawai a me nā kahawai o ka ʻike iā ʻoe. Hiki iaʻu ke hoʻouna iā ʻoe i nā moʻolelo he nui i ka manawa like:

Hoʻouna wau iā ʻoukou e ka poʻe.
E hoʻouna ana wau iā ʻoe i ka inoa mua.
Doug
Pau wau i ka hoʻouna ʻana iā ʻoe i ka inoa mua.
E hoʻouna ana wau iā ʻoe i ka inoa mua.
Katie
Pau wau i ka hoʻouna ʻana iā ʻoe i ka inoa mua.
Pau wau i ka hoʻouna ʻana iā ʻoukou i ka poʻe.

Ma XML:
> kanaka>
> inoa mua> Doug> / inoa mua>
> ka inoa mua> Katie> / inoa mua>
> / poʻe>

No laila ... inā hiki iaʻu ke ʻōlelo i kāu ʻōlelo ... a laila hiki iā mākou ke kamaʻilio pū kekahi me kekahi, ʻeā? ʻOiaʻiʻo nō! Pēlā e hana ai kēia mau ʻenehana āpau. Hiki iā ʻoe ke kiʻi ma Wikipedia a nānā iā lākou āpau, akā maʻalahi a maʻalahi hoʻi ia. ʻO ka ʻoiaʻiʻo, pehea ʻoe e heluhelu nei i kēia blog i kēia manawa. Hoʻokomo ʻoe i koʻu wahi i loko o kāu polokalamu kele pūnaewele a ʻōlelo ʻia kāu mea ʻimi pūnaewele… hey, Douglaskarr.com, ʻoe ma laila? ʻLelo aku wau, ʻae! Eia kaʻu HTML. A ua ʻike ʻoe i kahi i hoʻomaka a hoʻopau ai kaʻu ʻaoʻao ma muli o nā lepili i kaʻu HTML (HyperText Markup Language).

Inā papahana wau ia ... ʻaʻole ia he mea nui ke ʻano o ka ʻōnaehana āu e noho nei a i ʻole wau ma… hiki iā mākou ke kamaʻilio me kekahi pilikia ʻole. Hiki iaʻu ke hoʻohana iā PHP a kamaʻilio i kahi kikowaena e holo nei iā Java, .NET, Perl, ASP… kekahi mea. ʻOluʻolu, huh? ʻOiaʻiʻo, c'mon!

Inā wau e hana i kahi papahana maikaʻi a makemake ʻoe i kāu ʻōnaehana e kamaʻilio me kaʻu, e kūkulu wau i API, a i ʻole Polokalamu Polokalamu Hoʻokomo. ʻAe kēlā iā ʻoe e noi i ka ʻikepili mai iaʻu ... a naʻu e hoʻihoʻi iā ʻoe iā XML. Paʻa paʻakikī? ʻAʻole ... ʻo ia ka hana a Google! E nānā i ka helu wahi ma hope o ke kaomi ʻana i ka hoʻouna:

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

ʻLelo wau ... ʻe Google, makemake wau e nīnau i kāu ʻōnaehana (q) no Douglas Karr. Hele ʻoe ma laila ... q = Douglas + Karr! A laila pane ʻo Google me kahi pūpū o HTML no kaʻu polokalamu kele pūnaewele e hōʻike iaʻu. ʻE, ʻo wau nō # 1! Woohooo.

Like loa ʻo RSS. Aia i kaʻu blog kahi hānai RSS e holehole i nā kiʻi extraneous a me ka hōʻano ʻana a hoʻolei wale i ka ʻike ma laila e ʻike ʻoe. Kū ʻo RSS no Syndication Maʻalahi Maʻamau ... haʻi ʻōlelo Geek no kekahi mau mea XMLish hou aʻe. I kēia manawa ua hiki iaʻu ke nānā i ka blog ma kahi 'Reader'…
http://www.google.com/reader/finder?q=http%3A%2F%2Fdknewmedia.com

ʻO kēia kahi Fantastic Hoʻohui. Hiki iaʻu ke hāʻawi i ka ʻike, ka ʻikepili, nā hanana, ka ʻike, ke kamaʻilio… ʻaneʻane i nā mea āpau me ka XML. Hiki i kēlā me kēia ʻōlelo i kēia manawa ke hoʻohana iā XML (ʻo ka manawa makemake ... e hoʻopau iā XML) a hana ʻia e ka 'ʻoki ʻana' i ka leka. ʻO ia wale nō ka haki ʻana i hiki iā ia ke helu. ʻO SOAP kahi ala ʻē aʻe o ka hala ʻana i XML i mua a i waho.

ʻO ka pīhoihoi hou ʻo Ajax, a i ʻole Asynchronous JavaScript a me XML. Yikes, paʻakikī ke kani. ʻAʻole maoli ia. Kaomi mau ma ka pihi a me ka puka aniani a i ʻole kahi leka e lele ai i kāu polokalamu kamepiula. Ua hana lākou i ka hoʻohana ʻana iā JavaScript. He ʻōlelo hoʻolālā ʻo JavaScript i hiki ke holo ma kāu kamepiula ma mua o kekahi mau kikowaena ma kahi ʻē. ʻO ia ka mea hiki iaʻu ke hāʻawi iā ʻoe i kahi ʻike maikaʻi ma o ka hana ʻana i kahi pūpū holoʻokoʻa o JavaScript ma kahi. Huli aku Uku helu uku uku. Hoʻomaopopo pehea ʻoe e kikokiko ai i nā waiwai a i ka ʻaoʻao ma o nā kahua i hoʻololi ʻia ka ʻaoʻao? ʻO Javascript kēlā.

Ke hoʻohana nei nā poʻe iā JavaScript e hana iā RIA .. Nā Pūnaewele Pūnaewele Rich (makemake mākou i nā Acronyms). Lawe ʻo Ajax i kahi ʻanuʻu i kahi mamao aku. Hiki iaʻu ke kākau maoli i ka pāʻālua i kaʻu ʻaoʻao, me ka ʻole o kāu haʻi ʻana aku iā ia, e kamaʻilio i kahi ʻaoʻao ʻē aʻe i kahi ʻē aʻe, e kiʻi i ka ʻike, a laila e hoʻihoʻi me ka haʻalele ʻole ʻana i ka ʻaoʻao !!! Eia hou… Uku helu uku uku. Ke kikokiko ʻoe i ka ʻike a kaomi iā "Calculate", hoʻouna ka ʻaoʻao i kēlā ʻikepili i kahi ʻaoʻao helu ma hope o ka kikowaena. Heluhelu ka JavaScript i ka pane a hōʻano maikaʻi ia.

Mai piliwi iaʻu? Eia ka ʻaoʻao āna e kamaʻilio ai: http://www.payraisecalculator.com/getPayraise.php. E nānā ʻaʻohe waiwai maoli ... ʻo ia no ka mea ʻaʻole wau i kau i kekahi mea. Akā loaʻa iā ʻoe ke kumu.

No laila he aha ke ʻano o kēia? ʻĀ, e lawe ʻo RIA i ka ʻupena a e ʻoi aku ka maʻalahi. ʻUā ka poʻe kūʻē e loaʻa mau iā mākou nā papahana e like me Microsoft Word a me Excel. ʻOiaʻiʻo? Pehea ʻo Google Writely a polokalamu pakuhi? Aia ma kahi o nā kihi.

ʻO ka mea hoʻohenehene o kēia ʻo 20 mau makahiki i hala aku nei ka boom o ka Pilikino Pilikino kahi a mākou e pono ʻole ai e hoʻokau ʻia i kekahi ʻōnaehana 'mainframe'. ʻĀ ... koho ʻoe ?! Ke hoʻi nei mākou i ka papa nui ... aia wale nō kahi pūpū nui o lākou i waho ma ka ʻupena.

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.