タグ

peclに関するrestartrのブックマーク (9)

  • Writing Gearman Workers in PHP

    I've been hearing about and reading about Gearman for a couple years now, but, due to the nature of my work, it's never really been something I needed to investigate; when you're writing backend code, scalability is something you leave to the end-users, right? Wrong! But perhaps an explanation is in order. Background We're looking at migrating to Git for our primary development on the framework. T

    Writing Gearman Workers in PHP
  • PECL :: Package :: xhprof

    Scott MacVicar < scottmac at php dot net > (lead) [details] Kannan Muthukkaruppan < kannan at php dot net > (lead) [details] Venkat Venkataramani (developer) [details] Changhao Jiang (lead) [details] Haiping Zhao (developer) [details] xinhui long < longxinhui at php dot net > (lead) [details] XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interfac

  • PHPからActiveMQに繋いでみた - Do You PHP はてブロ

    via. PHP Stompライブラリを呼び出す消費者スクリプトを書く | 秋元@サイボウズラボ・プログラマー・ブログ ずいぶん前(2007年10月)にサイボウズラボの秋元さんがPHP勉強会で発表したネタですが、stomp拡張モジュールがリリースされたことと、いつか業務でキューを導入するかも知れないということで、ちょっとずつ調べ始めてある程度量が溜まってきたので、ちょっとまとめてみました。 以下、ちょっと長いです。 メッセージ・キューイングとは BPnetの説明が分かりやすいかな。 メッセージ・キューイングは,キューに入れたメッセージをやり取りすることで,システム間を連携する。メッセージ・キューイングはファイル転送と同じ非同期型のメカニズムであるが,ファイル転送よりも即時性が高い。アプリケーションの内部でメッセージを生成してキューに入れるため,利用者がリターン・キーを押したタイミングでサー

    PHPからActiveMQに繋いでみた - Do You PHP はてブロ
  • Gearman

    What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events. In other word

    restartr
    restartr 2009/11/10
    job queueシステム。pecl/pear等PHPでも扱える。
  • CodeGen_PECL - the PHP extension generator

    Table of Contents1. Introduction1.1. What is it?1.2. Features1.3. Installation1.3.1. Online installation1.3.2. Installing from package files1.3.3. Installing from PEAR CVS1.4. How to use it2. The XML description2.1. Basics2.2. Release information2.3. Dependencies2.3.1. --with...2.3.2. Header files2.3.3. Libraries2.3.4. Dependencies to other extensions2.3.5. External programs2.3.6. Other files2.4.

  • Gearman

    Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events. In other words, it is the nerv

  • 第4回 PHP編 | gihyo.jp

    インストール コンパイルするにはlibyamlをあらかじめインストールする必要があります。以下の手順でlibyamlをインストールしてください(リスト6⁠)⁠。 リスト6 libyamlのインストール $ wget http://pyyaml.org/download/libyaml/yaml-0.0.1.tar.gz $ tar xzf yaml-0.0.1.tar.gz $ cd yaml-0.0.1/ $ ./configure $ make $ sudo make install 続いて、php_yamlを次の手順でインストールします(リスト7⁠)⁠。コンパイルする前に、こちらのパッチ[1]を適用してください。 リスト7 php_yamlのインストール $ wget http://www.opendogs.org/pub/php_yaml-0.3.0.tgz $ tar xzf p

    第4回 PHP編 | gihyo.jp
    restartr
    restartr 2008/04/17
    spyc,libyaml,syckのの概要について。libyamlが現時点で一番使える模様。試してみたい。
  • php_yaml 0.1.0 Released - 讃容日記

    php_yaml-0.1.0.tgz 変更点 デフォルトで全てのYAMLドキュメントをパースしていたのを、最初のYAMLドキュメントだけをパースするように仕様変更 オブジェクトが複合キーに指定された場合、serialize()する前に__toString()を試みるようにした エイリアスをリファレンスとして扱うようにした tag:yaml.org,2002:timestampタグ処理用コールバック関数が指定されていた場合、タグが明示されていないtimestamp型のデータもその関数で処理するようにした エイリアスをリファレンスとして扱うようにしたことで下記のような再帰的な定義にも対応しました example.yaml foo: &ref bar: baz qux: *refパース結果 php -r 'var_dump(yaml_parse_file("example.yaml"));' a

    php_yaml 0.1.0 Released - 讃容日記
    restartr
    restartr 2007/09/10
    phpでyamlを扱うmodule(extension)。spycよりずっとはやいはず。
  • PECL::filterを試してみる - Do You PHP?

    [2006/10/31] filter拡張モジュールはPHP5.2.0からデフォルトで組み込まれます(バージョン0.11.0相当)。また、記事で使用したfilter 0.9.4とPHP5.2.0やfilter 0.11.0ではAPIがかなり変わっていますので、注意が必要です。APIの詳細はPHPマニュアルにもありますので、参照してください。 入力値のチェックは通常PHPスクリプト側で行うと思います。また、汎用ライブラリとしてPEARみたいにライブラリ化されているものもありますが、PECLでもフィルターモジュールが最近(と言っても2005年10月頃ですが)用意されています。以前から知っていたのですが、PHPマニュアルにもドキュメント化された事もあり、使い方を知っておくためにざっくりと触ってまとめてみました。 PECL :: Package :: filter なお、2006/05/05時点

    restartr
    restartr 2007/07/11
    PECL::filterのサンプル。クライアントからリクエストしたタイミングでほぼ「強制的に」フィルタリングも行えるようで、アプリケーション側での対応を減らすことができる。
  • 1