DotNetNuke Skinning Whitepaper (technical part)

Source: Internet
Author: User
Tags regular expression classic asp dotnetnuke

Translation: Technical

There are a number of ways to extract user interface elements from the page, each containing varying degrees of decomposition elements, and the need to integrate the presentation layer with the business layer. So define where, when, and how these decomposition elements are created to become the focus of the entire solution.

One technique that is popular in many scripting languages is to use tags or identifiers to describe dynamic functions in user interface files, which will be replaced by corresponding application logic when the page is loaded. Regardless of the method (intelligent decomposition, string function, regular expression, and so on) to complete this substitution, the key is that the Web application interface is generated when the page is processed, and if a replacement is performed after each request, performance will inevitably be affected. To mitigate this impact, the best solution requires the use of preprocessing or assembly techniques.

ASP.net provides a powerful abstraction of the Web page as a feature of a component. User controls are similar to the #include标志 in traditional ASP ... Apart from???. (Original: User Controls are similar to classic ASP #include directives ... except on steroids.) The latter did not know how to translate, who knows the advice to be grateful. User controls Enable separation User interface and reuse on different pages becomes possible. There are only two differences between a user control and an ASPX page: One is a suffix, the user control's suffix is ascx, and the other is that he may not contain

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.