info:concrete5:58:express

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
info:concrete5:58:express [2019/03/29 16:22] radeffinfo:concrete5:58:express [2024/08/20 05:45] (Version actuelle) radeff
Ligne 1: Ligne 1:
-====== c5.8: express ====== +====== express ====== 
-{{tag>c5 c58}}+{{tag>c5}}
  
-Le nouveau module génial de concrete5, qui vous permet de gérer des bases de données relationnelles en deux coup de cuillère à pot!+//Gérer des bases de données relationnelles en deux coup de cuillère à pot!//
  
 +<note tip>Pour être tout à fait honnête, je préfère quand je peux utiliser de bonnes vieilles techniques robustes (p. ex. les attributs et les types de page, ou des tables SQL //ad hoc//), notamment par que j'ai des doutes sur la fiabilité d'Express sur des gros sets de données; par contre, c'est super p. ex. pour un petit intranet pour un·e client·e qui n'a aucune connaissance en base de données, et il est vraiment très aisé de faire du relationnel.</note>
 +===== Doc =====
   * https://www.youtube.com/user/concrete5cms   * https://www.youtube.com/user/concrete5cms
   * https://www.concrete5.org/about/blog/news/live-show-and-tell-andy-and-franz-about-80-beta-and-future-concrete5-come-and-git-it   * https://www.concrete5.org/about/blog/news/live-show-and-tell-andy-and-franz-about-80-beta-and-future-concrete5-come-and-git-it
Ligne 10: Ligne 12:
   * https://documentation.concrete5.org/developers/express/creating-reading-searching-updating-and-deleting-express-entries   * https://documentation.concrete5.org/developers/express/creating-reading-searching-updating-and-deleting-express-entries
  
-===== Import ===== +==== Import ==== 
-  * https://packagist.org/packages/bitter/concrete5-express-batch-importer ou https://bitbucket.org/fabianbitter/concrete5_express_batch_importer+  * https://packagist.org/packages/bitter/concrete5-express-batch-importer 
 +  * https://bitbucket.org/fabianbitter/concrete5_express_batch_importer 
 + 
 +==== Programmatically Update Option List for Express Object Attribute ==== 
 +https://www.concrete5.org/community/forums/customizing_c5/programmatically-update-option-list-for-express-object-attribute/#951678 
 + 
 +==== Creating Express Objects programmatically ==== 
 + https://www.concrete5.org/community/forums/customizing_c5/creating-express-objects-programmatically/ 
 + 
 +==== Express Form Theming ==== 
 +https://documentation.concrete5.org/developers/express/express-forms-controllers/form-theming 
 +==== Extraire des valeurs express ==== 
 +<code php> 
 +$c = Page::getCurrentPage(); 
 +// Concrete\Core\Entity\Attribute\Value\Value\ExpressValue 
 +$testExpressValue = $c->getAttribute('test_express'); 
 +if ($testExpressValue) { 
 +    // array of Concrete\Core\Entity\Express\Entry 
 +    $testExpressEntryArray = $testExpressValue->getSelectedEntries(); 
 +    // Concrete\Core\Entity\Express\Entry 
 +    $testExpressEntry = $testExpressEntryArray[0]; 
 +    // array of Concrete\Core\Entity\Attribute\Value\ExpressValue 
 +    $attributes = $testExpressEntry->getAttributes(); 
 +    foreach ($attributes as $attribute) { 
 +        // Concrete\Core\Entity\Attribute\Value\ExpressValue 
 +        echo '<p>' . $attribute->getAttributeKey()->getAttributeKeyName() . ': ' . $attribute->getDisplayValue() . '</p>'; 
 +    } 
 +
 +</code> 
 + 
 +For anyone trying to work with images in Express objects: 
 + 
 +<code php> 
 +$photoFileObject = $entry->getImageAttributeHandle(); 
 +if (is_object($photoFileObject)) { 
 +    $photoFileObjectVersion = $photoFileObject->getVersion(); 
 +    $photoRelativePath = $photoFileObjectVersion->getRelativePath(); 
 +
 +</code> 
 + 
 +source: https://www.concrete5.org/community/forums/customizing_c5/get-express-values-from-page-attribute/ 
  
 ===== Tools perso ===== ===== Tools perso =====
-{{:info:concrete5:58:bibliography.jpg?100| }} Une bibliogrpahie toute simple //aka// personnaliser l'affichage des données: https://gitlab.com/zpartakov/c5expresspublications 
  
 +Des outils express libres fait avec mes petites pognes
 +==== c5ExpressPublications ====
 +{{ :info:concrete5:58:bibliography.jpg?100|}} 
 +
 +Une bibliographie toute simple //aka// personnaliser l'affichage des données: 
 +
 +  * https://gitlab.com/zpartakov/c5expresspublications
 +==== C5ContactExpress ====
 +A package to import a vcf/csv adressbook into concrete5's express
  
 +   * https://gitlab.com/zpartakov/concrete5_contact_express
  • info/concrete5/58/express.1553872940.txt.gz
  • Dernière modification : 2019/03/29 16:22
  • de radeff