Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
34fe312a
Commit
34fe312a
authored
Nov 02, 2013
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made cookbook titles more consistent
parent
44883022
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
19 deletions
+19
-19
doc/cookbook/error_handler.rst
doc/cookbook/error_handler.rst
+2
-2
doc/cookbook/form_no_csrf.rst
doc/cookbook/form_no_csrf.rst
+2
-2
doc/cookbook/index.rst
doc/cookbook/index.rst
+7
-7
doc/cookbook/json_request_body.rst
doc/cookbook/json_request_body.rst
+1
-1
doc/cookbook/multiple_loggers.rst
doc/cookbook/multiple_loggers.rst
+1
-1
doc/cookbook/session_storage.rst
doc/cookbook/session_storage.rst
+2
-2
doc/cookbook/sub_requests.rst
doc/cookbook/sub_requests.rst
+2
-2
doc/cookbook/validator_yaml.rst
doc/cookbook/validator_yaml.rst
+2
-2
No files found.
doc/cookbook/error_handler.rst
View file @
34fe312a
How to convert errors to e
xceptions
===============================
====
Converting Errors to E
xceptions
===============================
Silex will catch exceptions that are thrown from within a request/response
cycle. It will however *not* catch PHP errors and notices. You can catch them
...
...
doc/cookbook/form_no_csrf.rst
View file @
34fe312a
Disabl
e CSRF Protection on a f
orm using the FormExtension
=========================================================
Disabl
ing CSRF Protection on a F
orm using the FormExtension
=========================================================
==
The *FormExtension* provides a service for building form in your application
with the Symfony2 Form component. By default, the *FormExtension* uses the
...
...
doc/cookbook/index.rst
View file @
34fe312a
...
...
@@ -19,22 +19,22 @@ The cookbook section contains recipes for solving specific problems.
Recipes
-------
* :doc:`Accepting a JSON
request b
ody <json_request_body>` A common need when
* :doc:`Accepting a JSON
Request B
ody <json_request_body>` A common need when
building a restful API is the ability to accept a JSON encoded entity from
the request body.
* :doc:`Translating Validation Messages<translating_validation_messages>`.
* :doc:`
How to use PdoSessionStorage to store sessions in the d
atabase
* :doc:`
Using PdoSessionStorage to store Sessions in the D
atabase
<session_storage>`.
* :doc:`
How to disable the CSRF Protection on a f
orm using the FormExtension
* :doc:`
Disabling the CSRF Protection on a F
orm using the FormExtension
<form_no_csrf>`.
* :doc:`
How to use YAML to configure v
alidation <validator_yaml>`.
* :doc:`
Using YAML to configure V
alidation <validator_yaml>`.
* :doc:`
How to make sub-r
equests <sub_requests>`.
* :doc:`
Making sub-R
equests <sub_requests>`.
* :doc:`
How to convert errors to e
xceptions <error_handler>`.
* :doc:`
Converting Errors to E
xceptions <error_handler>`.
* :doc:`
How to use multiple monolog l
oggers <multiple_loggers>`.
* :doc:`
Using multiple Monolog L
oggers <multiple_loggers>`.
doc/cookbook/json_request_body.rst
View file @
34fe312a
Accepting a JSON
request b
ody
Accepting a JSON
Request B
ody
=============================
A common need when building a restful API is the ability to accept a JSON
...
...
doc/cookbook/multiple_loggers.rst
View file @
34fe312a
Using multiple
monolog l
oggers
Using multiple
Monolog L
oggers
==============================
Having separate instances of `Monolog` for different parts of your system is
...
...
doc/cookbook/session_storage.rst
View file @
34fe312a
How to use PdoSessionStorage to store sessions in the d
atabase
=========================================================
=====
Using PdoSessionStorage to store Sessions in the D
atabase
=========================================================
By default, the :doc:`SessionServiceProvider </providers/session>` writes
session information in files using Symfony2 NativeFileSessionStorage. Most
...
...
doc/cookbook/sub_requests.rst
View file @
34fe312a
How to make sub-r
equests
===================
=====
Making sub-R
equests
===================
Since Silex is based on the ``HttpKernelInterface``, it allows you to simulate
requests against your application. This means that you can embed a page within
...
...
doc/cookbook/validator_yaml.rst
View file @
34fe312a
How to use YAML to configure v
alidation
==================================
=====
Using YAML to configure V
alidation
==================================
Simplicity is at the heart of Silex so there is no out of the box solution to
use YAML files for validation. But this doesn't mean that this is not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment