摘要: 当我每次使用new时,不正是在针对实现编程吗?当看到new,就会想到具体 所谓针对实现,就是针对具体类型,具体类,下位词 总要创建对象吧!而Java只提供一个new关键词创建对象 PHP的clone关键词 静态工厂的缺点:不能通过继承来改变创建方法的行为。静态方法无法被override? NYPizzaStore, ChicagoPizzaStore, CaliforniaPizzaStore ... 阅读全文
posted @ 2010-12-02 19:34 Jackal Hu 阅读(105) 评论(0) 推荐(0) 编辑
摘要: CPU RegistersAAccumulatorXIndexYIndexNumber Literalliteral在日语中被翻译成「直定数」,似乎比有些中文译本中的“字面值”更好理解。既可以理解成“直接定义的数”,从开发者的角度;也可以理解成“直接能确定的数”,从编译器的角度。Syntax:#<radix modifi... 阅读全文
posted @ 2010-11-18 18:33 Jackal Hu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Thus, the SSL handshake takes place once a TCP connection has been established between the Web client and Web server and before the initial HTTP request is sent. 阅读全文
posted @ 2010-11-06 18:16 Jackal Hu 阅读(205) 评论(0) 推荐(0) 编辑
摘要: The ENUM Type http://dev.mysql.com/doc/refman/5.1/en/enum.html http://oreilly.com/catalog/9780596003067 An ENUM is a string object with a value chosen from a list of permitted values that are enumerat... 阅读全文
posted @ 2010-10-28 13:29 Jackal Hu 阅读(222) 评论(0) 推荐(0) 编辑
摘要: You should never store the original password in the database – a good security precaution. Return a string of random text of a desired length 阅读全文
posted @ 2010-10-17 21:11 Jackal Hu 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Various CSS properties can be applied on <hr> IE 5+ Firefox Opera 5+ width       height       border     × color   × × background-color ×   ... 阅读全文
posted @ 2010-10-14 10:57 Jackal Hu 阅读(141) 评论(0) 推荐(0) 编辑
摘要: http://net.tutsplus.com/tutorials/php/6-codeigniter-hacks-for-the-masters/ 6 CodeIgniter Hacks for the Masters Burak Guzel on Dec 29th 2009 with 80 comments   http://www.beyondcoding.com/2008/0... 阅读全文
posted @ 2010-10-01 20:45 Jackal Hu 阅读(206) 评论(0) 推荐(0) 编辑
摘要:   输入的密码可以被复制。 显示“黑点”的是http://www.fileformat.info/info/unicode/char/25cf/index.htm,U+25CF,E2978F(UTF-8)。     The cut, copy, and paste events fire when the user cuts, copies or pastes ... 阅读全文
posted @ 2010-09-26 21:34 Jackal Hu 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 一、术语 PKIPublic Key Infrastructure CA Certificate Authority 证书 三个功能: 加密 decrypt_by_private_key(encrypt_by_public_key(M)) = M 数字签名 decrypt_by_public_key(encrypt_by_private_key(M)) = M 身份验证 三、资源 证书深... 阅读全文
posted @ 2010-09-22 23:13 Jackal Hu 阅读(151) 评论(0) 推荐(0) 编辑
摘要: The exec() function is a popular function used to execute a shell command. This is a useful and convenient way to execute shell commands, but this convenience heightens your rish. If tainted data is u... 阅读全文
posted @ 2010-09-18 22:34 Jackal Hu 阅读(269) 评论(0) 推荐(0) 编辑