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
- 高考英语历年真题核心高频688词汇(合肥新东方高考英语教研中心)
- Desperate Sons(Standiford, Les)
- PHP入门很轻松(微课超值版)(云尚科技)
- 2020年江西省军转干部安置考试《法律基础知识》考点手册(圣才电子书)
- 物联网与智慧城市(邵泽华)
- 第11集 趋势定位:如何从消费市场往创业市场和资本市场转型(此商品为视频课程)(周导)
- AutoCAD 2018中文版完全自学手册(龙马高新教育 策划 教传艳)
- 漫画素描技法5:分镜头篇(CG动漫社)
