
其它
jack0511
这个作者很懒,什么都没留下…
展开
-
js跨域问题小结(转)
javascript出于安全方面的考虑,是不允许跨域调用其他页面的对象的。但在安全限制的同时也给注入iframe或是ajax应用上带来了不少麻烦。没有记错的话前三届D2论坛上每次都有人提这个东西,这里把涉及到跨域的一些问题简单地整理一下:首先什么是跨域,简单地理解就是因为javascript同源策略的限制,a.com 域名下的js无法操作b.com或是c.a.com域名下的对象。更详细的说明可转载 2009-07-29 08:30:00 · 834 阅读 · 0 评论 -
JqGrid小试
jquery的一个Grid插件JqGrid研究学习原创 2010-12-21 19:37:00 · 2775 阅读 · 0 评论 -
PMD规则之Migration Rules
PMD规则之Migration Rules翻译 2010-10-26 09:57:00 · 2258 阅读 · 0 评论 -
PMD规则之Clone Implementation Rules
· ProperCloneImplementation: Object clone() should be implemented with super.clone(). 翻译 适当的克隆实现:对象的clone()方法中应该包含super.clone()实现· CloneThrowsCloneNotSupportedException: The method clone() shou翻译 2010-03-04 08:50:00 · 3057 阅读 · 0 评论 -
PMD规则之Basic Rules
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <! /* Style翻译 2010-03-03 16:35:00 · 9660 阅读 · 1 评论 -
PMD规则之Design Rules
· UseSingleton: If you have a class that has nothing but static methods, consider making it a Singleton. Note that this doesnt apply to abstract classes, since their subclasses may well include non-翻译 2010-03-04 08:54:00 · 19536 阅读 · 1 评论 -
PMD规则之Controversial Rules
· UnnecessaryConstructor: This rule detects when a constructor is not necessary; i.e., when theres only one constructor, its public, has an empty body, and takes no arguments. 翻译 非必要的构造器:本规则检查不必翻译 2010-03-04 08:52:00 · 12291 阅读 · 0 评论 -
PMD规则之Finalizer Rules
· EmptyFinalizer: If the finalize() method is empty, then it does not need to exist. 翻译 空的finalize():如果finalize()方法是空的,那么它就不需要存在。· FinalizeOnlyCallsSuperFinalize: If the finalize() is implement翻译 2010-03-04 08:56:00 · 1967 阅读 · 0 评论 -
PMD规则之Coupling Rules
· CouplingBetweenObjects: This rule counts unique attributes, local variables and return types within an object. A number higher than specified threshold can indicate a high degree of coupling. 翻译翻译 2010-03-04 08:53:00 · 4005 阅读 · 0 评论 -
PMD规则之Braces Rules
· IfStmtsMustUseBraces: Avoid using if statements without using curly braces. 翻译 if块必须用括号:避免使用if块时不使用花括号{}· WhileLoopsMustUseBraces: Avoid using while statements without using curly braces.翻译 2010-03-04 08:48:00 · 4005 阅读 · 0 评论 -
PMD规则之JavaBean Rules
· BeanMembersShouldSerialize: If a class is a bean, or is referenced by a bean directly or indirectly it needs to be serializable. Member variables need to be marked as transient, static, or have acc翻译 2010-03-04 08:59:00 · 2851 阅读 · 0 评论 -
PMD规则之J2EE Rules
· UseProperClassLoader: In J2EE getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 翻译 使用合适的类加载器:在J2EE中getClassLoader()方法可能不会按照期望工作。使用Thread.cu翻译 2010-03-04 08:58:00 · 3061 阅读 · 0 评论 -
PMD规则之Import Statement Rules
· DuplicateImports: Avoid duplicate import statements. 翻译 重复的引入:避免重复的import· DontImportJavaLang: Avoid importing anything from the package java.lang. These classes are automatically imported翻译 2010-03-04 08:57:00 · 3757 阅读 · 0 评论 -
PMD规则之Code Size Rules
· NPathComplexity: The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken t翻译 2010-03-04 08:50:00 · 9152 阅读 · 0 评论 -
构建大型商务系统应该考虑的因素
1、远程方法调用。需要通过网络连接使客户端和服务器连接起来的机制。这些机制包括发送方法请求,代理参数传递等。2、平衡装载。客户端必须以最小的装载量连接到服务器端。如果服务器过载了,那么就要考虑另一个服务器了。3、透明的故障恢复。如果服务器崩溃了,或者网络崩溃了,客户端能被路由到其他的服务器而不中止服务吗?如果能,那么故障恢复要多快能完成?您的商务应用所容许的底限是什么?数秒还是数分转载 2010-01-28 16:53:00 · 707 阅读 · 0 评论 -
Java代码检测工具PMD规则集翻译合集
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span style="font-family: 宋体; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman;">以下内容为 PMD <span style="font-f翻译 2010-01-27 11:09:00 · 8792 阅读 · 2 评论 -
好的软件人员一生必看的六十本书
一、 科学哲学和管理哲学 【1】 “程序开发心理学”(The Psychology of Computer Programming : Silver Anniversary Edition) 【2】 “系统化思维导论”(An Introduction to Systems Thinking, Silver Anniversary Edition) 【3】 “系统设计的一般原理”( General转载 2009-11-25 09:46:00 · 996 阅读 · 0 评论 -
小儿发烧感冒,尽可能多护理,多观察,不要随便用药
从百度搜索“发炎”,可以看到病理变化 炎症按基本病理变化又分为:①变质性炎症。②渗出性炎症。③化脓性炎症。④出血性炎症。⑤卡它性炎症。⑥增生性炎症。总之,炎症是生物进化过程中形成的、机体对致炎因子的损伤作用所产生的一种防御反应。通过炎症的充血与渗出,使组织获得更多的营养和抗体等。可中和毒素,消灭致炎因子,清除异物和组织碎屑。炎症的增生有助于组织的修复。同时全身反应的发热可以促使机体代谢增原创 2012-11-28 09:43:16 · 1506 阅读 · 0 评论