Share PowerPoint. Anywhere!

xml in mozilla

Uploaded from authorPOINT Lite
Download as Download Not Available PPT
Presentation Description

No description available

Views: 23
Like it  ( Likes) Dislike it  ( Dislikes)
Added: December 28, 2007 This presentation is Public
Presentation Category :Entertainment
Tags Add Tags
Presentation StatisticsNew!
Views on authorSTREAM: 23
Presentation Transcript

Slide1 : XML in the Mozilla Architecture Shalabh Chaturvedi Persistent Systems Pvt Ltd Pune shalabh@pspl.co.in


Slide2 : Outline What is Mozilla? XUL (XML Based User Interface Language) RDF (Resource Description Format) XUL Templates - Mixing XUL and RDF Possibilities


Slide3 : Mozilla Story 1998 1999 2000


Slide4 : Mozilla Design Front end or Chrome drawn using GUI toolkits platform specific Web page drawn by a layout engine A web browser Bitter truth: maintaining front ends on multiple platforms is painful What if : Code could be written only once? Creating GUIs could be as simple as web pages? The layout engine also rendered the chrome?


Slide5 : Specification for the user interface What is XUL ? gecko A Graphical User Interface The layout engine


Slide6 : XUL Elements ,

, , , , , Elements exist for all common UI widgets Look and feel can be changed using CSS Not yet a W3C Specification (many more…)


Slide7 : RDF Resource Description Framework Defines a data model for describing resources Suited to particular kind of information Data Model Resources Properties Statements XML Serialization Syntax


Slide8 : RDF Data Model Tintin Three statements about a resource ‘Tintin’ Snowy Capt Haddock Thomson Prof Calculus hasPet rdf:type hasFriends rdf:seq brown colourOfHair


Slide9 : Combining XUL and RDF RDF datasource : collection of RDF statements Within mozilla all data is represented as RDF datasources RDF in Mozilla XUL XUL Templates Defines the user interface Pull data from RDF datasources into XUL elements Generate XUL elements dynamically


Slide10 : The Big Picture Datasource (collection of rdf statements) XUL (with templates) mozilla Dynamic Content


Slide11 : XUL Templates A