清单9显示了我在“利用可重用代码,第2部分”中引入的一个模式,它以删除结构性重复为名义。
Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.
要使它满足WS - i依从性,可删除标记并将其替换为标记,如清单17所示。
To make it WS-I compliant, remove the tag and replace it with tag as shown in listing 17.
为了使 URL 更具可删节性,最好使用户只需从 /Products/Beverages.aspx 中删除 Beverages.aspx 即可看到产品类别的列表。
To make the URL more "hackable," it would be nice if a user could simply hack off the Beverages.aspx from /Products/Beverages.aspx and be shown a listing of the product categories.
应用推荐