PAD - PHP Application Driver


home | manual | reference | regression | sequence | develop | apps


Examples/products

PHP
HTML
examples/products.pad
Result
<h1>Product List from Server Data</h1>

<p>Shows how to use the <code>{json}</code> tag to pass server data to React components.</p>

<div id="example3" data-products="{json 'products' | ignore}"></div>
<script type="text/babel" src="/react/examples/products.js"></script>

<div style="margin-top: 30px;">
<a href="?examples/index" class="btn">← Back to Examples</a>
</div>

Product List from Server Data

Shows how to use the {json} tag to pass server data to React components.




home | manual | reference | regression | sequence | develop | apps

(c) 2003-2025 Herbert Groot Jebbink