Ajax, DOM, RSS, XHTML, SOAP ... allt það dót! Það er auðveldara en þú heldur!

AjaxAlright… this is a SUPER BEGINNER blog entry for all my son's friends out there that wonder what it is that I do all day.

Ajax, DOM, RSS, XHTML, SOAP, XSLT, HTML, HTTP ... bla, bla, bla.

What does it all mean? Plain and simple? It means your system can talk to my system. We have a common language… we talk through Hypertext Protocol (our voice) and XML (or close to it… is our language). Alright, what does that mean? Well, it means I tell you first what I'm talking about and then I talk about it, and after I'm done talking about it I tell you that I'm done.

I'm saying my first name.
I'm done saying my first name.

Í XML er þetta:
> fornafn> Doug> / fornafn>

Það frábæra við XML er að ég get sent þér læki og upplýsingar. Ég get jafnvel sent þér margar færslur á sama tíma:

I'm sending you people.
I'm sending you a first name.
I'm done sending you a first name.
I'm sending you a first name.
I'm done sending you a first name.
I'm done sending you people.

> fólk>
> fornafn> Doug> / fornafn>
> fyrsta nafn> Katie> / fyrsta nafn>
> / fólk>

So… if I can speak your language… then we can talk to each other, right? Absolutely! This is how all of these technologies work. You can get onto Wikipedia and look them all up, but it's pretty plain and simple. In fact, it's how you're reading this blog entry right now. You put my address into your browser and your browser said… hey, Douglaskarr.com, you there? I said yea! Here's my HTML. And you knew where my page started and ended based on the tags in my HTML (HyperText Markup Language).

If I program it … it doesn't matter what kind of system you are on or I am on…we can speak to each other no problem. I can use PHP and talk to a server running Java, .NET, Perl, ASP… anything. Cool, huh? Sure it is, c'mon!

If I create a great program and you want your system to talk to mine, I'll build an API, or Application Programming Interface. That allows you to request information from me… and I'll push it back to you in XML. Sound tough? It's not… that's how Google works! Check out the address after you click submit:

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

I said… hey Google, I'd like to query your system (q) for Douglas Karr. There you go… q=Douglas+Karr! And then Google responds with a bunch of HTML for my browser to show me. Hey, I'm #1! Woohooo.

RSS is very similar. My blog has an RSS feed that strips all the extraneous graphics and formatting out and just throws the content out there for you to see. RSS stands for Really Simple Syndication… geek speak for some more XMLish stuff. Now I can view the blog in a ‘Reader'…

This is where integration is fantastic. I can pass content, data, events, information, conversations… virtually anything using XML. Every modern language out there can use XML (fancy term is … consume XML) and it does so by ‘parsing' the message. That just means breaking it up so it can figure it out. SOAP is another means of passing XML back and forth.

The latest craze is Ajax, or Asynchronous JavaScript and XML. Yikes, sounds tough. It's not really. Ever click on a button and a window or a message pops up on your browser? They did that using JavaScript. JavaScript is a programming language that can run at your computer rather than on some server somewhere. That means that I can give you a cooler experience by doing a whole bunch of JavaScript locally. Check out Reiknivél fyrir launagreiðslur. Notice how you type in the values and tab through the fields that the page changes? That's Javascript.

Fólk notar JavaScript til að búa til RIA .. Rík internetforrit (við elskum skammstöfun). Ajax tekur það skrefi lengra. Ég get í raun skrifað kóða á síðuna mína sem mun, án þess að þú segir það til, tala við aðra síðu einhvers staðar annars staðar, fá upplýsingarnar og koma með þær aftur án þess að þú þurfir nokkurn tíma að yfirgefa síðuna !!! Aftur ... Reiknivél fyrir launagreiðslur. Þegar þú slærð inn upplýsingarnar og smellir á „Reikna út“, þá sendir síðan upplýsingarnar til reiknissíðu aftur á netþjóninum. JavaScript les þá svarið og sniðið það ágætlega.

Don't believe me? Here's the page that it talks to: http://www.payraisecalculator.com/getPayraise.php. Notice there's no actual values… that's because I didn't actually post anything. But you get the point.

So what does all this mean? Well, RIA will take the net and make it a lot easier. Opponents scream that it we'll always have to have programs like Microsoft Word and Excel. Really? What about Google Skriflega og Töflureiknir? It's just around the corner folks.

The irony of this was that 20 years ago was the boom of the Personal Computer where we didn't have to be anchored to some ‘mainframe' system. Well… guess what?! We're back on the mainframe… there's just a whole bunch of them out there on the net.

Hvað finnst þér?

Þessi síða notar Akismet til að draga úr ruslpósti. Lærðu hvernig ummæli þín eru unnin.