• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Flat Data

Despite the dull sound of “flat data,” this topic isn’t boring. Flat data is made up of names and corresponding values (often called name-value pairs). Just think of a series of variables each being assigned a single value, and you have the idea. I guess the opposite of flat data is structured data (such as XML in the next section) or perhaps relational data (like most databases support). In this section you’ll see how to import flat data from a text file (or application server), parse it, and then, optionally, send it back to a server.

Note

Loading Variables by Any Other Name, Surely the Same

Although there are actually a few different ways to do—basically—the same thing, we’ll only look at the LoadVars object (even though the loadVariables() method and getURL() can also be used in similar ways).



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint