新浪读书招聘学徒/PHP程序员

2013-06-04 21:36:32 +08:00
 buaacss
<?php
class Candidate {
private static $point = 0;
public function isSufficient() {
self::hasPHPKnowledge();
self::hasMyDatabaseKnowledge();
self::hasCacheKnowledge();
self::hasExpWithSomeFrameworks();
self::hasExpWithHighLoad();
self::hasContributeToCommunity();
self::hasPassion();
reutrn self::$point > 16;
}

public function hasPHPKnowledge() {
你能读懂这段代码 && self::$point++;
你知道单例和工厂模式 && self::$point += 2;
}

public function hasDatabaseKnowledge() {
if (你会使用mysql) {
你知道怎么用 select/update/delete/insert)&& self::$point++;
你知道怎么设计表结构 && self::$point++;
你知道隔离级别,理解事务 && self::$poin++;
你知道怎么能hold住2亿行数据 && self::$point += 2;
你熟读mysql手册,知道引介词 && self::$point += 3;
}

if (你知道如何使用redis) {
用过hash && self::$point++;
用过list && self::$point++;
用过zset && self::$point++;
用过pub/sub && self::$point+=2;
}

用过mongoDB && self::$point++;
能设计HBase的rowkey && self::$point+=2;
}

public function hasExpWithSomeFrameworks() {
用过Yii/QeePHP/Cake/symfony && self::$point++;
自己写过框架 && self::$point+=2;
}

public function hasExpWithHighLoad() {
了解负载均衡(LVS/HA) && self::$point++;
高并发 && self::$point++;
多点高可用 && self::$point++;
}

public function hasContributeToCommunity() {
有github/google code/bitbucket账号,并有开源项目 && self::$point++;
有stackoverflow账号,并回答过问题 && self::$point++;
}

public function hasPassion() {
热爱编程 && self::$point++;
写过objc-c/java/c/c++/python的项目 && self::$point++;
自学过lisp/haskell/erlang/perl/bash && self::$point+=2;
}
}

$someOne = new Candidate();
if ($someOne->isSufficient()) {
mail('shuoshi#staff.sina.com.cn', 'xxx的个人简历', 'cv.pdf');
}
3474 次点击
所在节点    酷工作
3 条回复
Sunyanzi
2013-06-04 21:58:37 +08:00
很漂亮的招人模板 ... 修正一些小错误如下 ...

6c6
< self::hasDatabaseKnowledge();
---
> self::hasMyDatabaseKnowledge();
12c12
< return self::$point > 16;
---
> reutrn self::$point > 16;
22c22
< 你知道怎么用select、update、delete、insert && self::$point++;
---
> 你知道怎么用 select/update/delete/insert)&& self::$point++;
24c24
< 你知道隔离级别,理解事务 && self::$point++;
---
> 你知道隔离级别,理解事务 && self::$poin++;
33c33
< 用过pub_and_sub && self::$point+=2;
---
> 用过pub/sub && self::$point+=2;
40,41d39
< public function hasCacheKnowledge() {}
<
43c41
< 用过Yii、QeePHP、Cake、Symfony && self::$point++;
---
> 用过Yii/QeePHP/Cake/symfony && self::$point++;
48c46
< 了解负载均衡LVS_and_HA && self::$point++;
---
> 了解负载均衡(LVS/HA) && self::$point++;
54c52
< 有github、google_code、bitbucket账号,并有开源项目 && self::$point++;
---
> 有github/google code/bitbucket账号,并有开源项目 && self::$point++;
60,61c58,59
< 写过objc-c、java、c、C_plus_plus、python的项目 && self::$point++;
< 自学过lisp、haskell、erlang、perl、bash && self::$point+=2;
---
> 写过objc-c/java/c/c++/python的项目 && self::$point++;
> 自学过lisp/haskell/erlang/perl/bash && self::$point+=2;

这样至少可以执行恩 ...
zythum
2013-06-14 10:32:53 +08:00
@Sunyanzi 孙燕姿好认真的卖了个萌
zhaoyafei
2013-07-29 06:33:53 +08:00
@zythum 朱一也来一个?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/71248

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX