Dependency Tracking (Meta Packages) with PEAR - PHPプロ!マニュアル

PEARマニュアル

- Dependency Tracking (Meta Packages) with PEAR

The PEAR installer can be used for tracking project dependencies with a simple package definition file, without having to describe the entire project in that file.

For example, this can be done to ensure that a specified set of PEAR packages are installed on a development environment, into a test environment, and finally into a production environment, all with minimum fuss.

Another reason for using PEAR to track dependencies is to reduce the amount of work required when trying to do this work manually... checking to see if a new release adds required functionality, closes security issues, or includes bug fixes can take time. Add a few more packages and interdependencies to the mix, and the amount of work grows exponentially.

The PEAR installer can take care of all of this for you. You just need to tell it what you want.



Pick Up Q&A

Q
ログファイルの中の空のデータ行を削除したい
 このエントリーをはてなブックマークに追加 
A
ログのデータ個数(列数)が固定で、空のログが"<><><>"だと既知であれば if ($line === "<><><>") { continue; } で読み飛ばしてもいいのでは? ...

>>続きを読む

まずは配列や文字列の扱いから、じっくり勉強して行きましょう。

▲解説者:岡本(アシアル株式会社 教育コーディネーター兼 システムエンジニア)