Skip to main content

Skip over site navigation to main content

developerWorks  >   XML  >   Technical library  >  

Technical library view  RSS for XML

developerWorks
 Related links:    Redbooks  |  Forums  |  Standards

Filter your search and/or enter a keyword. If you don't filter your search or enter a keyword, the search results will default to all results.

 
 
 
  1 - 2 of 2 results    Hide Summaries
Title   Type   Date  

Table that contains the results that meet the search criteria.

Create an Ajax mindreader application with E4X and Prototype, Part 1: Build the Twenty Questions infrastructure
XML seems like a natural format for passing Ajax data. However, to work with XML in JavaScript using the Document Object Model (DOM) is not always the best way to handle this kind of data. This has given rise to other choices, such as JSON, which provide a more object-like feel for developers. Now ECMAScript for XML (E4X) combines many of the best features of the DOM with extremely easy data binding to provide a more straightforward way to deal with XML in the browser. In this two-part article series, you'll learn to use both E4X and the Prototype JavaScript library to create a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. Part 1 shows you how to create a system that takes an existing knowledge base and analyzes it to determine what the user may be thinking.
Articles 12 Feb 2008  
 
Create an Ajax mindreader application with E4X and Prototype, Part 2: Make the mindreader smarter
In this two-part article series, you learn to use both ECMAScript for XML (E4X) and the Prototype JavaScript library to create a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. In Part 1, you learned to create a system that takes an existing knowledge base and analyzes it to determine what the user might be thinking. Now in Part 2, you'll learn to add new information to the knowledge base, and to use the Prototype JavaScript library to integrate the Twenty Questions application with an external database so training by one user is usable by others who play the game.
Articles 19 Feb 2008  
 
  1 - 2 of 2 results    Hide Summaries
Not finding what you're looking for? Suggest Content