この記事はSymfony Advent Calendar 2015 8日目の記事です。前日の記事は@__tai2__さんの「DQLのJOIN WITH構文を使えば、無用な関係を定義せずにテーブルの結合ができる」でした。 ファクトリ(Factories)は、オブジェクトの生成(Creation)に関するデザインパターンで、オブジェクトまたはオブジェクトグラフの組み立て方法についての知識(構成の知識)を集約するものです。Eric Evans氏(@ericevans0)の提唱するドメイン駆動設計(Domain-Driven Design: DDD)のビルディングブロックの1つとしても知られています。 論理的にはファクトリは以下のような構造を持ちます。 クラスまたはメソッドによるファクトリ クラスまたはメソッドを使ったファクトリはPHP + Symfonyの環境における基本型といえます。その構造は
この本の概要 PHPフレームワークSymfonyによるWebサービス開発を解説した書籍です。最初にSymfonyのしくみを理解していき,あるオーケストラのWebサイトの作成を例に,手を動かしながらフレームワークの基本機能や開発時に必要なポイントなどについて解説しています。各章末にチェックポイントを設け,これらを解きながら読み進めることで本書の内容を無理なく理解できます。また付録では,初心者がつまずきやすい環境構築の手順やSymfonyのコマンドなども扱っており,この1冊でSymfonyのすべてを知ることができます。 こんな方におすすめ これからフレームワークを使い始めたい初級者 Symfonyを使ってWebサービスを構築したい中級者 まえがき 第1章 PHPとフレームワーク 1-1 フレームワークの王道を学ぶ フレームワークの多様性 多様性のメリット 多様性が生む選択の難しさ 基盤となる共
Stuck with Symfony2 forms? Want to know how to easily solve (complex) form use-cases? This book contains practical recipes that are easily implemented in your own projects, and give you insight in the form component in general. The book contains a set of recipes based around the form component that can help you solve complex problems in a simple manner. Use them directly into your own code, or use
As Twig 2.0 is approaching fast now, it's time to focus on how to boost adoption of this new major version. Twig 2.0 is not a revolution, but rather like Symfony 3.0, a version where we've done a lot of cleanup, dropped support for old PHP versions, fixed wrong behaviors, and simplified things whenever possible. Everyone should be able to upgrade very easily to Twig 2.0. Also, the good news is tha
PHP7, the new version of the programming language Symfony is built with, will be released at the end of the year. The recent release of its third beta has brought us another step closer to the final stable release. During these last past months, we've been working very hard to achieve full PHP7 compatibility. This effort accelerated during the past weeks and we're glad to announce that all Symfony
We will continue our performance series with Symfony (previously on Doctrine ORM and PHP). This blog post describes some of the fundamental aspects that affect Symfony performance at the core of HttpKernel request lifecycle. These complement the Symfony Performance docs, which mentions general tips such as Bytecode Caching and Autoloader Optimizations. Even though Symfony is consistently listed as
Special thanks The Symfony certification Why become a Symfony certified developer How to become certified Who should buy this book How this book is organized Conventions used in this book Copyright notice Training questions and takeaways 1. PHP Exam goals Questions Answers Takeaways 2. HTTP Exam goals Questions Answers Takeaways 3. Architecture Exam goals Questions Answers Takeaways 4. Standardiza
Event sourcing with Broadway At the Dutch PHP Conference I attended a workshop by Beau Simensen and Willem-Jan Zijderveld. They showed us some examples of how to work with Broadway, a framework for event sourcing, with full Symfony integration, created by the smart people at Qandidate. During my two weeks of funemployment, before starting my new job at Ibuildings, I decided to recreate one of my p
At Symfony project there is only one thing that we like as much as developing code: documenting it. Thanks to the selfless volunteer work made by thousands of contributors and the expertise of our documentation managers (Ryan, Wouter and Christian), the Symfony documentation now totals 934,628 lines and more than 3.4 millions of words (considering all versions and not excluding duplicates). Today
The security component tackles the complex problems of authentication and authorization by spreading concerns across a number of single responsibility objects. This is a flexible design, but difficult for beginners to navigate. This presentation will bring the security component to life for us all to understand! Join us to see some of your favorite members of the Symfony community perform the secu
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
Symfony2のLTSである、Symfony2.7がちょっと前にリリースされました。 LTSということで、Symfony2.7は3年間はサポートするよ!っていうなかなか安定感のあるバージョンになっています。 The Release Process (Contributing to Symfony) サポート期間が長いのでギョーミーな部分にもSymfony2を導入するハードルも下がるしSymfony2を新規で導入することも増えるんじゃないかなぁと思います。 ということで今回は「これからSymfony2を始めるには」といったところの記事を書こうかなと思います! 「今まで使ったことないけど、試してみようかな?」的なところの助けになれば幸いです。 今回はSymfony2の導入から簡単な構造の説明までをできたらと思います。 インストーラーの導入 Symfony2は、2015/03/26から、新しい
Symfony is an amazing HTTP framework which powers high traffic websites. Performance shouldn't be a concern when first creating a website, because between the time it is launched and the time it actually has a high traffic many things that we didn't expect in the first days will happen: requirements will change user behavior will change even the team can change Optimizing applications has an impac
Symfony 2.7.0 has just been released. 2.7 is the new LTS version of Symfony. Symfony 2.7.0 comes with more than 100 new features and enhancements. Read the UPGRADE from 2.6 to 2.7 guide to learn more about new ways of doing things and deprecated features that will be removed in 3.0. Yesterday, I told you that 2.7 comes with an unexpected surprise... Symfony has now early built-in support for PSR-7
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く