Toggle navigation
PHPERZ
网站首页
(current)
业内资讯
热点关注
移动互联网
发布与更新
数字解读
创业与职场
编程技术
PHP
Mysql
Apache
Nginx
Python
Android
Linux
jQuery
Javascript
Java
Swift
YII
ThinkPHP
Bootstrap
面试题库
教程
主题
搜索
概述
Symfony文档
The Documentation Changelog
快速入门
目录
总览
视图
控制器(Controller)
代码结构
教程
目录
Symfony和HTTP基础工具
Symfony vs 纯PHP
安装和配置Symfony
创建页面
控制器(Controller)
路由(Routing)
创建和使用模板
数据库和Doctrine
数据库和Propel
测试
校验
表单
安全性
HTTP缓存
多语言
服务容器(Service Container)
性能
核心功能
手册
目录
静态文件处理(Assetic)
包(Bundle)
缓存
安装Composer
配置
命令行
控制器(Controller)
How to Optimize your Development Environment for Debugging
部署
Doctrine
邮件
事件分发器(Dispatcher)
表达式(Expression)
Form
Logging
Profiler
Request
Routing
Security
How to Use the Serializer
Service Container
Sessions
How Symfony2 Differs from Symfony1
Templating
Testing
How to Upgrade Your Symfony Project
Validation
Web Server
Web Services
Workflow
最佳实践
目录
Symfony框架最佳实践
创建项目
配置参数
业务逻辑代码的组织
控制器(Controller)
模板
表单
多语言支持
安全
静态文件(Assets)
测试
组件
目录
How to Install and Use the Symfony Components
Asset
ClassLoader
Config
Console
The CssSelector Component
Debug
DependencyInjection
The DomCrawler Component
EventDispatcher
Expression Language
Filesystem
The Finder Component
Form
HttpFoundation
HttpKernel
The Intl Component
The OptionsResolver Component
The Process Component
PropertyAccess
Routing
Security
The Serializer Component
The Stopwatch Component
Templating
Translation
VarDumper
Yaml
参考
目录
FrameworkBundle Configuration (“framework”)
DoctrineBundle Configuration (“doctrine”)
SecurityBundle Configuration “security”)
AsseticBundle Configuration “assetic”)
SwiftmailerBundle Configuration (“swiftmailer”)
TwigBundle Configuration (“twig”)
MonologBundle Configuration (“monolog”)
WebProfilerBundle Configuration (“web_profiler”)
Configuring in the Kernel (e.g. AppKernel)
Form Types Reference
Validation Constraints Reference
Twig Template Form Function and Variable Reference
Symfony Twig Extensions
The Dependency Injection Tags
Requirements for Running Symfony
贡献
目录
贡献代码
贡献文档
社区
同类教程
Symfony2教程
Symfony2 Cookbook中文版
首页
教程
Symfony 中文指南
目录
目录
发布于 2015-08-27 16:32:02 | 339 次阅读 | 评论: 0 | 来源: 网络整理
静态文件处理(Assetic)
如何使用Assetic管理静态文件
如何压缩CSS/JS文件(使用UglifyJS和UglifyCSS)
如何使用YUI Compressor压缩JS和CSS
如何Asstic和Twig优化图片
如何将Assetic处理器运用在特定的文件类型上
包(Bundle)
如何安装第三方Bundle
重用Bundle的最佳实践
如何利用Bundle继承机制来重载Bundle部分功能
如何重载Bundle的某些部分
如何删除AcmeDemoBundle
如何在Bundle内部载入Service配置
如何给Bundle创建友好的配置项
如何简化多个Bundle的配置
缓存
如何使用Varnish来加速网站访问
缓存带CSRF表单的页面
Composer
Installing Composer
配置
如何掌握和创建新的运行环境
如何重载Symfony默认的目录结构
在依赖注入中使用参数
理解Front Controller,内核以及运行环境是如何一起工作的
如何将Service Container的参数暴露到外部
如何使用PdoSessionHandler来保存Session到数据库
如何使用Apache Router
Web服务器的配置
如何组织配置文件
命令行
创建命令行Command
如何使用命令行
如何在命令行中生成URL并且发送邮件
如何在命令行Command中开启日志功能
将Command定义为Service
控制器(Controller)
如何自定义错误页面
如何将Controller注册为Service
Debugging
How to Optimize your Development Environment for Debugging
部署
如何部署Symfony应用
部署到Microsoft Azure Website Cloud
部署到Heroku Cloud
部署到Platform.sh
Doctrine
如何使用Doctrine处理文件上传
如何使用Doctrine扩展:Timestampable, Sluggable, Translatable, 以及其他
如何注册Event Listener以及Subscriber
如何使用Doctrine DBAL
如何通过已有库反向生成Entity
如何使用多Entity管理器以及多个数据库链接
如何注册自定义DQL函数
如何定义抽象类以及接口的关联关系
如何给模型类提供多种Doctrine的实现
如何实现简单的用户注册表单
Console命令
(configuration)
如何使用PdoSessionHandler来保存Session到数据库
邮件
如何发送邮件
如何通过Gmail发送邮件
如何使用云服务器发送邮件
在开发时如何设置邮件发送功能
如何使用邮件池
如何在功能测试中测试邮件是否正常发送
事件分发器(Dispatcher)
How to Setup before and after Filters
如何不通过继承来扩展类
如何不通过继承改变类方法的行为
(service container)
How to Create an Event Listener
表达式(Expression)
如何在安全、Routing、Service、校验配置里使用Expression
Form
How to Customize Form Rendering
How to Use Data Transformers
How to Dynamically Modify Forms Using Form Events
How to Embed a Collection of Forms
How to Create a Custom Form Field Type
How to Create a Form Type Extension
How to Reduce Code Duplication with “inherit_data”
How to Unit Test your Forms
How to Configure empty Data for a Form Class
How to Use the submit() Function to Handle Form Submissions
(validation)
How to Create a custom Validation Constraint
(doctrine)
如何使用Doctrine处理文件上传
Logging
How to Use Monolog to Write Logs
How to Configure Monolog to Email Errors
How to Configure Monolog to Display Console Messages
How to Configure Monolog to Exclude 404 Errors from the Log
How to Log Messages to different Files
Profiler
How to Create a custom Data Collector
How to Use Matchers to Enable the Profiler Conditionally
Switching the Profiler Storage
Request
How to Configure Symfony to Work behind a Load Balancer or a Reverse Proxy
How to Register a new Request Format and Mime Type
(session)
Making the Locale “Sticky” during a User’s Session
Routing
How to Force Routes to always Use HTTPS or HTTP
How to Allow a “/” Character in a Route Parameter
How to Configure a Redirect without a custom Controller
How to Use HTTP Methods beyond GET and POST in Routes
How to Use Service Container Parameters in your Routes
How to Create a custom Route Loader
Redirect URLs with a Trailing Slash
How to Pass Extra Information from a Route to a Controller
Security
How to Build a Traditional Login Form
How to Load Security Users from the Database (the Entity Provider)
How to Add “Remember Me” Login Functionality
How to Impersonate a User
How to Implement your own Voter to Blacklist IP Addresses
How to Use Voters to Check User Permissions
How to Use Access Control Lists (ACLs)
How to Use advanced ACL Concepts
How to Force HTTPS or HTTP for different URLs
How to Restrict Firewalls to a Specific Request
How to Restrict Firewalls to a Specific Host
How to Customize your Form Login
How to Secure any Service or Method in your Application
How to Create a custom User Provider
How to Create a Custom Form Password Authenticator
How to Authenticate Users with API Keys
How to Create a custom Authentication Provider
Using pre Authenticated Security Firewalls
How to Change the default Target Path Behavior
Using CSRF Protection in the Login Form
How to Choose the Password Encoder Algorithm Dynamically
How Does the Security access_control Work?
How to Use multiple User Providers
Serializer
How to Use the Serializer
Service Container
How to Create an Event Listener
How to Work with Scopes
How to Work with Compiler Passes in Bundles
Sessions
Session Proxy Examples
Making the Locale “Sticky” during a User’s Session
Configuring the Directory where Session Files are Saved
Bridge a legacy Application with Symfony Sessions
Limit Session Metadata Writes
(configuration)
如何使用PdoSessionHandler来保存Session到数据库
Avoid Starting Sessions for Anonymous Users
symfony1
How Symfony2 Differs from Symfony1
Templating
How to Inject Variables into all Templates (i.e. global Variables)
How to Use and Register Namespaced Twig Paths
How to Use PHP instead of Twig for Templates
How to Write a custom Twig Extension
How to Render a Template without a custom Controller
Testing
How to Simulate HTTP Authentication in a Functional Test
How to Simulate Authentication with a Token in a Functional Test
How to Test the Interaction of several Clients
How to Use the Profiler in a Functional Test
How to Test Code that Interacts with the Database
How to Test Doctrine Repositories
How to Customize the Bootstrap Process before Running Tests
(email)
如何在功能测试中测试邮件是否正常发送
(form)
How to Unit Test your Forms
Upgrading
How to Upgrade Your Symfony Project
Validation
How to Create a custom Validation Constraint
How to Handle Different Error Levels
Web Server
How to Use PHP’s built-in Web Server
(configuration)
Web服务器的配置
Web Services
How to Create a SOAP Web Service in a Symfony Controller
Workflow
How to Create and Store a Symfony Project in Git
How to Create and Store a Symfony Project in Subversion
最新网友评论
共有(
0
)条评论
发布评论
返回顶部
发 布
后端技术
PHP
Python
Ruby
Java
Android
Objective-C
Swift
Go
Node.js
Lua
JSP
D语言
R语言
前端技术
jQuery
Bootstrap
React.JS
React Native
AngularJS
JavaScript
Ember.JS
Zepto.js
Backbone.js
Vue
CSS
HTML5
数据库
Mysql
SQL Server
PostgreSQL
Oracle
DB2
SQLite
MongoDB
Redis
Memcached
SQL
热门框架
Yii
Laravel
Symfony2
Zend Framework
CodeIgniter
ThinkPHP
Phalcon
Swoole
Hibernate
JUnit
Django
Flask
Tornado
Smarty
常用IDE
Eclipse
MyEclipse
PhpStorm
PyCharm
Sublime Text
Android Studio
Zend Studio
IntelliJ IDEA
Xcode
Atom
Vim
其他
Git
SVN
Composer
Lucene
Docker
Hadoop
Linux
Nginx
Apache
Tengine
Tomcat
Lighttpd
Coreseek
Copyright © 2007-2017
PHPERZ.COM
All Rights Reserved
冀ICP备14009818号
版权声明
广告服务