File tree Expand file tree Collapse file tree 6 files changed +23
-5
lines changed Expand file tree Collapse file tree 6 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 6
6
* :doc:` /book/routing`
7
7
* :doc:` /book/templating`
8
8
* :doc:` /book/doctrine`
9
- * :doc:` /book/propel`
10
9
* :doc:` /book/testing`
11
10
* :doc:` /book/validation`
12
11
* :doc:` /book/forms`
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ The Cookbook
19
19
form/index
20
20
logging/index
21
21
profiler/index
22
+ propel/index
22
23
request/index
23
24
routing/index
24
25
security/index
Original file line number Diff line number Diff line change 120
120
* :doc:` /cookbook/profiler/matchers`
121
121
* :doc:` /cookbook/profiler/storage`
122
122
123
+ * :doc:` /cookbook/propel/index`
124
+
125
+ * :doc:` /cookbook/propel/propel`
126
+
123
127
* :doc:` /cookbook/request/index`
124
128
125
129
* :doc:` /cookbook/request/load_balancer_reverse_proxy`
Original file line number Diff line number Diff line change
1
+ Propel
2
+ ======
3
+
4
+ .. toctree ::
5
+ :maxdepth: 2
6
+
7
+ file_uploads
Original file line number Diff line number Diff line change 4
4
Databases and Propel
5
5
====================
6
6
7
- One of the most common and challenging tasks for any application
8
- involves persisting and reading information to and from a database. Symfony
9
- does not come integrated with any ORMs but the Propel integration is easy.
10
- To install Propel, read `Working With Symfony2 `_ on the Propel documentation.
7
+ `Propel `_ is an open-source Object-Relational Mapping (ORM) for SQL-Databases in
8
+ PHP 5.4. It allows you to access your database using a set of objects, providing
9
+ a simple API for storing and retrieving data.
10
+
11
+ Propel is also an alternative to `Doctrine `_, which is the ORM that comes
12
+ already integrated into Symfony. This article explains how to use Propel with
13
+ a Symfony application, but first, install Propel following the instructions
14
+ available at the `Working With Symfony2 `_ section on the Propel documentation.
11
15
12
16
A Simple Example: A Product
13
17
---------------------------
@@ -496,6 +500,8 @@ Commands
496
500
497
501
You should read the dedicated section for `Propel commands in Symfony2 `_.
498
502
503
+ .. _`Propel` : http://propelorm.org/
504
+ .. _`Doctrine` : http://www.doctrine-project.org/
499
505
.. _`Working With Symfony2` : http://propelorm.org/Propel/cookbook/symfony2/working-with-symfony2.html#installation
500
506
.. _`PropelBundle configuration section` : http://propelorm.org/Propel/cookbook/symfony2/working-with-symfony2.html#configuration
501
507
.. _`Relationships` : http://propelorm.org/Propel/documentation/04-relationships.html
Original file line number Diff line number Diff line change 1
1
/book/stable_api /contributing/code/bc
2
+ /book/propel /cookbook/propel/propel
2
3
/cookbook/deployment-tools /cookbook/deployment/tools
3
4
/cookbook/doctrine/migrations /bundles/DoctrineFixturesBundle/index
4
5
/cookbook/doctrine/doctrine_fixtures /bundles/DoctrineFixturesBundle/index
You can’t perform that action at this time.
0 commit comments