Yahoo France Recherche Web

Résultats de recherche

  1. Doctrine is a collection of PHP libraries for database storage and object mapping, including the popular ORM and DBAL. Learn how to use Doctrine, see featured projects, read blog posts, and support the development team.

    • Projects

      Projects - Doctrine: PHP Open Source Project

    • Development

      Development - Doctrine: PHP Open Source Project

    • Blog

      Blog - Doctrine: PHP Open Source Project

    • Common

      PHP Doctrine Common project is a library that provides...

    • Data fixtures

      Doctrine. Projects Coding Standard Collections Common Data...

    • DBAL

      Powerful PHP database abstraction layer (DBAL) with many...

    • Event Manager

      The Doctrine Event Manager is a simple PHP event system that...

    • Inflector

      PHP Doctrine Inflector is a small library that can perform...

  2. Doctrine ORM is an object-relational mapper (ORM) for PHP that provides transparent persistence for PHP objects. It uses the Data Mapper pattern at the heart, aiming for a complete separation of your domain/business logic from the persistence in a relational database management system.

    • 8.1 Enum Support
    • Virtual and Generated Columns
    • Support For readonly Properties
    • AssociationOverrides and AttributeOverrides in Attribute Driver
    • Ignore Entity Classes in Schema Tool

    With PHP 8.1 the language has first class support for enumerations and DoctrineORM 2.11 supports the mapping of database values to BackedEnums. The support is not integrated on DBAL Type level, but using a new mapping optioncalled enumTypeon column/field declaration level:

    There has been constant demand for this feature for a long time, to add supportfor columns that are not insertable/updatable and might have their valueupdated on the database side. We have worked along the lines of Java Persistence API support of insertable,updatable and generatedoptions for field mappings. There are two major use cases for this: 1...

    Another PHP 8.1 feature is the new readonly keyword that prevents the value ofa property to be written again after it has been initialized in the constructorof an object. With ORM 2.11 the support now works as you would expect with no additionalmapping options necessary:

    The new AttributeDriverfor PHP 8 did not support the equivalent mappingoptions for association and attribute overrides that are available for XML andAnnotation mapping, because in PHP 8.0 it was not possible to nest complexattributes. With the support now available in PHP 8.1 we have added these attributes. For PHP 8.0 we have already moved Index a...

    You can now specify Entity FQCNs to ignore during schema tool creation and comparison.SchemaToolwill then skip these (e.g. when comparing schemas).

    • Benjamin Eberlei
  3. L'utilisation de Doctrine, requiert l'inclusion du fichier Doctrine.php et l'appel au code. spl_autoload_register(array('Doctrine', 'autoload')); Il est alors possible de faire appel à toutes les classes de Doctrine et notamment celle permettant la connexion à une base de données.

  4. Doctrine (PHP) The Doctrine Project (or Doctrine) is a set of PHP libraries primarily focused on providing persistence services and related functionality. Its most commonly known [according to whom?] projects are the object–relational mapper (ORM) and the database abstraction layer it is built on top of.

  5. 5 janv. 2019 · Enfin, Doctrine est l’un des ORM les plus répandus dans l’écosystème de PHP. Il supporte beaucoup de fonctionnalités, sa prise en main est assez simple et sa documentation est très complète.

  6. Doctrine est un ORM (couche d'abstraction à la base de données) pour PHP . Il s'agit d'un logiciel libre sous licence GNU LGPL . Doctrine est l' ORM par défaut du framework Symfony (depuis la version 1.3 de ce framework). Cependant, son utilisation dans le cadre d'un projet développé avec Symfony est optionnelle. De plus, il peut être utilisé avec de nombreux autres frameworks tels que ...