https://fortee.jp/phperkaigi-2021/proposal/42ce8b07-6972-42bb-a2ac-96af7249cfa4 あるシステムを理解して開発を開始するとき、必要なのはInfrastructure as Codeを含むソースコードだけでは大抵の場合は不十分です。では挙動がわかるようなテストコードがあれば十分かというとそうでもありません。 いわゆる「オンボーディングの効果的な運用」「開発開始までのオーバヘッドの削減(PHPerKaigi2020で発表)」は継続的な生産性向上のためには考えなければならない要素です。 そして、上記を補完するためにしばしばドキュメントが書かれます。 私はドキュメント運用のアプローチとして「コードによる生成を含んだドキュメント運用」に興味を持っています。 私はこれを「Documentation as Code」と呼んでいま
Because code and documentation are meant to be together. phpDocumentor is the de-facto documentation application for PHP projects. Your project can benefit too from more than 20 years of experience and setting the standard for documenting PHP Applications. Documentation FeaturesWhat can phpDocumentor 3 do to help you with your documentation Super easy to install and use Thanks to the power of Dock
Discuss. Plan. Code. Review. Test.Every application your project needs, all in one tool. Review others' code with Differential, because they can't be trusted. Shows code so you can look at it. Leave helpful comments and anecdotes. Challenge the intern's test plan. Gently place bad code back in the author's queue. Here's an example revision: D13641 Host Git, Mercurial, and Subversion repositories w
BASE株式会社 Product Dev Division ソフトウェアエンジニアの田中(@tenkoma)です。主にPHPアプリ開発を担当しています。 BASEでは、PHPアプリ開発で使うエディタに制限はありませんが、希望する人はPhpStormを使えます。 PhpStormは設定を全くしなくてもかなり快適に使えると思いますが、多少設定するとより快適になります。 この記事では主に、開発環境とIDEを連携させアプリケーション開発をスムーズに始めるため、以下の設定について紹介します。 Xdebugと連携してリモートデバッグを可能にする PHPUnitと連携してテストをIDEから実行可能にする PHP_CodeSnifferを使ってコーディングスタイルを適用する EditorConfigを追加してコーディングスタイルを開発者で共有可能にする Xdebugと連携してリモートデバッグを可能にする
会社でPhpStorm導入したのに若者がサ○ラエディタ程度にしか使えてないっていうからモブプロしたよ makiです。毎日暑いですね。札幌も十分に暑いですよ? 会社の自席は冷房が直撃するので、IKEAの葉っぱで防御してます。 弊社にはゲーム開発を行っている第1第・2グループの他にその他の事業開発を行う、第3グループというものがあります。表に出せるものだと、シュキーンやgrooonをなどを企画・開発しています。 先日、この第3チームのエンジニアを集めて、モブプロを行いました。 というのも弊社ではフルタイム以上のエンジニアが希望すれば、PhpStormのコマーシャルライセンスを使うことができます。 昨年から導入を始め、最新データによるとエンジニア全体の約半数がPhpStormを使っています。母数にはPHPを書かないUnityやアプリ開発系のエンジニアも入っているので、PHPを書く人だけを母数にす
基本的にはフレームワークを問わず使えるものが多いのですが、debug()やDebugKitはCakePHP固有のものになっています。 デバッグとプロファイリングの違い ご存じの方も多いとは思いますが、デバッグとプロファイリングでは役割が異なります。 デバッグは、広義ではバグやエラーの原因を突き止めて修正する手段の事を指します。 デバッグの手法や流れは利用するツールや環境によって大きく異なりますが、今回は「変数の中身や関数の返値を画面上やログへ出力するデバッグ」という部分に主眼を置いて説明したいと思います。 例えば、Xdebug+IDEを利用してブレークポイント/ステップ実行をするデバッグや、gdbやphpdbgを利用した深いところまで追跡するデバッグについては今回は扱いません。 対してプロファイリングは、プログラム実行時における様々な情報を収集して確認する手段を指します。 関数の呼び出し頻
こんにちは、グーペグループエンジニア @hypermkt と技術部インフラグループ・シニアエンジニア @hfm です。半年に及ぶグーペのPHPアップグレード作業が2017年5月中旬に全て完了し、PHPバージョンは5.2から7.1になりました。今回の記事ではアップグレードの過程と効果について、ご紹介させていただきます。 はじめに 8年目のホームページ作成サービス「グーペ」 なぜ8年目のタイミングでアップグレードをしたのか アップグレード基本方針 PHP5.2との後方互換性を維持する deprecatedの対応は優先度低め 事前準備 新旧両バージョンで継続的テスト より広範囲をカバーできるE2Eテストを重視 リアルタイムエラー検知 下位互換性のない変更点の修正 php7ccによる互換性の自動検知 MySQL関数の削除 preg_replaceへの置き換え PHP7.1用php.iniの作成 リ
phpdbg.md phpdbg 簡易マニュアル phpdbg は CLI 環境で使える php 用のデバッガ。C における gdb 的なものです。 インストール等についてはこちら をごらんください。 目次 実行例 - CakePHP のコンソールアプリで試してみる 起動時オプション phpdbg のコマンド - 情報 開始とステップ実行 その他のコマンド ブレークポイントの設定 ウォッチポイントの設定 phpdbgの環境設定 Web アプリのデバッグ CakePHP のコンソールアプリで試してみる (起動して) $ phpdbg cake/app/Console/cake.php [Welcome to phpdbg, the interactive PHP debugger, v0.4.0] To get help using phpdbg type "help" and press
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く