Use XAML for Web pages !! -Opening part

Source: Internet
Author: User

     

    I haven't published any new posts in the past few days.ArticleFirst, because there are many things, and second, I am studying and usingXAMLChallenge traditionHtmlWeb pages are probably the first attempt in the world. At least I have never found any reference materials.

     

    I made a hit on the results of this challenge.7Points:

     

    XAMLThe performance in page layout, graphics, animation, and controllability is perfect. I don't even have the chance to find anything to do with it;

     

    compatibility, XAML all Windows various browsers on the platform, it is actually called " Windows Demonstrate basic host" for parsing and rendering, therefore, if . net 3.0 , and they all look the same ( non IE7 A navigation bar is automatically added to control forward and backward ) ;

    for XAML the functional test is out of the scope of this challenge, because I am challenged HTML fully used XAML to create, no Program Code is added, however, WPF the powerful functionality of browser applications is obvious, to put it bluntly, it is a Windows desktop programs, this is obviously worse than JS and other script languages provide many functions;

     

    XAMLThe rendering speedHtmlThere is a gap. This is mainly reflected in the waiting time for page loading and refresh. Without any test tools, you can understand the time difference between loading and refresh, however, the latency is not too large, andXAMLThis is completely acceptable for outstanding functions;

     

    XAMLThe obvious deficiency lies in the text layout. I thought that the stream document could be fully competent in this aspect of work. Who knows that its ability to join the page layout can be described as a "mess, I think these are major design flaws and I will summarize them later.

     

    I will repeat my creation steps in the following article. Before that, I will first demonstrate the final implementation effect:

     

     

    Full Size page capture

     

    Run inVistaSystemIE7In the screenshot

     

    Run inXPSystemFirefoxIn the screenshot(The font is not installed, so the font looks ugly)

     

     

    The content presented in this example, except for the small illustration of the external link in the body, all usesXAMLDescription. No bitmap,FlashAnimation and program code. Only the following files are used for browsing.XAMLFile:

     

     

    Default. XAML is the home page, info. XAML is the stream document embedded in the content area, and others are Graphical resources designed by Microsoft Expression design.

     

    The layout produced in this example is liquid. The page width can be stretched with the browser width. I set the minimum page width1000The page height varies with its content.

     

     

    The creation process is to be completed later.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.