タグ

symfonyに関するskyriserのブックマーク (12)

  • Dependency Injection with PHP and PHP 5.3

    This document discusses dependency injection with PHP and PHP 5.3. It provides an example of managing user preferences with a User object that depends on a SessionStorage object for persistence between requests. The document argues that directly instantiating dependencies within classes leads to rigid code that is hard to customize or test. Instead, it advocates injecting dependencies through a cl

    Dependency Injection with PHP and PHP 5.3
    skyriser
    skyriser 2011/08/09
    PHPにおけるDIコンテナって具体的に?
  • Symfonyでも使えるCapistrano·Capifony MOONGIFT

    Capistranoはデプロイツールだ。簡単な設定さえしておけば、後はコマンド一つでリモートサーバでソースを展開し、データベースのマイグレーションをはじめ必要な処理を行ってWebサーバの再起動をしてくれる。毎度行うと手間のかかるデプロイ作業が簡単に終わるのだ。 PHP用のリモートデプロイツール CapistranoはRailsアプリケーションで使うともとても便利だが、それをPHPのフレームワークSymfonyでも使えるようにしたのがCapifonyだ。 今回紹介するオープンソース・ソフトウェアはCapifony、PHP用デプロイツールだ。 PHPRailsのようにWebアプリケーションサーバを用意する必要がないので(今はPassengerがあるが)、そんなものは不要と思うだろうか。だがPHPのコードをリモートサーバ側でバージョン管理システムから取り出し、データベースの設定を変更し、Web

    Symfonyでも使えるCapistrano·Capifony MOONGIFT
  • The Tooleshed » DBDesigner 4 to Propel XSL

    Here is the first version of my stylesheet (XSL) that converts DB Designer 4 XML into Propel Schema XML. This allows you to design your database model using DB Designer 4 (models are saved in XML format) and then easily create the Propel database schema file. UPDATE [2006-11-14]: The dbd2propel.xsl file and transform.php have been added to the Propel repository. See it for the latest version. The

    skyriser
    skyriser 2009/03/25
    DBDesignerのXSLをPropelのXMLに変換する
  • symfony - open-source PHP5 web framework

    Services Platform.sh for Symfony Best platform to deploy Symfony apps SymfonyInsight Automatic quality checks for your apps Symfony Certification Prove your knowledge and boost your career SensioLabs Professional services to help you with Symfony Blackfire Profile and monitor performance of your apps

    symfony - open-source PHP5 web framework
  • 【symfony】symfonyによる携帯向けサイト開発:株式会社センティリオンシステム

    symfonyによる携帯向けサイト開発 symfonyで携帯サイトの開発を行う場合、デフォルトのフィルタクラスやビュークラスを継承し、携帯向けに改造することでアクションやテンプレート内で機種判定をすることなくスマートなコーディングが可能になります。 今回導入するにあたっては、PC版のサイトが既にあったため、できるだけ既存のアクションファイルを触らず携帯用のテンプレートを置くだけでOK!となるようにしてみました。 クリアする課題 1.機種判定をどうするか? 自作のキャリア判別クラスでも可能ですが、メンテナンスが面倒なので今回はPEARのnet_userAgent_mobileを使用。 キャリア判定や端末情報の取得など一通りの機能が揃っています。アップグレードもコマンド一発なので簡単。 インストール方法。コマンドラインで以下のコマンドを実行するだけ。 $pear instal

  • Sabar ya

    Sabar ya

  • モバイル開発@symfony :: handsOut.jp

    スライド1: モバイル開発@sym fony第35回PHP勉強会@トライコーン亀  大地(a.k.a: yudoufu)2008/08/31 スライド2: 自己紹介・ ゆどうふ(id:Yudoufu)・ ゆどうふと焼き肉が大好きなぺちぱー・ 実は今日が誕生日・ 焼き肉好きぺちぱーなのにヤサイ(831)の日生まれ・ …これは懇親会。。。き 期待なんてしてないんだからねっ><・ あっ、石を投げないでっ! スライド3: 今日話すこと・ モバイルサイト開発のポイント・ キャリアごとの違い(3G限定で)・ symfonyでモバイル開発・ symfony(1.0)でどう解決していったか・ 具体的な実装の話 スライド4: モバイルサイト開発・ キャリア/端末の違いを意識した開発が必要・ キャリア/端末情報の取得・ 独自定義のHTTPヘッダー等から取得・ HTML/CSS・ 文字コードのgdgd・

  • symfony 1.2では何が新しくなったの? : エクスギア Blog

    (注意) このページはWhat's new(日語訳)の体裁を整え読みやすくした記事です。 このチュートリアルは手っ取り早くsymfony1.2のための技術的な紹介です。 すでにsymfony 1.0や1.1で作業をしたことがあり、symfony1.2の新しい機能について学びたい開発者のためのチュートリアルです。 最初に、symfony 1.1がPHP 5.1、symfony 1.0がPHP 5.0で動作していたのに対してsymfony1.2はPHP5.2.4かそれ以降に対応している事に注意してください。 もし、symfony 1.0 か 1.1からアップグレードしたいのであれば、symfonyをインストールしたディレクトリにあるUPGRADEファイル(http://www.symfony-project.org/installation/1_2/upgrade) ファイルを読んでくださ

  • symfony 1.1 form framework and the MVC pattern |Articles - Fabien Potencier

    Even if the symfony 1.1 form framework is not yet documented, a lot of people are already using it. That's great news as I think this is one of the major new features of symfony 1.1 and probably the one I'm the most proud of. Recently on the symfony user mailing-list, someone asked some very interesting questions about this new form framework and how it fits with the MVC pattern. I've spent more t

    skyriser
    skyriser 2009/03/03
    sfFormについて
  • symfonyでsvn:ignoreの設定 - Webtech Walker

    別にsymfonyに限ったことじゃないですが、プロジェクトをsvnで管理するときcacheディレクトリとか環境設定ファイルをsvn管理下から外すときの設定。 まずはcacheとlogのディレクトリはディレクトリだけ残してディレクトリ以下はまるっとsvn:ignore。 $ svn propset svn:ignore "*" cache $ svn propset svn:ignore "*" log 設定ファイルは元のベースになるファイルを残しておきたいので。元ファイルを〜.baseとかにリネームして元ファイルはsvn:ignore。 $ cd config $ mv databases.yml databases.yml.base $ mv propel.ini.yml propel.ini.yml.base $ svn del databases.yml propel.ini $ s

    symfonyでsvn:ignoreの設定 - Webtech Walker
  • symfony | Web PHP Framework

    Services Platform.sh for Symfony Best platform to deploy Symfony apps SymfonyInsight Automatic quality checks for your apps Symfony Certification Prove your knowledge and boost your career SensioLabs Professional services to help you with Symfony Blackfire Profile and monitor performance of your apps

    symfony | Web PHP Framework
  • symfony.jp - PHP5用フレームワークsymfony日本語情報サイト

    symfonyとは、プログラミング言語のPHP上で動作するアプリケーションフレームワークです。記事ではsymfonyフレームワークの概要を説明します。 その前に、フレームワークとは何か の説明に入る前にフレームワークとは何でしょうかフレームワークとは日語に直訳すると「骨組み/大枠」になります。プログラミング上でどういったことを指すかと言うと、「システムを開発を誰でも簡単にできるように予め作成されたプログラムのひな形(=プログラムの骨組み/大枠)」です。 PHPの基礎スキルがある人でも、いざ、一定のレベル以上のサイトを作成しようとすると、一定の作業量が発生するのは避けられません。ということで、ある程度のスケールのウェブサイトを一定期間内に作る場合、必然的に複数開発者による共同作業になります。その際、どうしても並行作業となり、様々な問題が起きがちです。 その問題とは、片方のクリエイターの作

  • 1