1.单一职责原则(srp):就是设计一个对象,对象的职责要单一.比如设计用户类,将用户的行为和用户的属性分成两个接口,继承的方式设计类.还有一个srp的解释是:there is no more than one reason for a class to change但srp的原则有可能把握的过细,...
分类:
其他好文 时间:
2014-06-28 13:57:06
阅读次数:
205
方法-:1,在Service中使用pagedlist实现翻页的方法写法一: /// ///政策法规的more列表翻页 /// /// 分页的页码 /// 部门代码 /// public PagedList Li...
分类:
Web程序 时间:
2014-06-28 13:06:47
阅读次数:
345
$@$@ is the name of the target.$?The $? macro stores the list of dependents more recent than the target (i.e., those that have changed since the last ...
分类:
其他好文 时间:
2014-06-28 10:50:20
阅读次数:
192
You may select a form of payment after your account balance reaches $10.00.Learn more显然是说达到10美元以后才可以选择一个收款的Form
分类:
其他好文 时间:
2014-06-24 10:09:20
阅读次数:
204
文件管理命令?基本命令:ls、cd、pwd、man?文件操作:touch、cp、rm、mv、ln、mkdir、rmdir、?文件查看:cat、more、less、head、tail?文件权限:chmod、chgrp、chown?文件搜索:which、whereis、grep、find、wc1、ls打...
分类:
系统相关 时间:
2014-06-22 23:58:30
阅读次数:
447
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
Is it a dream that you can access text files using SQL statements?
But now, it is true that DB Query Analyzer provides you a power tool which can help you realize the dream above. I’ll give you a sample to show its powerful function. What’s more, the p...
分类:
数据库 时间:
2014-06-21 18:41:54
阅读次数:
510
1. Introduction HTB is meant as a more understandable, intuitive and faster replacement for the CBQ qdisc in Linux. Both CBQ and HTB help you to contr...
分类:
系统相关 时间:
2014-06-21 15:40:55
阅读次数:
416
Running KVM and Openvswitch on Ubuntu 12.10 I’ve got an aging VMWare ESXi 4.0 server that needs to be replaced with something a little more modern and...
分类:
其他好文 时间:
2014-06-21 14:53:30
阅读次数:
338
GETTING STARTED OPENFLOW OPENVSWITCH TUTORIAL LAB : SETUP For a more up to date tutorial as anything more then 6 months old is outdated in the world o...
分类:
其他好文 时间:
2014-06-21 14:52:12
阅读次数:
347