Extending Symfony 2 Web Application Framework
图书信息
| 作者 | Sébastien Armand |
| 出版社 | Packt Publishing |
| ISBN | 9781783287208 |
| 出版时间 | 2014-03-25 |
| 字数 | 62.6万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
With lots of practical, handson, stepbystep examples, this book will lead you through how to extend and optimize your Symfony2 framework. If you have a good understanding of how Symfony works and are now trying to integrate complex tasks in your application, or want to better organize your application by keeping each piece of code where it belongs so it can be decoupled and easily used elsewhere, then this book is for you.
目录
Extending Symfony2 Web Application Framework
Table of Contents
Extending Symfony2 Web Application Framework
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Services and Listeners
Services
A geolocation service
Testing services and testing with services
Tagging services
Listeners
Updating user preferences using custom events
Improving user performance
Code that works after the response
Summary
2. Commands and Templates
Commands
The initial situation
Resizing user pictures
Testing a command
Commands as an interface to services
Twig
Managing our scripts
Testing a Twig extension
The time difference filter
Summary
3. Forms
An input for geographical coordinates
Setting up the basics
Using the map
Data transformers
Forms based on user data
Going further
The initial setup
Adding and removing fields
Summary
4. Security
Authentication
Simple OAuth with GitHub
The firewall
The security factory
Authorization
Voters
Annotations
Defining an annotation
Securing controllers with custom annotations
Securing an API – an example
Summary
5. Doctrine
Creating your own data types
User and meetup locations
Testing
Custom DQL functions
Versioning
Setting a version on all entities
Using and updating versions
Testing
Creating a Doctrine filter
Summary
6. Sharing Your Extensions
Creating the bundle
Exposing the configuration
Getting ready to share
Research
Documentation
Testing
Distribution and licensing
Is it just a bundle?
Summary
Index
- 502(暂无)
- 纸上王国(邓安庆)
- 永无止尽的狂热:三岛由纪夫(杨照)
- 数字时代的营销战略(曹虎等)
- Guía espa?ol-rumana para una comunicación eficaz(Dana Oprică)
- 深度学习原理与PyTorch实战(张伟振)
- 简单易学的基金投资(杨天南,孙振曦,贾泽亮 等)
- 做事先做人(李元秀 主编)
