Skip to content

Commit

Permalink
add integration
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 24, 2024
1 parent 93ee599 commit 1e6e78b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions www/resources/template/integration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

<?php include __DIR__ . '/inc/header.php'; ?>

<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page"><a href="<?php echo $url; ?>">TypeSchema</a> / Integration</li>
</ol>
</nav>

<div class="container">
<h1 class="display-4">Integration</h1>
<p class="lead">This list provides examples how you can work with the generated DTOs, it shows how you can read raw JSON data
into a DTO and transform the DTO back into raw JSON data. Since the generator uses mostly standard or well-known libraries
most developers should be familiar with this process.
</p>
<div class="row">
<?php foreach ($types as $chunk): ?>
<div class="col-6">
<div class="list-group">
<?php foreach ($chunk as $type => $typeTitle): ?>
<a href="<?php echo $router->getAbsolutePath([\App\Controller\Integration::class, 'showType'], ['type' => $type]); ?>" class="list-group-item list-group-item-action"><?php echo $typeTitle; ?></a>
<?php endforeach; ?>
</div>
</div>
<?php endforeach; ?>
</div>
</div>

<?php include __DIR__ . '/inc/footer.php'; ?>

0 comments on commit 1e6e78b

Please sign in to comment.