Diff for /books/www/articles/xpfe_dhtml.html between versions 1.22 and 1.25

version 1.22, 2001/08/14 18:15:16 version 1.25, 2001/08/14 18:41:57
Line 35  useful for developers it is necessary to Line 35  useful for developers it is necessary to
 <p>XPFE uses a number of existing Web standards, such as <a href="http://www.w3.org/Style/CSS/">Cascading Style Sheets</a>, <a  <p>XPFE uses a number of existing Web standards, such as <a href="http://www.w3.org/Style/CSS/">Cascading Style Sheets</a>, <a
 href="http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM">JavaScript</a> and <a href="http://www.w3.org/XML/">XML</a> (the XML component is a new language  href="http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM">JavaScript</a> and <a href="http://www.w3.org/XML/">XML</a> (the XML component is a new language
 called XUL, the XML-based User Interface Language).  In it's most simple form, XPFE can be thought of as simply the union of each of these standards.  called XUL, the XML-based User Interface Language).  In it's most simple form, XPFE can be thought of as simply the union of each of these standards.
Viewed together these three standards can be seen forming XPFE in Figure 1 below.Viewed together these can be seen forming XPFE in Figure 1 below.
   
 <center>  <center>
 <p><img src="http://books.mozdev.org/screenshots/moz_0101.gif"><br>  <p><img src="http://books.mozdev.org/screenshots/moz_0101.gif"><br>
Line 54  create a cross-platform application. Line 54  create a cross-platform application.
 <p>Although the actual creation of Mozilla-based applications can be much more complicated than building a Web page, XPFE allows developers to create  <p>Although the actual creation of Mozilla-based applications can be much more complicated than building a Web page, XPFE allows developers to create
 applications in the same way they would create a Web page.  Or to put it another way, the application is now a Web page.    applications in the same way they would create a Web page.  Or to put it another way, the application is now a Web page.  
   
 <p>In some ways Mozilla doesn't even make a distinction between Web pages and XPFE applications.  For instance, Gecko, the layout engine that Mozilla  
 uses to render Web pages in the browser, also renders Mozilla-based applications on the desktop.  
   
 <p><b>Comparing XPFE and DHTML</b>  <p><b>Comparing XPFE and DHTML</b>
   
<p>In many ways XPFE is very similar to <a href="http://www.webreference.com/dhtml/">DHTML</a>.  Dynamic HTML is a combination of HTML with JavaScript<p>In many ways XPFE is very similar to <a href="http://www.webreference.com/dhtml/">DHTML</a>.  Dynamic HTML is a combination of HTML with
and CSS that allows a developer to create a Web application that is contained within the content area of a browser.  XPFE provides a logical evolution toJavaScript and CSS that allows a developer to create an application that is contained within the content area of a browser.  XPFE provides a logical
this idea by allowing the creation of applications that are more powerful, more flexible and that can live outside of the browser window as stand-aloneevolution to this idea by allowing the creation of applications that are more powerful, more flexible and that can live outside of the browser window
programs.as stand-alone programs.
   
 <p>Figure 2 below illustrates the similarities between XPFE and DHTML.  Both use JavaScript to create functionality, both use CSS to format design and  <p>Figure 2 below illustrates the similarities between XPFE and DHTML.  Both use JavaScript to create functionality, both use CSS to format design and
 layout, and both use a fairly simple mark-up language to describe content.  The difference between the two is that one of these mark-up languages is HTML  layout, and both use a fairly simple mark-up language to describe content.  The difference between the two is that one of these mark-up languages is HTML

Removed from v.1.22  
changed lines
  Added in v.1.25


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>