首页> 外文期刊>Access VB - SQL Advisor >Create Reusable Templates and Skins in ASP.NET
【24h】

Create Reusable Templates and Skins in ASP.NET

机译:在ASP.NET中创建可重用的模板和外观

获取原文
获取原文并翻译 | 示例

摘要

As you've seen, templates and skinning really don't take much work to set up and are easy to customize. I challenge you to take what I've discussed in this article further. You can include style sheets for each skin or maybe even implement caching, so each skin comes from the cache instead of being loaded dynamically. It's a good idea to make it even more dynamic. Have the list of available skins come from a database instead of being hardcoded, and as I mentioned before, have all template.ascx files inherit from a single BaseSkin class. With the announcement of Whidbey (the next version of Visual Studio), ASP.NET has a new feature called Master Pages that is the ultimate template system. It's a great feature and definitely worth looking at for the future. Because Whidbey won't be released until late 2004, the topics discussed in this article are very pertinent and useful. You can organize templates and skins in ASP.NET to make organized, reusable, and maintainable Web applications, as well as save time building the look of new Web applications.
机译:如您所见,模板和外观确实不需要太多工作来设置,而且易于定制。我向您提出挑战,要求您进一步介绍本文中讨论的内容。您可以为每个外观添加样式表,甚至可以实现缓存,因此每个外观都来自缓存,而不是动态加载。使其更具动态性是一个好主意。使可用皮肤列表来自数据库而不是经过硬编码,并且正如我之前提到的,使所有template.ascx文件都从单个BaseSkin类继承。随着Whidbey(Visual Studio的下一个版本)的发布,ASP.NET具有称为母版页的新功能,这是最终的模板系统。这是一个很棒的功能,绝对值得展望未来。由于Whidbey直到2004年下半年才发布,因此本文中讨论的主题非常相关且有用。您可以在ASP.NET中组织模板和外观,以使组织化,可重用和可维护的Web应用程序,以及节省构建新Web应用程序外观的时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号