> Symfony 5 >

Course Overview

Login to bookmark this course

Netgen Layouts: Construyendo pƔginas con Symfony

Unlock the power of CMS with Symfony in this tutorial, which explores how Netgen Layouts can dynamically rearrange pages.

  • 920 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

Your Guides

About this course

What PHP libraries does this tutorial use?

// composer.json
{
    "require": {
        "php": ">=8.1.0",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "babdev/pagerfanta-bundle": "^3.7", // v3.7.0
        "doctrine/doctrine-bundle": "^2.7", // 2.7.0
        "doctrine/doctrine-migrations-bundle": "^3.2", // 3.2.2
        "doctrine/orm": "^2.13", // 2.13.3
        "easycorp/easyadmin-bundle": "^4.4", // v4.4.1
        "netgen/layouts-contentful": "^1.3", // 1.3.2
        "netgen/layouts-standard": "^1.3", // 1.3.1
        "pagerfanta/doctrine-orm-adapter": "^3.6",
        "sensio/framework-extra-bundle": "^6.2", // v6.2.8
        "stof/doctrine-extensions-bundle": "^1.7", // v1.7.0
        "symfony/console": "5.4.*", // v5.4.14
        "symfony/dotenv": "5.4.*", // v5.4.5
        "symfony/flex": "^1.17|^2", // v2.2.3
        "symfony/framework-bundle": "5.4.*", // v5.4.14
        "symfony/monolog-bundle": "^3.0", // v3.8.0
        "symfony/proxy-manager-bridge": "5.4.*", // v5.4.6
        "symfony/runtime": "5.4.*", // v5.4.11
        "symfony/security-bundle": "5.4.*", // v5.4.11
        "symfony/twig-bundle": "5.4.*", // v5.4.8
        "symfony/ux-live-component": "^2.x-dev", // 2.x-dev
        "symfony/ux-twig-component": "^2.x-dev", // 2.x-dev
        "symfony/validator": "5.4.*", // v5.4.14
        "symfony/webpack-encore-bundle": "^1.15", // v1.16.0
        "symfony/yaml": "5.4.*", // v5.4.14
        "twig/extra-bundle": "^2.12|^3.0", // v3.4.0
        "twig/twig": "^2.12|^3.0" // v3.4.3
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "^3.4", // 3.4.2
        "symfony/debug-bundle": "5.4.*", // v5.4.11
        "symfony/maker-bundle": "^1.47", // v1.47.0
        "symfony/stopwatch": "5.4.*", // v5.4.13
        "symfony/web-profiler-bundle": "5.4.*", // v5.4.14
        "zenstruck/foundry": "^1.22" // v1.22.1
    }
}

Netgen Layouts consiste en tener tu šŸŽ‚ - es decir, cualquier aplicaciĆ³n Symfony - y comerla tambiĆ©n... permitiĆ©ndote reorganizar tus pĆ”ginas y mezclar contenido dinĆ”mico a travĆ©s de un Ć”rea de administraciĆ³n. Es correcto, tu aplicaciĆ³n Symfony y las plantillas Twig + la potencia de un CMS incorporado. Y todo esto se hace de forma gentil, sin "apoderarse" de tu aplicaciĆ³n.

En este tutorial, pasaremos de cero a hĆ©roe instalando Layouts en una aplicaciĆ³n Symfony existente:

  • InstalaciĆ³n y configuraciĆ³n de los Layouts
  • AsignaciĆ³n de un "Layout" a las pĆ”ginas existentes
  • Incluir tus bloques Twig existentes en tu diseƱo
  • AƱadir "tipos de valor" y "tipos de consulta" personalizados para que puedas incrustar cuadrĆ­culas/listas del contenido personalizado de tu app
  • Personalizando las "vistas de elementos": las plantillas utilizadas en las cuadrĆ­culas/listas
  • Crear un "navegador de contenido" para seleccionar manualmente el contenido de tu aplicaciĆ³n
  • Sacar contenido de un CMS - Rico en contenido para nuestro ejemplo
  • Ā”TematizaciĆ³n! Una forma potente y sencilla de anular las plantillas
  • Vistas de bloque: personalizar la forma en que se muestra un bloque
  • Plugins de bloques: aƱadir opciones personalizadas a cada bloque del sistema

Layouts es divertido: aƱadir un nuevo nivel de flexibilidad sin cambiar cĆ³mo construyes tu aplicaciĆ³n.

Next courses in the Symfony 5: Learn More Tricks section of the Symfony 5 Track!

4 Comments

Sort By
Login or Register to join the conversation
Johann avatar Johann 1 year ago

Yes! this is awesome! But a little problematic for me. I started a project with Symfony 6.1 and would really like to use Netgen Layouts for this project. I've found a dev version (1.4.x-dev) but nothing about a stable release. Does anybody know about a stable release, compatible with Symfony 6.1 (or 6.2 which will be released very soon)?

| Reply |

Hi Johann,

It is coming very soon :) We are finalizing the 1.4 version (which support Symfony 6) and will release it when its ready, should happen in about 2-3 weeks. We will announce it on our newsletter and on our slack, feel free to join the community!

3 | Reply |
Fabrice avatar Fabrice 2 years ago

Godness! I didn't know that! It looks really awesome! When do you plan to start this course?

| Reply |

Hey Fabrice,

We're actively working on it right now and plan to start releasing it in the middle of November, but it might be a bit delayed because we're also actively releasing 2 courses right now: Design Patterns and PHPUnit. November is a busy month with the SymfonyCon conference which might reflect our schedule. But we're want to release it this year ;)

Cheers!

1 | Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!