Hi, Nigel McFarlane has written-up a story for DevX titled "Longhorn and Mozilla: Birds of a Feather" that shows that the hyped up Windows Longhorn architecture is hardly new but from 10,000 feet looks remarkably similar to Mozilla's architecture.
In the "Similarities Extend to Code" section Nigel writes: So Longhorn and Mozilla have architectural similarities—so what? As developers, the more important question is whether the software development processes for the two platforms is also alike. Yes, they are. The following code shows a simple Longhorn XAML-based application that creates a window containing some text and a button. <Window xmlns="http://schemas.microsoft.com/2003/xaml"> <TextPanel> Some Text<Button>Press Me</Button> </TextPanel> </Window> This XML document is a finished, if simplistic, application containing proprietary tags that specify or modify the layout of the window. Here's the same application written in Mozilla's XUL. <window xmlns="http://www.mozilla.org/ keymaster/gatekeeper/there.is.only.xul"> <description> Some Text<button>Press Me</button> </description> </window> As you can see, the namespaces and tag names differ, but otherwise, the code listings for the two applications are essentially identical. The resulting applications behave identically, too—right down to the multi-line reflow that occurs when users resize the application windows using the mouse. There are some differences. Longhorn currently uses a compiler. Mozilla uses an interpreter. Nigel concludes the article: It is true, though, that XML literacy is an absolute must for developers of the future. Welcome to the bold new world of declarative XML application development. Full story @ http://www.devx.com/DevX/Article/17899 or http://www.devx.com/DevX/Article/17899/1954?pf=true - Gerald PS: If you just tuned in to the XUL News Wire, Nigel McFarlane's 800-page XUL thriller is going to hit the bookstores any minute now. For details check out the XUL Alliance bookshelf @ http://xul.sourceforge.net/books.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ xul-announce mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xul-announce