タグ

2011年12月15日のブックマーク (4件)

  • Higher-Order Perl

    by Mark Jason Dominus Order Higher-Order Perl online from Powell's Books Download full text Current Status: The book was published on 8 March 2005. Copies are now available in bookstores in the U.S. and Europe, and from online booksellers. A second printing became available in August 2005. A Chinese-language edition of HOP, translated by Mr. Teng Jiahai, was published in June 2013 by China Machine

  • Vimのニッチな正規表現で遊ぼう - Humanity

    さあみなさんVim Advent Calendarも14日目ということで佳境にさしかかってきましたね! とか他のAdvent Calendarに参加してたなら言ってたかもしれないですが Vim Advent Calendarの場合1月5日ぐらいまで登録されてる状態とかどういうことですか... まぁ案の定Advent Calendar締切ギリギリになって急いで記事書いてますこんばんわ。*1 寝ずに記事を書いてるので勢いがついて変なこと口走ってないか心配ですが、 乗るしかない、このビッグウェーブに!ということで終始勢いだけですがそれなりに有用なことも含めたつもりです。たぶん。 いろいろネタがあって迷いましたが、Vimの正規表現について 他の正規表現エンジンにはない(と思われる)ニッチな機能を紹介していきたいと思います。 ちなみにVimの正規表現エンジンをマルチバイト文字に対応させたのはKoRo

    Vimのニッチな正規表現で遊ぼう - Humanity
  • 2.0 移行ガイド - 2.x

    2.0 移行ガイド¶ このページはプロジェクトを2.0に移行する手助けをする、CakePHP 1.3からの変更点の要約をします。 またこれは、コアへのCakePHP 1.3ブランチからの変更点への最新の開発者リファレンスともなります。 必ずこのガイドにある新機能とAPIの変更の全てのページを読んでください。 サポートするPHPバージョン¶ CakePHP 2.xはPHP 5.2.8以上をサポートします。 PHP4のサポートは止めることになります。 いまだPHP4環境での案件で働いている開発者のために、PHP4の開発とサポートの継続期間のうちまで、CakePHP1.xは続けてPHP4をサポートします。 PHP5に移行するということは、全てのメソッドとプロパティはアクセス修飾子を伴うように書き直されるということです。 コード内でprivateもしくはprotectedメソッドをpublicスコ

  • Testing CakePHP Controllers the hard way | Mark Story

    By now you already know or should know about CakeTestCase::testAction() and the wondrous things it can do. However, testAction has a few shortcomings. It can’t handle redirects, it doesn’t let you use the power of Mocks, and its impossible to make assertions on object state changes. Sometimes you need to do things the hard way, stick your fingers in the mud and work it out. However, knowing how to

    Testing CakePHP Controllers the hard way | Mark Story