tailieunhanh - Building some design patterns in C#
In this article we will consider building a number of designs that Gamma has proposed language with C#.The purpose of the work here is to have an insight than some designs can be implemented in C#, to learn the new features of the language in practice and make it easier for designers object-oriented software | Nguyễn Mạnh Đức Tạp chí KHOA HỌC & CÔNG NGHỆ 90(02): 77 - 86 BUILDING SOME DESIGN PATTERNS IN C# Nguyen Manh Duc* College of Education – TNU SUMMARY In software engineering, design is a total solution for common problems in software design. Profound idea of the design is good saving solutions-oriented design and object re-use them to solve similar problems. New object oriented language C#, Microsoft's influencemany of the languages Java and C++. But there are still many new and interesting featureis introduced to simplify the design of object-oriented. In this article we will consider building a number of designs that Gamma has proposed language with C#.The purpose of the work here is to have an insight than some designs can be implemented in C#, to learn the new features of the language in practice and make it easier for designers object-oriented software. Key words: Design Patterns, Singleton, Proxy, Abstract Factory, Strategy, UML INTRODUCTION* Object oriented programming has been the dominating style in software development for quite a few years. The intuitive way in which object oriented languages allow us to divide our code into objects and classes is what makes this style of programming attractive. Another aim of object oriented program design is to make code more reusable. However practical has shown that designing reusable object oriented software is not always that easy. A good software design should, not only solve existing problems, but also concern future problems. It should make the program flexible, easy to maintain and to update. Design patterns help us address these issues. The idea is quite simple, we save document and design solutions that have been used and worked for reoccurring problems, in order to use them again in similar situations. In software engineering, a design pattern is a total solution for common problems in software design. A design pattern is not a perfect design for can be converted directly into code, it is only a .
đang nạp các trang xem trước