PHP Package Development Standards This initiative researches the PHP package ecosystem to recognize commonly adopted development practices. It rationalizes and refines those practices, then publishes them as PDS packages for reference by PHP package authors. PDS publications are derived from and supported by common practices existing in real packages, as adopted by existing authors who have a cont
PHPの内部構造についての資料として有名な『PHP Internals Book』というサイトがあるんですが、これを日本語に翻訳したサイトを先日リリースしました。 PHP Internals Book 日本語訳 本家のPHP Internals Bookは、Julien Pauliさん、Anthony Ferraraさん、Nikita PopovさんというPHPを実際に開発している有名な方々によって共同執筆されたもので、PHPの内部構造について解説したものです。 これほどまとまった資料はあまりなく、PHPの内部構造を勉強する人にとっては非常に役に立つ資料で、他のPHP内部構造について日本語で書かれた資料には言及されてないような情報も多く、PHP7.1がリリースされた今でも参考になります。 私自身、PHP内部構造を勉強する上でPHP Internals Bookをよく参照していましたが、もと
2016/10/31 PHPにおけるシンボリックリンクを使ったデプロイの危険性について(「realpath_cache」和訳) PHP サーバーサイド この文書は@julienPauliさんによる記事「realpath_cache」の日本語翻訳です。元々は@gilbiteさんがKLab社内向けに翻訳したものでしたが、日本語では見たことがない指摘を含んでおり今でも有用だと考えたため、@julienPauliさんの了解を取った上で@hnwが修正・追記して公開するものです。 はじめに PHP に realpath_cache_get(), realpath_cache_size() という関数があることをご存じでしょうか? また、php.ini に realpath_cache から始まる設定項目があることは? realpath cache は知っておきたい極めて重要な概念です。 特に、コードの
こんにちは、ナカエです。 Radar.ADRがベータになったので、前から書こう書こうと思っていたとRadarの紹介を数回に分けてしていきたいと思います。 ※今日の記事はRadarにたどり着くくらいで終わります。 最近のPHP製Webフレームワークと私 弊社も業務で利用していますが、世間ではLaravelが盛り上がっていて、日本語記事も増えたなと感じます。CakePHP3も2に比べグッと使いやすくなりました。大御所のSymfonyも3が出ました。Zend Frameworkも3系の詳しい情報が入ってきています。 PHP7の本番導入もそろそろ見えてくるかなという今日この頃。 新しいのが出たからフレームワークを今すぐ乗り換えるぞ、ということはまずありえません。しかし、今後の新しいフレームワークの登場や既存のフレームワークのメジャーアップデートに必要以上に惑わされないために、Webフレームワークと
As already said numerous time, PHP 7 is faster than PHP 5. Since PHPUnit 4.8 you can choose between XDebug and phpdbg as driver to retrieve code coverage data, see PHPUnit 4.8: Code Coverage Support. Here is some benchmark results. All the tests are run using PHPUnit 5.0.8, PHP 5.6.15 as SCL or PHP 7.0.0RC6 as SCL and XDebug 2.4.0beta1 (freshly released, with some additional patches) for the compo
Solid Foundation. No Magic. Spot is a simple and efficient DataMapper built on Doctrine DBAL. PHP 5.4+ with support for MySQL, PostgreSQL, SQLite, and more... View on GitHub Read The Docs No AnnotationsAnnotations are not code. They are not extendible, there are no type hints or auto-completion. No Proxy ClassesThe Entities you define are the same entities that both you and Spot will be workin
Now you can use it simply via robo. Composer Run composer require consolidation/robo:^3Use vendor/bin/robo to execute Robo tasks.Usage All tasks are defined as public methods in RoboFile.php. It can be created by running robo init. All protected methods in traits that start with task prefix are tasks and can be configured and executed in your tasks. Examples The best way to learn Robo by exampl
ここでぼやいても誰にも伝わらない気がするけど、一旦吐き出しておきます。 事の経緯 私は https://packagist.org のミラーサイト packagist.jp を運営しています。 スクレイピングのプログラムがバグっていて、1ヶ月に一度ぐらい古くなったファイルを掃除して回る定期作業があるのですが、その中で妙にlaravel関連のパッケージ情報が巨大であることに気づきました。 例えば、私のMacのローカルキャッシュに残っているパッケージ情報をファイルサイズでsortすると、上位は全てlaravel関連のものになります。これらはpackagist.jpの中にミラーリングされているファイルと全く同じものです。 1971473 p-provider-2016-01.json 2058474 p-provider-2016-04.json 3687200 provider-illumin
Announcing XHP-JS: Building efficient user interface components with Hack, React, and XHP As Facebook has grown, there have been three major classes of issues for our UI code: Server-side efficiency: HTTP responses should be quick and easy to compute. Client-side efficiency: Anything computed inside the web browser still needs to be fast so we don’t harm perceived load time or battery life. Develo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く