Decorator Pattern with XML in web application

Vijay K Kerji
{"title":"Decorator Pattern with XML in web application","authors":"Vijay K Kerji","doi":"10.1109/ICECTECH.2011.5942008","DOIUrl":null,"url":null,"abstract":"Reusability and adapting to the changing software requirements are some of the challenges faced by software engineering community. In order to achieve these goals, application of Deign Patterns in software design is a proven practice. Choosing a Design Pattern and applying it to the correct software requirements needs experience and better understanding of each of the patterns In this paper, we proposed and applied Decorator Design Pattern to web application to simplify the implementation of certain software requirements which has different implementation for different user, keeping some of the features remain constant. Decorator pattern adds additional responsibility to the existing user page thereby reducing the total efforts needed to implement the corresponding requirement. Based on the type of user logged into the application, necessary XHTML code will be generated and rendered to the browser. Extensible Markup Language (XML) is used to increase the adaptability of the web application to changing requirements. Use of XML will make the application flexible to the changes in the requirement which makes the code maintenance easier. This proposed design is implemented using .NET frame work, C# and ASP.NET. Resulting application showed improvement in performance, increasing reusability and its ease of maintenance.","PeriodicalId":184011,"journal":{"name":"2011 3rd International Conference on Electronics Computer Technology","volume":"252 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-04-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 3rd International Conference on Electronics Computer Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICECTECH.2011.5942008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

Reusability and adapting to the changing software requirements are some of the challenges faced by software engineering community. In order to achieve these goals, application of Deign Patterns in software design is a proven practice. Choosing a Design Pattern and applying it to the correct software requirements needs experience and better understanding of each of the patterns In this paper, we proposed and applied Decorator Design Pattern to web application to simplify the implementation of certain software requirements which has different implementation for different user, keeping some of the features remain constant. Decorator pattern adds additional responsibility to the existing user page thereby reducing the total efforts needed to implement the corresponding requirement. Based on the type of user logged into the application, necessary XHTML code will be generated and rendered to the browser. Extensible Markup Language (XML) is used to increase the adaptability of the web application to changing requirements. Use of XML will make the application flexible to the changes in the requirement which makes the code maintenance easier. This proposed design is implemented using .NET frame work, C# and ASP.NET. Resulting application showed improvement in performance, increasing reusability and its ease of maintenance.
web应用中带有XML的装饰器模式
可重用性和适应不断变化的软件需求是软件工程社区面临的一些挑战。为了实现这些目标,在软件设计中应用设计模式是一种经过验证的实践。选择一种设计模式并将其应用到正确的软件需求中需要经验和对每种模式的更好理解。本文提出了Decorator设计模式,并将其应用到web应用程序中,以简化对不同用户有不同实现的某些软件需求的实现,保持一些特性不变。装饰器模式向现有用户页面添加了额外的职责,从而减少了实现相应需求所需的总工作量。根据登录到应用程序的用户类型,将生成必要的XHTML代码并呈现给浏览器。可扩展标记语言(XML)用于增加web应用程序对不断变化的需求的适应性。使用XML将使应用程序灵活地适应需求的变化,从而使代码维护更容易。本设计采用。net框架、c#和ASP.NET实现。结果表明,应用程序在性能、可重用性和维护便利性方面有所改善。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信