Thursday, July 12, 2012

Friday, July 13, 2012

Happy Friday the 13th!  Well, I think I scared you enough yesterday, so let's keep things more or less logical today!

It's time to make our pages even smarter!  Let's include some XML.  XML is a lot like HTML, except that instead of using pre-determined tags, you get to make the tags up yourself!

One of the great things about XML is the ability to present metadata.  

Let's take a look at how XML works.

There are several reasons to use XML, it's standardization is only one of them.

It's highly unlikely that we'll remember all of this unless we put it to the test, so let's head out to take inventory of the courtyard and store our data in an XML file.  What did you collect?  How would you recall that info?

XML is all well and good, but what use can it really be when it looks that ugly?!?!  Well, there's good news!  Just as we can style HTML with CSS, we can style XML with XSLT.  It can seem confusing at first, but fortunately, there's a handy XSLT reference. This is a video that explains the transform template.  Chapter 17 explains it in more detail.

Okay, so *that* was a ton of fun.  Let's look at databases in a different way.  Nowadays, the world is all about SQL.  SQL lets you do things like insert, delete, join and drop cells and tables. Here's a quick crash course...

No comments:

Post a Comment