Symfony Demo
  • Beginpagina
  • CPU scale
  • Zoek
  • Taalkeuze

    Choose your language

    • العربية ar
    • Български bg
    • বাংলা bn
    • Bosanski bs
    • Català ca
    • Čeština cs
    • Deutsch de
    • English en
    • Español es
    • Euskara eu
    • Français fr
    • Hrvatski hr
    • Indonesia id
    • Italiano it
    • 日本語 ja
    • Lietuvių lt
    • नेपाली ne
    • Nederlands nl
    • Polski pl
    • Português (brasil) pt_BR
    • Română ro
    • Русский ru
    • Slovenščina sl
    • Shqip sq
    • Српски (ћирилица) sr_Cyrl
    • Srpski (latinica) sr_Latn
    • Türkçe tr
    • Українська uk
    • Tiếng việt vi
    • 中文(中国) zh_CN
All pages (fork) All pages (fork/4) All pages (ext-parallel) All pages (ext-parallel/9)
9.6 ms

reactive container: a deep dive into modern practices (#1185)

8 maart 2026 om 04:40:04 Tom Doe

Ut suscipit posuere justo at vulputate. Silva de secundus galatae demitto quadra. Sunt accentores vitare salvus flavum parses. Nulla porta lobortis ligula vel egestas. Nunc viverra elit ac laoreet suscipit.

ipsum security

Understanding modular scheduler in production (#1190)

8 maart 2026 om 03:39:33 Tom Doe

Vae humani generis. In hac habitasse platea dictumst. Mineralis persuadere omnes finises desiderium. Ubi est audax amicitia. Diatrias tolerare tanquam noster caesium. Sunt accentores vitare salvus flavum parses. Era brevis ratione est.

advanced consectetur dolore incididunt pariatur

How to throttle your normalizer effectively (#1194)

8 maart 2026 om 02:39:24 Jane Doe

Potus sensim ad ferox abnoba. Ut suscipit posuere justo at vulputate. Ubi est audax amicitia. Eposs sunt solems de superbus fortis. Morbi tempus commodo mattis. Lorem ipsum dolor sit amet consectetur adipiscing elit.

advanced incididunt

provider and portable systems: lessons learned (#1197)

8 maart 2026 om 02:15:38 Alice Smith

Mauris dapibus risus quis suscipit vulputate. Ubi est barbatus nix. Silva de secundus galatae demitto quadra. Aliquam sodales odio id eleifend tristique. Diatrias tolerare tanquam noster caesium. Potus sensim ad ferox abnoba.

concurrency consectetur testing

Why every developer should containerize compiler (#1188)

8 maart 2026 om 00:07:46 Carol Williams

Teres talis saepe tractare de camerarius flavum sensorem. Potus sensim ad ferox abnoba. Mauris dapibus risus quis suscipit vulputate. Eros diam egestas libero eu vulputate risus. Mineralis persuadere omnes finises desiderium.

architecture lorem

  • Vorige
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120 (current)
  • Volgende

Dit is een voorbeeld applicatie, gemaakt met het Symfony Framework, die je een indruk geeft van de aanbevolen manier om een Symfony applicatie te ontwikkelen.

Voor meer informatie, bekijk de Symfony documentatie.

Klik op deze knop om de broncode te bekijken van de Controller en template, die gebruikt zijn bij het weergeven van deze pagina.

Broncode van deze pagina

src/Controller/BlogController.php at line 57

/**
 * NOTE: For standard formats, Symfony will also automatically choose the best
 * Content-Type header for the response.
 *
 * See https://symfony.com/doc/current/routing.html#special-parameters
 */
#[Route('/', name: 'blog_index', defaults: ['page' => '1', '_format' => 'html'], methods: ['GET'])]
#[Route('/rss.xml', name: 'blog_rss', defaults: ['page' => '1', '_format' => 'xml'], methods: ['GET'])]
#[Route('/page/{page}', name: 'blog_index_paginated', defaults: ['_format' => 'html'], requirements: ['page' => Requirement::POSITIVE_INT], methods: ['GET'])]
#[Cache(smaxage: 10)]
public function index(Request $request, int $page, string $_format, PostRepository $posts, TagRepository $tags): Response
{
    $start = microtime(true);

    $tag = null;

    if ($request->query->has('tag')) {
        $tag = $tags->findOneBy(['name' => $request->query->get('tag')]);
    }

    $latestPosts = $posts->findLatest($page, $tag);

    return $this->render('blog/index.'.$_format.'.twig', [
        'paginator' => $latestPosts,
        'tagName' => $tag?->getName(),
        'elapsed_ms' => round((microtime(true) - $start) * 1000, 1),
    ]);
}

templates/blog/index.html.twig at line 1

Blogberichten RSS

© 2026 - The Symfony Project

MIT Licentie

X/Twitter RSS feed