
Debug PHP sources in forward or reverse Ability to set line breakpoints, inspect PHP variables and the call stack, step over/out/into backwards or forward, hit breakpoints when running in reverse or forward mode, run to cursor backwards etc. Full compatibility with existing PHP IDEs like Netbeans, Eclipse PDT, PhpStorm or any other PHP IDE/Editor that supports Xdebug. No special IDE plugins or mod
導入のための留意点 筆者は、CakePHP3での採用と他のフレームワークでも非依存で利用できるからという理由で導入をした。 しかしCakeDCのmigrations pluginと同じ考え方なんだろうという先入観があったために、かえって理解しづらい点があったので、そういう方は次の点を念頭に置くと悩みが少ない(かもしれない)。 既にあるDBをリバースエンジニアリングする機能はない。 CakePHPのschema.phpに相当する概念がない。 DDLをSQLではなく、phpのコードで書けるのが利点…と捉えた方がいい。 マイグレーションをPhinxの管理下に置くということは、何もない状況からマイグレーションできるようにすべきだから、既存のDDLがある場合は書き換える必要がある。 SQLを書けるメソッド(executeやquery)があるので、ヒアドキュメントを使う方法はある。 既にDBを構成して
Moving from PHP (Laravel) to Go By Danny van Kooten on Apr 17, 2017 on Permalink. Earlier this year, I made an arguably bad business decision. I decided to rewrite the Laravel application powering Boxzilla in Go. No regrets though. Just a few weeks later I was deploying the Go application. Building it was the most fun I had in months, I learned a ton and the end result is a huge improvement over t
PHPでMersenne Twister法で擬似乱数を生成する関数のmt_rand()にバグがあり出力がおかしい、という話が流れてきておもしろかったので簡単にまとめておく kusanoさんがmt_rand()の実装に9年以上前から1文字違いでバグがあったことを見つけて、数ヶ月後にマージされる(追記: 正確には、PHP版の実装が他と異なっているのは前から知られていたらしい*1 ) PHPに送った1文字修正するプルリクエストがマージされた🎉 mt_rand()の返す値が元のメルセンヌツイスタと異なっていた。https://t.co/Z5WJhHVyNd— kusanoさん@がんばらない (@kusano_k) February 17, 2016 その後、生成される擬似乱数列が変わってしまうので、後方互換性を壊す変更は議論してからmergeすべきということでrevertされるこの前マージされた
3年連続3回目のPHPカンファレンスに参加したのでまとめます! 足りない情報とかあるので必要なら追記していただけると助かります PHPカンファレンス2016 phpcon2016 twitter #phpcon2016 日時:2016年11月3日(木) 10:00〜17:00 場所:大田区産業プラザ PiO タイムスケジュール: 講演 PHPの今とこれから2016 スピーカー:廣瀬 類(日本PHPユーザ会) 資料:http://www.slideshare.net/hirokawa/php2016-68096757 togetter:http://togetter.com/li/1044131 過去の資料 PHPの今とこれから2015 PHPの今とこれから2014 PHPの今とこれから 2013 Composerプラグインを作ってみよう スピーカー:中野 拓(mercari) 資料:htt
より詳細なCQRSに関する資料はこちら https://little-hands.hatenablog.com/entry/2019/12/02/cqrs 参考資料:http://little-hands.hatenablog.com/entry/jjug2017fall 社内新規プロダクトでDDD, CQRSの思想をベースとしたアーキテクチャを構築し、コマンド(更新系処理)ではSpring Data JPA(Hibernate)を、クエリ(参照系処理)ではjOOQを採用しました。 結果としてそれぞれのORMの良いところを生かした組み合わせのアーキテクチャが構築できたので、その経緯と得られた知見についてお話ししたいと思います。 以下のようなトピックを考えています。 ・CQRSの定義とメリットデメリット ・DDD,CQRSを検討するにあたってのORMの選定ポイント ・構築したアーキテクチャ
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
Socketを使つかってみるためのメモ とりあえずechoサーバ書くよね 複数のコネクションを受け付けるechoサーバ メッセージは他の接続者には送信しない(サーバとクライアントの1対1) "quit"を受けると接続を終了 "shutdown"を受け取るとサーバを終了 サーバはこんな感じ <?php error_reporting(E_ALL); //Allow the script to hang set_time_limit(0); //enables flush ob_implicit_flush(); $address = '192.168.0.1'; //addr $port = 10000; //port $backlog = 5; $bufsize = 2048; //socket:create→bind→listen if (($sock = socket_create(A
(7/3 14:05追記)Javaに関する記述について誤認があったので盛大に書き換えました。Java 6、Java 7、Java 8それぞれで実装が変わっていたようです。 (7/13 23:55追記)本記事中ではroundを四捨五入と言い切ってしまっています。これは筆者がC99のroundを基準に考えているためですが、言語によっては偶数丸めになっているround関数も珍しくありません。ご注意ください。 PHPのround関数について、ネット上で次のような記述を見つけました。 PHP 四捨五入の計算を間違える唯一の言語として畏れられていましたが、そのバグは治っているかもしれません(治ってないかもしれません) 主要なプログラミング言語8種をぐったり解説 - 鍋あり谷あり 各言語を面白おかしく紹介する内容とはいえ、ずいぶん雑な理解だなーという印象です。ゆるふわな話だけでPHPがdisられ続けるの
BOT API Trial Account が提供されていると聞いて試してみました。 既に1週間経っているため、皆様の記事を参考にさせていただきました。 特にHello World的な作業ではなく、何箇所かハマったのでそれを書きます。 開発環境 Heroku + FIXIE PHP FIXIEはHerokuのアドオンとなっているため、無料ですがクレジットカードの登録が必要です。 LINE BOT → Heroku へのコールバック コールバックURL BOTアカウントを作成したら、 LINE DevelopersのページにコールバックURLを設定します。 Herokuで動かす場合のコールバックURLですが、 色々調べていると多数の設定方法がありました。 ・https://xxxxx.herokuapp.com ・https://xxxxx.herokuapp.com:443/linebot
General Package not found Package is not updating to the expected version Dependencies on the root package Root package version detection Network timeout issues, curl error Package not found in a Jenkins-build I have a dependency which contains a "repositories" definition in its composer.json, but it seems to be ignored. I have locked a dependency to a specific commit but get unexpected results. N
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く