<ul>Project Name </ul>Web Based Application  Of Live Scoreboard  using XML
What is XML? <ul><li>XML stands for Extensible  Markup   Language .
XML is a markup language much like HTML.
XML was designed to carry data, not to display data.
XML tags are not predefined. We must define our own tags.
XML is designed to be self-descriptive. </li></ul>
Use of XML <ul><li>XML is used in many aspects of web development, often to simplify data storage and sharing.
XML separates data from HTML.
XML simplifies data sharing.
XML simplifies data transport.
XML simplifies platform changes.
XML makes the data more available . </li></ul>
XML Separates Data from HTML   <ul><li>If we need to display dynamic data in our HTML document, it will take a lot of work...
With XML, data can be stored in separate XML files. This way we can concentrate on using HTML for layout and display, and ...
With a few lines of JavaScript, we can read an external XML file and update the data content of our HTML. </li></ul>
XML Simplifies Data Sharing and Data Transport   <ul><li>In the real world, computer systems and databases contain data in...
Upcoming SlideShare
Loading in …5
×

Web based application of Live Scoreboard using XML.

4,875 views

Published on

The method of using XML documents for current storing and displaying and then updating later in the database can be used in web pages where frequently changing data has to be displayed like live score card, stock exchange report, weather details as wind direction, wind speed, temperature etc. and many more areas. In our project, we are making a web based application that will display the live scores of any live cricket game.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,875
On SlideShare
0
From Embeds
0
Number of Embeds
23
Actions
Shares
0
Downloads
60
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Web based application of Live Scoreboard using XML.

  1. 1. <ul>Project Name </ul>Web Based Application Of Live Scoreboard using XML
  2. 2. What is XML? <ul><li>XML stands for Extensible Markup Language .
  3. 3. XML is a markup language much like HTML.
  4. 4. XML was designed to carry data, not to display data.
  5. 5. XML tags are not predefined. We must define our own tags.
  6. 6. XML is designed to be self-descriptive. </li></ul>
  7. 7. Use of XML <ul><li>XML is used in many aspects of web development, often to simplify data storage and sharing.
  8. 8. XML separates data from HTML.
  9. 9. XML simplifies data sharing.
  10. 10. XML simplifies data transport.
  11. 11. XML simplifies platform changes.
  12. 12. XML makes the data more available . </li></ul>
  13. 13. XML Separates Data from HTML <ul><li>If we need to display dynamic data in our HTML document, it will take a lot of work to edit the HTML each time the data changes.
  14. 14. With XML, data can be stored in separate XML files. This way we can concentrate on using HTML for layout and display, and be sure that changes in the underlying data will not require any changes to the HTML.
  15. 15. With a few lines of JavaScript, we can read an external XML file and update the data content of our HTML. </li></ul>
  16. 16. XML Simplifies Data Sharing and Data Transport <ul><li>In the real world, computer systems and databases contain data in incompatible formats.
  17. 17. XML data is stored in plain text format. This provides a software- and hardware-independent way of storing data.
  18. 18. This makes it much easier to create data that different applications can share.
  19. 19. With XML, data can easily be exchanged between incompatible systems.
  20. 20. One of the most time-consuming challenges for developers is to exchange data between incompatible systems over the Internet.
  21. 21. Exchanging data as XML greatly reduces this complexity, since the data can be read by different incompatible applications. </li></ul>
  22. 22. XML Simplifies Platform Changes and Makes Data More Available <ul><li>Upgrading to new systems (hardware or software platforms), is always very time consuming. Large amounts of data must be converted and incompatible data is often lost.
  23. 23. XML data is stored in text format. This makes it easier to expand or upgrade to new operating systems, new applications, or new browsers, without losing data.
  24. 24. Since XML is independent of hardware, software and application, XML can make the data more available and useful.
  25. 25. Different applications can access the data, not only in HTML pages, but also from XML data sources.
  26. 26. With XML, the data can be available to all kinds of &quot;reading machines&quot; (Hand held computers, voice machines, news feeds, etc), and make it more available for blind people, or people with other disabilities. </li></ul>
  27. 27. XML Parser <ul><li>An XML parser is a program that transforms an XML into a structure that allows programmatic access to an XML document.
  28. 28. During the transformation process, the XML parser reads the XML document and examines the XML syntax; then reports any syntax errors that are encountered. </li></ul>
  29. 29. Type of Parser <ul><li>DOM </li></ul><ul><ul><li>Document Object Model </li></ul></ul><ul><li>SAX </li></ul><ul><ul><li>Simple API for XML </li></ul></ul>
  30. 30. DOM <ul><li>It stands for Document Object Model.
  31. 31. XML parsers that use DOM generate a tree structure of the XML document’s content, which is stored in memory.
  32. 32. DOM parsers enable the contents of the XML document to be accessed quickly and enable the XML document to be modified by adding and removing nodes. </li></ul>
  33. 33. Implementation of DOM <ul><li>Although DOM parser can be used with any size XML documents, but the DOM parser is ideal for working with smaller XML documents.
  34. 34. The DOM parser used five classes that are used to navigate and parse elements of an XML document. </li></ul>
  35. 35. <ul><li>The classes used are </li></ul><ul><ul><li>Node class
  36. 36. Documen t class
  37. 37. Element class
  38. 38. Character Data class
  39. 39. Attr class </li></ul></ul><ul><li>A node is an object of XML document and is not necessarily associated with an XML tag.
  40. 40. Nodes in an XML document appear in a Parent/Child relationship. </li></ul>
  41. 41. About the Project <ul><li>In modern world, time management is an important factor in developing web pages in web technology.
  42. 42. We are trying to minimize the time factor. </li></ul>
  43. 43. <ul><li>If we store the data in database and then retrieve it from the database, it will consume a lot of time.
  44. 44. So, we are using XML documents to store our data, then displaying it over the HTML pages. When we are to finalize our data then, we use XML parsers to parse the data in a suitable format and by using triggers we insert and update the data in database.
  45. 45. In this procedure, time required to display the data is very less and there is no burden to first insert data in database and then retrieve it for displaying. </li></ul>
  46. 46. <ul><li>In our project, we are making a web based application that will display the live scores of any live cricket game.
  47. 47. Here, we are using XML documents to store our live score that will be displayed over the HTML pages.
  48. 48. When the player has fixed the score, we will update it in the database so that further query about the player can be retrieved from the database. </li></ul>
  49. 49. <ul><li>This method of using XML documents for current storing and displaying and then updating later in the database can be used in web pages where frequently changing data has to be displayed like live score card, stock exchange report, weather details as wind direction, wind speed, temperature etc. and many more areas. </li></ul>
  50. 50. <ul>Thank You </ul>

×