Web based application of Live Scoreboard using XML.
Upcoming SlideShare
Loading in...5
×
 

Web based application of Live Scoreboard using XML.

on

  • 6,318 views

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 ...

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.

Statistics

Views

Total Views
6,318
Views on SlideShare
6,298
Embed Views
20

Actions

Likes
1
Downloads
42
Comments
0

4 Embeds 20

http://www.slideshare.net 17
http://chennaimela.blogspot.com 1
http://chatpatanamkin.wordpress.com 1
http://icccricke.webs.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Web based application of Live Scoreboard using XML. Web based application of Live Scoreboard using XML. Presentation Transcript

      • Project Name
      Web Based Application Of Live Scoreboard using XML
    • What is XML?
      • 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.
    • Use of XML
      • 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 .
    • XML Separates Data from HTML
      • 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.
      • 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.
      • With a few lines of JavaScript, we can read an external XML file and update the data content of our HTML.
    • XML Simplifies Data Sharing and Data Transport
      • In the real world, computer systems and databases contain data in incompatible formats.
      • XML data is stored in plain text format. This provides a software- and hardware-independent way of storing data.
      • This makes it much easier to create data that different applications can share.
      • With XML, data can easily be exchanged between incompatible systems.
      • One of the most time-consuming challenges for developers is to exchange data between incompatible systems over the Internet.
      • Exchanging data as XML greatly reduces this complexity, since the data can be read by different incompatible applications.
    • XML Simplifies Platform Changes and Makes Data More Available
      • 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.
      • 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.
      • Since XML is independent of hardware, software and application, XML can make the data more available and useful.
      • Different applications can access the data, not only in HTML pages, but also from XML data sources.
      • With XML, the data can be available to all kinds of "reading machines" (Hand held computers, voice machines, news feeds, etc), and make it more available for blind people, or people with other disabilities.
    • XML Parser
      • An XML parser is a program that transforms an XML into a structure that allows programmatic access to an XML document.
      • During the transformation process, the XML parser reads the XML document and examines the XML syntax; then reports any syntax errors that are encountered.
    • Type of Parser
      • DOM
        • Document Object Model
      • SAX
        • Simple API for XML
    • DOM
      • It stands for Document Object Model.
      • XML parsers that use DOM generate a tree structure of the XML document’s content, which is stored in memory.
      • 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.
    • Implementation of DOM
      • Although DOM parser can be used with any size XML documents, but the DOM parser is ideal for working with smaller XML documents.
      • The DOM parser used five classes that are used to navigate and parse elements of an XML document.
      • The classes used are
        • Node class
        • Documen t class
        • Element class
        • Character Data class
        • Attr class
      • A node is an object of XML document and is not necessarily associated with an XML tag.
      • Nodes in an XML document appear in a Parent/Child relationship.
    • About the Project
      • In modern world, time management is an important factor in developing web pages in web technology.
      • We are trying to minimize the time factor.
      • If we store the data in database and then retrieve it from the database, it will consume a lot of time.
      • 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.
      • 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.
      • In our project, we are making a web based application that will display the live scores of any live cricket game.
      • Here, we are using XML documents to store our live score that will be displayed over the HTML pages.
      • 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.
      • 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.
      • Thank You