摘要
随着电子商务的发展,消费者开始不满足于单一不变的商品,定制化的电子商务逐渐兴起。分析了现有电子商务系统中定制化实现的不足,提出了将装饰者设计模式应用到电子商务定制化系统设计中的思路和方法。通过实例,比较了完全继承机制与装饰者模式的优劣,说明了装饰者模式在软件可扩展性和可维护性中的作用。
With the development of electronic commerce,consumers are not satisfied with the product singleness any more. Needs for electronic commerce customization might be on the rise. It analyses problems existing in the implementation of customization of electronic commerce systems and proposes a method of applying the decorator design pattern into electronic commerce customization system designs. Through an example,the inheritance mechanism and the decorator design pattern are compared and the functions of the decorator design pattern for software scalability and maintainability are illustrated.
出处
《微型电脑应用》
2014年第10期20-22,共3页
Microcomputer Applications
基金
辽宁省精品资源共享课项目资助(363187)
关键词
装饰者模式
定制化
电子商务
系统设计
Decorator Design Pattern
Customization
Electronic Commerce
System Design