官术网_书友最值得收藏!

Design Patterns

The word pattern means a guide or a model that is to be followed when making things. In software development, we often use programming techniques and solutions developed by others that prove to be credible over time. Solutions to software problems were not developed overnight, and most of these problems were common across the development world, so these time-tested solutions were grouped to be re-used by others.

So a design pattern is a re-usable solution that can be used in our projects so that time-tested programming techniques can be employed to solve similar kinds of problems.

The main difference between architecture and design patterns is that design patterns deal with implementation-level issues, and are more close to the programming and development platform, whereas architecture is at a more abstract level and is independent of the implementation. Design patterns tell us how we can achieve a solution in terms of implementation. But the patterns themselves are independent of the programming language and technology platform. We can implement a particular design pattern in any language we want: JAVA, C# or PHP. We cannot use design patterns as-it-is in our projects. They show us the right path to take in order to solve a problem, but they are not a complete solution. We cannot simply copy-paste a particular design pattern's code directly into our project. We will need to modify it to suit our own unique needs and implementation platform.

In the coming chapters, we will learn some of the famous design and commonly used patterns, with sample code in ASP.NET.

主站蜘蛛池模板: 汶川县| 兴隆县| 朝阳县| 汉川市| 乐业县| 丹阳市| 林芝县| 乐平市| 阜新市| 灵川县| 五台县| 丹寨县| 邵阳县| 五家渠市| 仁怀市| 铅山县| 临武县| 岢岚县| 怀远县| 勐海县| 渭源县| 舟山市| 琼海市| 平江县| 富阳市| 吉首市| 广宁县| 都江堰市| 深州市| 兰溪市| 中阳县| 盖州市| 天镇县| 丁青县| 溆浦县| 泰顺县| 无极县| 宽甸| 峨山| 梅河口市| 新昌县|