Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
informatique:php:symfony [18/01/2011 10:19] – [Routing & Co.] cyrille | informatique:php:symfony [24/01/2025 20:40] (Version actuelle) – cyrille |
---|
====== Symfony ====== | ====== Symfony ====== |
| |
| [[https://symfony.com/]] [[wpfr>Symfony]] |
| |
| ! NEW ! [[/informatique/php/Symfony3]] |
| |
| ! NEW ! [[/informatique/php/Symfony2]] |
| |
{{:informatique:php:symfony_logo.gif?160|Symfony logo}} | {{:informatique:php:symfony_logo.gif?160|Symfony logo}} |
| |
| * [[http://pixeljets.com/blog/drupal-7-vs-symfony-2-overview-after-1-year-symfony-development|Drupal 7 vs Symfony 2: overview after 1 year of Symfony development]] |
| |
[[:informatique:php:Symfony:Etude perso|Etude perso]] | [[:informatique:php:Symfony:Etude perso|Etude perso]] |
| |
! NEW ! [[/informatique/php/Symfony2]] | [[/informatique/php/Symfony/Gestion de la langue de l'utilisateur]] |
| |
===== Documentation ===== | ===== Documentation ===== |
| |
| **Accès rapide:** |
| * [[http://www.symfony-project.org/reference/1_4/en/16-Tasks|Symfony Reference Book v1.4]] |
| * [[http://www.symfony-project.org/reference/1_4/en/16-Tasks|Tasks]] (chap 16) |
| * [[http://www.doctrine-project.org/projects/orm/1.2/docs/en|Doctrine ORM v1.2]] |
| * [[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/en|Manual - Table of Contents]] |
| |
Les livres Sensio Labs (buy or read online for free) | Les livres Sensio Labs (buy or read online for free) |
[[http://www.symfony-project.org/plugins/sfEzcWorkflowPlugin|sfEzcWorkflowPlugin]] is a symfony plugin which allows you to create workflow-driven applications on symfony projects. Workflow definition and execution are handled by ezcWorkflow, therefore you need to install ezComponents first. This plugin provides an interface for admin workflows and executions (create, instantiate, resume and cancel an ezcWorkflow). Also, an input node which links the workflow execution with symfony actions is provided. | [[http://www.symfony-project.org/plugins/sfEzcWorkflowPlugin|sfEzcWorkflowPlugin]] is a symfony plugin which allows you to create workflow-driven applications on symfony projects. Workflow definition and execution are handled by ezcWorkflow, therefore you need to install ezComponents first. This plugin provides an interface for admin workflows and executions (create, instantiate, resume and cancel an ezcWorkflow). Also, an input node which links the workflow execution with symfony actions is provided. |
| |
===== Tips ===== | |
| |
===== Divers ===== | ===== Divers ===== |
Ou gestion de catégories ;-) | Ou gestion de catégories ;-) |
| |
| Doctrine NestedSet |
| * [[http://docs.doctrine-project.org/projects/doctrine-orm/en/2.0.x/reference/limitations-and-known-issues.html#nested-set|Limitations and Known Issues - NestedSet]] \\ NestedSet was offered as a behavior in **Doctrine 1** and will not be included in the core of **Doctrine 2**. However there are already two extensions out there that offer support for Nested Set with Doctrine 2 |
| * Doctrine 1 NestedSet behavior \\ [[https://zhaoscode.wordpress.com/2011/09/26/doctrine-nested-categories/]] \\ [[http://www.developpez.net/forums/d966051/php/bibliotheques-frameworks/symfony/orm/doctrine-nested-set-recuperer-items-toute-sous-arborescence/]] |
| |
| Un peu vieux: |
* [[http://www.amicalement-web.net/symfony-gestion-d-un-arbre-en-propel-via-les-nestedset-part-1/2009/05/12/|How-to Symfony: Gestion d’un arbre en Propel via les NestedSet – Part 1]] | * [[http://www.amicalement-web.net/symfony-gestion-d-un-arbre-en-propel-via-les-nestedset-part-1/2009/05/12/|How-to Symfony: Gestion d’un arbre en Propel via les NestedSet – Part 1]] |
* [[http://www.lexik.fr/sfblog/symfony/nested-set-doctrine-135|Gestion de la paternité]] | * [[http://www.lexik.fr/sfblog/symfony/nested-set-doctrine-135|Gestion de la paternité]] |
* [[http://www.doctrine-project.org/documentation/manual/1_2/en/data-fixtures#fixtures-for-nested-sets|Fixtures For Nested Sets]] for Doctrine 1.2 | * [[http://www.doctrine-project.org/documentation/manual/1_2/en/data-fixtures#fixtures-for-nested-sets|Fixtures For Nested Sets]] for Doctrine 1.2 |
| |
| ==== Many-to-many relationships ==== |
| |
| Doctrine - Join Table Associations |
| * [[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships]] |
| * [[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/defining-models/en#relationships:join-table-associations]] |
| * [[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/yaml-schema-files/en#relationships:many-to-many]] |
| |
| Symfony 1.4 Doctrine - Admin Generator - M:M - Many to many relationships \\ |
| [[http://www.endertech.com/blog_list/symfony-1-4-doctrine-admin-generator-m-m-many-to-many-relationships]] |
| |
| Schema-Files - Relationships - Many to Many \\ |
| [[http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files]] |
| |
| |
===== Template engine ===== | ===== Template engine ===== |