{"title":"web应用中带有XML的装饰器模式","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":"{\"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}","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}
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.