售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜