Automatic static Web page Builder (iii)--publish the first available version

Source: Internet
Author: User
Tags html tags tag name

It took a day and a half to finally complete the first available version. There are several differences from previous assumptions:

1. Label format

After referring to everyone's opinion, the label format is changed to:

2, template analysis mode

The previous approach was to parse all the page tags (including HTML and custom tags), and then look for the custom tags to process them. This approach is mainly to take into account the addition of tags, do not need to modify the way the analytic template. It now appears that this is unnecessary and adds to the complexity of the gratuitous. The way to do this is to ignore the HTML tags and parse only the custom tags.

3. Data source Support

You can now support entity classes, DataTable, DataReader as data sources (note: DataReader has not been rigorously tested).

Picture when the demo screenshot, while the source code has also been updated:

Blog: http://homer.cnblogs.com/

This article supporting source code

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.