この記事は、Symfonyアドベントカレンダー2015の6日目の記事です。昨日は@okapon_ponさんの「Symfonyでdebug環境を最適化しコードを追いやすくする」でした。 12月16日付けで、技術評論社様より『基本からしっかり学ぶSymfony2入門』が出版されます。最初に企画書を書いたのが2014年の3月で、そこから出版まで2年近く時間がかかりました。この本ではSymfony 2.7を対象としていますが、書き始めた頃はまだSymfony 2.3の時代でした。今ではすでに2.8と3.0もリリースされているので、バージョンの進み具合だけとっても執筆に結構長くかかってしまったと感じます(苦労させられた点でもありますが)。執筆は、私(後藤)とカルテットコミュニケーションズの金本さんとの共著になっています。 技術評論社 書籍紹介ページすでにAmazonでご予約頂いている方も多数いらっし
Symfony 3 will be released at the end of November 2015. Learning from our own history, the transition from Symfony 2 to 3 will be much more pleasant than the transition from symfony 1 to 2 that happened in July 2011. Technically speaking, Symfony 3 includes no new features comparing it with Symfony 2.8, which will be released at the same time. The main change introduced by Symfony 3 is that any fe
When your application receives a request, it calls a controller action to generate the response. The routing configuration defines which action to run for each incoming URL. It also provides other useful features, like generating SEO-friendly URLs (e.g. /read/intro-to-symfony instead of index.php?article_id=57). Creating Routes Routes can be configured in YAML, XML, PHP or using attributes. All fo
Kévin Dunglas Founder of Les-Tilleuls.coop (worker-owned cooperative). Creator of API Platform, Mercure.rocks, Vulcain.rocks and of some Symfony components. PSR-7, the last PHP Standard Recommendation, was adopted by the PHP Framework Interoperability Group on May 19. That PSR defines PHP interfaces representing HTTP messages: request and response (client and server side), uploaded file, URI, stre
この記事は Symfony Advent Calendar 2014 の 16 日目の記事です。 みなさん Symfony2 で自動テストを書くとき、fixture はどうやって作っていますか。Symfony 公式ドキュメントで紹介されている DoctrineFixturesBundle を利用している方が多いかもしれませんね。 今回�は fixture を簡単に作ることができる hautelook/AliceBundle を紹介したいと思います。この Bundle を導入すると fixture を yml で書けるようになるほか、様々な便利機能が利用できます。DoctrineFixturesBundle 単体の時と比べ fixture が格段に書きやすくなるので、Symfony を使うすべての人にオススメしたい Bundle です。 動作確認環境 Symfony2.3Symfony2.6
SPA のバックエンドを Symfony2 で開発したい方向けに、Symfony2 で REST API を作る手順についてまとめてみました。 イメージしやすいように、簡単な例で実際に実装する手順をなぞりながら解説していきたいと思います。 1. Symfony をインストール いつもどおり Symfony プロジェクトを新規インストールしてください。 symfony-installer を使う方法 のほうが composer create-project よりかなり早いのでおすすめです。 2. FOSRestBundle をインストール FOSRestBundle は、その名のとおり REST API の開発に便利な機能を追加してくれるバンドルです。Symfony2 で REST API を開発する場合は通常このバンドルを活用することになります。 インストール方法 インストール方法は ドキ
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
先日、関西PHP勉強会で@shin1x1さんがHerokuについての発表があり、以前FacebookアプリをHerokuで使ってた(挫折した)を思い出し、興味が出てきたので使ってみることにしました。 アプリケーションサーバ(Dynosというらしい)の稼働時間が1ヶ月で750時間までなら無料で使えるので、個人の開発用なら気軽に使えそうです。 調べてみると、Getting Started with Symfony2 on Heroku というのがあり、Symfony2も簡単に使えそうだったので、試しにデプロイして使ってみることにしました。 今回の目標 HerokuでSymfony2のデモを動かすようにする Heroku上でnginxを入れて動かすようにする MySQL(ClearDB)、PaperTrail アドオンを入れてよりアプリケーションらしくしてみる 環境 Mac OS X 10.9.
Le créateur du framework PHP nous a accordé une interview exclusive. L'occasion de faire le point sur son ambition d'imposer Symfony comme middleware de référence dans le monde PHP. Fabien Potencier est l'initiateur du projet Symfony. © SensioLabs JDN. Quel est le taux de pénétration du framework PHP Symfony ? Fabien Potencier. Nous estimons que Symfony est directement installé par 1% des sites we
SensioLabs raises 5 million euros to boost the Symfony ecosystem I'm not just a PHP developer, I'm also a serial-entrepreneur. 15 years ago, I co-founded Sensio, a French web agency that eventually created Symfony, a PHP web framework. Last year, we decided to split the company to create SensioLabs, a company dedicated to PHP and Symfony. And today, I'm really excited to announce that SensioLabs j
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く