2010-12-03 22:13:10 +03:00
|
|
|
Welcome to Doctrine 2 ORM's documentation!
|
|
|
|
==========================================
|
|
|
|
|
2012-01-28 00:36:36 +04:00
|
|
|
The Doctrine documentation is comprised of tutorials, a reference section and
|
|
|
|
cookbook articles that explain different parts of the Object Relational mapper.
|
|
|
|
|
|
|
|
Doctrine DBAL and Doctrine Common both have their own documentation.
|
|
|
|
|
|
|
|
Getting Help
|
|
|
|
------------
|
|
|
|
|
|
|
|
If this documentation is not helping to answer questions you have about
|
|
|
|
Doctrine ORM don't panic. You can get help from different sources:
|
|
|
|
|
|
|
|
- There is a :doc:`FAQ <reference/faq>` with answers to frequent questions.
|
|
|
|
- The `Doctrine Mailing List <http://groups.google.com/group/doctrine-user>`_
|
|
|
|
- Internet Relay Chat (IRC) in `#doctrine on Freenode <irc://irc.freenode.net/doctrine>`_
|
|
|
|
- Report a bug on `JIRA <http://www.doctrine-project.org/jira>`_.
|
|
|
|
- On `Twitter <https://twitter.com/search/%23doctrine2>`_ with ``#doctrine2``
|
|
|
|
- On `StackOverflow <http://stackoverflow.com/questions/tagged/doctrine2>`_
|
|
|
|
|
|
|
|
If you need more structure over the different topics you can browse the :doc:`table
|
|
|
|
of contents <toc>`.
|
|
|
|
|
|
|
|
Getting Started
|
2010-12-03 22:13:10 +03:00
|
|
|
---------------
|
|
|
|
|
2012-02-06 01:46:43 +04:00
|
|
|
* **Tutorial**:
|
2012-06-16 15:34:23 +04:00
|
|
|
:doc:`Code First <tutorials/getting-started>` |
|
|
|
|
:doc:`Model First <tutorials/getting-started-models>` |
|
|
|
|
:doc:`Database First <tutorials/getting-started-database>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
2012-06-16 14:34:26 +04:00
|
|
|
* **Introduction**:
|
|
|
|
:doc:`In 10 quick steps <tutorials/in-ten-quick-steps>` |
|
2012-06-16 14:39:58 +04:00
|
|
|
:doc:`Architecture <reference/architecture>`
|
2012-06-16 14:34:26 +04:00
|
|
|
|
|
|
|
* **Setup**:
|
2012-06-16 14:12:04 +04:00
|
|
|
:doc:`Installation <reference/installation>` |
|
2012-01-28 00:36:36 +04:00
|
|
|
:doc:`Configuration <reference/configuration>` |
|
2012-06-16 14:34:26 +04:00
|
|
|
:doc:`Tools <reference/tools>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
2012-06-16 14:39:01 +04:00
|
|
|
* :doc:`Limitations and knowns issues <reference/limitations-and-known-issues>`
|
|
|
|
|
2012-01-28 00:36:36 +04:00
|
|
|
Mapping Objects onto a Database
|
|
|
|
-------------------------------
|
|
|
|
|
2012-06-16 14:34:26 +04:00
|
|
|
* **Mapping**:
|
|
|
|
:doc:`Objects <reference/basic-mapping>` |
|
2012-01-28 00:43:04 +04:00
|
|
|
:doc:`Associations <reference/association-mapping>` |
|
|
|
|
:doc:`Inheritance <reference/inheritance-mapping>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
2012-06-16 14:34:26 +04:00
|
|
|
* **Drivers**:
|
|
|
|
:doc:`Docblock Annotations <reference/annotations-reference>` |
|
2012-01-28 00:36:36 +04:00
|
|
|
:doc:`XML <reference/xml-mapping>` |
|
|
|
|
:doc:`YAML <reference/yaml-mapping>` |
|
2012-06-16 14:34:26 +04:00
|
|
|
:doc:`PHP <reference/php-mapping>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
|
|
|
Working with Objects
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
* **Basic Reference**:
|
2012-01-28 00:43:04 +04:00
|
|
|
:doc:`Entities <reference/working-with-objects>` |
|
2012-02-27 21:55:52 +04:00
|
|
|
:doc:`Associations <reference/working-with-associations>` |
|
2012-01-28 00:36:36 +04:00
|
|
|
:doc:`Events <reference/events>`
|
2010-12-03 22:13:10 +03:00
|
|
|
|
2012-02-06 01:46:43 +04:00
|
|
|
* **Query Reference**:
|
2012-06-16 14:34:26 +04:00
|
|
|
:doc:`DQL <reference/dql-doctrine-query-language>` |
|
2012-01-28 00:36:36 +04:00
|
|
|
:doc:`QueryBuilder <reference/query-builder>` |
|
2012-06-16 14:34:26 +04:00
|
|
|
:doc:`Native SQL <reference/native-sql>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
2012-06-16 14:34:26 +04:00
|
|
|
* **Internals**:
|
|
|
|
:doc:`Internals explained <reference/unitofwork>` |
|
|
|
|
:doc:`Associations <reference/unitofwork-associations>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
|
|
|
Advanced Topics
|
|
|
|
---------------
|
|
|
|
|
2012-06-16 14:34:26 +04:00
|
|
|
* :doc:`Transactions and Concurrency <reference/transactions-and-concurrency>`
|
|
|
|
* :doc:`Filters <reference/filters>`
|
|
|
|
* :doc:`NamingStrategy <reference/namingstrategy>`
|
|
|
|
* :doc:`Improving Performance <reference/improving-performance>`
|
|
|
|
* :doc:`Caching <reference/caching>`
|
|
|
|
* :doc:`Partial Objects <reference/partial-objects>`
|
|
|
|
* :doc:`Change Tracking Policies <reference/change-tracking-policies>`
|
|
|
|
* :doc:`Best Practices <reference/best-practices>`
|
|
|
|
* :doc:`Metadata Drivers <reference/metadata-drivers>`
|
|
|
|
|
|
|
|
Tutorials
|
|
|
|
---------
|
|
|
|
|
2012-06-16 14:39:01 +04:00
|
|
|
* :doc:`Indexed associations <tutorials/working-with-indexed-associations>`
|
2012-07-11 13:51:29 +04:00
|
|
|
* :doc:`Extra Lazy Associations <tutorials/extra-lazy-associations>`
|
2012-06-16 14:39:01 +04:00
|
|
|
* :doc:`Composite Primary Keys <tutorials/composite-primary-keys>`
|
|
|
|
* :doc:`Ordered associations <tutorials/ordered-associations>`
|
2012-06-16 14:34:26 +04:00
|
|
|
* :doc:`Pagination <tutorials/pagination>`
|
2012-07-30 08:33:18 +04:00
|
|
|
* :doc:`Override Field/Association Mappings In Subclasses <tutorials/override-field-association-mappings-in-subclasses>`
|
2011-02-05 15:48:12 +03:00
|
|
|
|
2010-12-03 22:13:10 +03:00
|
|
|
Cookbook
|
|
|
|
--------
|
|
|
|
|
2012-01-28 00:36:36 +04:00
|
|
|
* **Patterns**:
|
|
|
|
:doc:`Aggregate Fields <cookbook/aggregate-fields>` |
|
|
|
|
:doc:`Decorator Pattern <cookbook/decorator-pattern>` |
|
2012-06-16 14:34:26 +04:00
|
|
|
:doc:`Strategy Pattern <cookbook/strategy-cookbook-introduction>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
|
|
|
* **DQL Extension Points**:
|
|
|
|
:doc:`DQL Custom Walkers <cookbook/dql-custom-walkers>` |
|
|
|
|
:doc:`DQL User-Defined-Functions <cookbook/dql-user-defined-functions>`
|
|
|
|
|
|
|
|
* **Implementation**:
|
|
|
|
:doc:`Array Access <cookbook/implementing-arrayaccess-for-domain-objects>` |
|
|
|
|
:doc:`Notify ChangeTracking Example <cookbook/implementing-the-notify-changetracking-policy>` |
|
|
|
|
:doc:`Using Wakeup Or Clone <cookbook/implementing-wakeup-or-clone>` |
|
|
|
|
:doc:`Working with DateTime <cookbook/working-with-datetime>` |
|
|
|
|
:doc:`Validation <cookbook/validation-of-entities>` |
|
2013-03-01 18:16:59 +04:00
|
|
|
:doc:`Entities in the Session <cookbook/entities-in-session>` |
|
|
|
|
:doc:`Keeping your Modules independents <cookbook/resolve-target-entity-listener>`
|
2012-01-28 00:36:36 +04:00
|
|
|
|
|
|
|
* **Integration into Frameworks/Libraries**
|
|
|
|
:doc:`CodeIgniter <cookbook/integrating-with-codeigniter>`
|
|
|
|
|
|
|
|
* **Hidden Gems**
|
|
|
|
:doc:`Prefixing Table Name <cookbook/sql-table-prefixes>`
|
|
|
|
|
|
|
|
* **Custom Datatypes**
|
|
|
|
:doc:`MySQL Enums <cookbook/mysql-enums>`
|
|
|
|
:doc:`Advanced Field Value Conversion <cookbook/advanced-field-value-conversion-using-custom-mapping-types>`
|
2011-12-17 19:28:46 +04:00
|
|
|
|