V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
buaacss
V2EX  ›  酷工作

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

  •  
  •   buaacss · 2013-06-04 21:36:32 +08:00 · 3465 次点击
    这是一个创建于 3970 天前的主题,其中的信息可能已经有所发展或是发生改变。
    <?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');
    }
    第 1 条附言  ·  2013-06-14 09:18:09 +08:00
    已物色到符合要求的工程狮,感谢大家
    3 条回复    1970-01-01 08:00:00 +08:00
    Sunyanzi
        1
    Sunyanzi  
       2013-06-04 21:58:37 +08:00   ❤️ 1
    很漂亮的招人模板 ... 修正一些小错误如下 ...

    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
        2
    zythum  
       2013-06-14 10:32:53 +08:00
    @Sunyanzi 孙燕姿好认真的卖了个萌
    zhaoyafei
        3
    zhaoyafei  
       2013-07-29 06:33:53 +08:00
    @zythum 朱一也来一个?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5503 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:37 · PVG 11:37 · LAX 20:37 · JFK 23:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.